Lines Matching refs:sz

87 	ssize_t sz;  in bgx_fdt_phy_mode_match()  local
93 sz = sizeof("sgmii"); in bgx_fdt_phy_mode_match()
94 offset = size - sz; in bgx_fdt_phy_mode_match()
98 sz = sizeof("xaui"); in bgx_fdt_phy_mode_match()
99 offset = size - sz; in bgx_fdt_phy_mode_match()
102 if (strncmp(&qlm_mode[offset], type, sz) == 0) in bgx_fdt_phy_mode_match()
105 sz = sizeof("dxaui"); in bgx_fdt_phy_mode_match()
106 offset = size - sz; in bgx_fdt_phy_mode_match()
110 sz = sizeof("raui"); in bgx_fdt_phy_mode_match()
111 offset = size - sz; in bgx_fdt_phy_mode_match()
115 sz = sizeof("xfi"); in bgx_fdt_phy_mode_match()
116 offset = size - sz; in bgx_fdt_phy_mode_match()
120 sz = sizeof("xlaui"); in bgx_fdt_phy_mode_match()
121 offset = size - sz; in bgx_fdt_phy_mode_match()
125 sz = sizeof("xfi-10g-kr"); in bgx_fdt_phy_mode_match()
126 offset = size - sz; in bgx_fdt_phy_mode_match()
130 sz = sizeof("xlaui-40g-kr"); in bgx_fdt_phy_mode_match()
131 offset = size - sz; in bgx_fdt_phy_mode_match()
140 if (strncmp(&qlm_mode[offset], type, sz) == 0) in bgx_fdt_phy_mode_match()
150 ssize_t sz; in bgx_fdt_phy_name_match() local
156 sz = sizeof("sgmii"); in bgx_fdt_phy_name_match()
160 sz = sizeof("xaui"); in bgx_fdt_phy_name_match()
161 if (sz < size) in bgx_fdt_phy_name_match()
163 if (strncmp(phy_name, type, sz) == 0) in bgx_fdt_phy_name_match()
166 sz = sizeof("dxaui"); in bgx_fdt_phy_name_match()
170 sz = sizeof("raui"); in bgx_fdt_phy_name_match()
174 sz = sizeof("xfi"); in bgx_fdt_phy_name_match()
178 sz = sizeof("xlaui"); in bgx_fdt_phy_name_match()
182 sz = sizeof("xfi-10g-kr"); in bgx_fdt_phy_name_match()
186 sz = sizeof("xlaui-40g-kr"); in bgx_fdt_phy_name_match()
192 if (sz > size) in bgx_fdt_phy_name_match()
194 if (strncmp(phy_name, type, sz - 1) == 0) { in bgx_fdt_phy_name_match()
195 last = phy_name[sz - 1]; in bgx_fdt_phy_name_match()