Lines Matching refs:length

219 	u32 port_mode, port, max_ports, core_cfg, length = 0;  in ecore_phy_info()  local
229 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_info()
232 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_info()
241 length += OSAL_SPRINTF(&p_phy_result_buf[length], "1x100G\n"); in ecore_phy_info()
245 length += OSAL_SPRINTF(&p_phy_result_buf[length], "1x40G\n"); in ecore_phy_info()
249 length += OSAL_SPRINTF(&p_phy_result_buf[length], "1x25G\n"); in ecore_phy_info()
253 length += OSAL_SPRINTF(&p_phy_result_buf[length], "2x40G\n"); in ecore_phy_info()
257 length += OSAL_SPRINTF(&p_phy_result_buf[length], "2x50G\n"); in ecore_phy_info()
261 length += OSAL_SPRINTF(&p_phy_result_buf[length], "2x25G\n"); in ecore_phy_info()
265 length += OSAL_SPRINTF(&p_phy_result_buf[length], "2x10G\n"); in ecore_phy_info()
269 length += OSAL_SPRINTF(&p_phy_result_buf[length], "4x10G\n"); in ecore_phy_info()
273 length += OSAL_SPRINTF(&p_phy_result_buf[length], "4x10G\n"); in ecore_phy_info()
277 length += OSAL_SPRINTF(&p_phy_result_buf[length], "4x20G\n"); in ecore_phy_info()
281 length += OSAL_SPRINTF(&p_phy_result_buf[length], "4x25G\n"); in ecore_phy_info()
285 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_info()
295 length += OSAL_SPRINTF( in ecore_phy_info()
296 &p_phy_result_buf[length], in ecore_phy_info()
301 length += OSAL_SPRINTF( in ecore_phy_info()
302 &p_phy_result_buf[length], in ecore_phy_info()
305 length += OSAL_SPRINTF( in ecore_phy_info()
306 &p_phy_result_buf[length], in ecore_phy_info()
313 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_info()
588 u32 length, reg_id, addr; in ecore_bb_phy_mac_stat() local
591 length = OSAL_SPRINTF(p_phy_result_buf, in ecore_bb_phy_mac_stat()
604 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_bb_phy_mac_stat()
621 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_bb_phy_mac_stat()
633 u32 length, reg_id, addr, data_hi __unused, data_lo; in ecore_ah_e5_phy_mac_stat() local
635 length = OSAL_SPRINTF(p_phy_result_buf, in ecore_ah_e5_phy_mac_stat()
650 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_ah_e5_phy_mac_stat()
805 int length = 0; in ecore_phy_sfp_read() local
814 length += OSAL_SPRINTF( in ecore_phy_sfp_read()
815 (char *)&p_phy_result_buf[length], in ecore_phy_sfp_read()
824 u32 port, u32 length, in ecore_decode_sfp_info() argument
848 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_sfp_info()
851 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
855 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
863 return ecore_sfp_set_error(rc, length, in ecore_decode_sfp_info()
869 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
873 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
877 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
884 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
893 return ecore_sfp_set_error(rc, length, in ecore_decode_sfp_info()
900 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
905 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
910 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
914 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
918 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
926 return ecore_sfp_set_error(rc, length, in ecore_decode_sfp_info()
933 length += OSAL_SPRINTF( in ecore_decode_sfp_info()
934 &p_phy_result_buf[length], in ecore_decode_sfp_info()
939 length += OSAL_SPRINTF( in ecore_decode_sfp_info()
940 &p_phy_result_buf[length], in ecore_decode_sfp_info()
944 length += OSAL_SPRINTF( in ecore_decode_sfp_info()
945 &p_phy_result_buf[length], in ecore_decode_sfp_info()
954 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
960 return ecore_sfp_set_error(rc, length, in ecore_decode_sfp_info()
966 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
970 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
974 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
984 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_sfp_info()
987 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
989 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
991 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
993 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
995 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
997 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
1004 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_sfp_info()
1008 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
1015 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_sfp_info()
1018 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
1026 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_sfp_info()
1030 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
1037 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_sfp_info()
1041 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
1049 u32 port, u32 length, in ecore_decode_qsfp_info() argument
1071 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_qsfp_info()
1074 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1080 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1085 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1090 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1095 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1100 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1105 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1110 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1114 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1119 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1135 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_qsfp_info()
1141 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1146 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1151 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1156 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1161 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1166 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1171 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1176 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1180 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1188 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1191 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1202 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_qsfp_info()
1205 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1207 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1209 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1211 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1213 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1215 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1217 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1224 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_qsfp_info()
1228 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1235 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_qsfp_info()
1238 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1246 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_qsfp_info()
1250 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1257 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_decode_qsfp_info()
1261 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_qsfp_info()
1272 u32 length = 0; in ecore_phy_sfp_decode() local
1283 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_phy_sfp_decode()
1288 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_sfp_decode()
1291 length, p_phy_result_buf); in ecore_phy_sfp_decode()
1294 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_sfp_decode()
1297 length, p_phy_result_buf); in ecore_phy_sfp_decode()
1300 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_sfp_decode()
1303 length, p_phy_result_buf); in ecore_phy_sfp_decode()
1306 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_sfp_decode()
1309 length, p_phy_result_buf); in ecore_phy_sfp_decode()
1356 u32 length = 0; in ecore_phy_sfp_get_txdisable() local
1367 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_phy_sfp_get_txdisable()
1375 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_phy_sfp_get_txdisable()
1386 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_phy_sfp_get_txdisable()
1408 u32 length = 0; in ecore_phy_sfp_set_txdisable() local
1427 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_phy_sfp_set_txdisable()
1436 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_phy_sfp_set_txdisable()
1446 OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_sfp_set_txdisable()
1469 OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_sfp_set_txdisable()
1480 return ecore_sfp_set_error(rc, length, in ecore_phy_sfp_set_txdisable()
1490 OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_sfp_set_txdisable()
1510 u32 length = 0; in ecore_phy_sfp_get_txreset() local
1521 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_phy_sfp_get_txreset()
1530 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_phy_sfp_get_txreset()
1542 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_phy_sfp_get_txreset()
1563 u32 length = 0; in ecore_phy_sfp_get_rxlos() local
1574 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_phy_sfp_get_rxlos()
1583 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_phy_sfp_get_rxlos()
1595 return ecore_sfp_set_error(rc, length, p_phy_result_buf, in ecore_phy_sfp_get_rxlos()
1690 u32 direction, ctrl, length = 0; in ecore_phy_gpio_info() local
1701 length = OSAL_SPRINTF(p_phy_result_buf, "Gpio %d is %s - ", in ecore_phy_gpio_info()
1706 OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_gpio_info()
1710 OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_gpio_info()
1714 OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_gpio_info()
1718 OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_gpio_info()
1722 OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_gpio_info()