Lines Matching refs:byte_cnt
34 u8 dev_addr, u16 addr, u8 byte_cnt,
7855 u8 dev_addr, u16 addr, u8 byte_cnt, in bnx2x_8726_read_sfp_module_eeprom() argument
7861 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_8726_read_sfp_module_eeprom()
7869 (byte_cnt | (dev_addr << 8))); in bnx2x_8726_read_sfp_module_eeprom()
7901 for (i = 0; i < byte_cnt; i++) { in bnx2x_8726_read_sfp_module_eeprom()
7944 u16 addr, u8 byte_cnt, in bnx2x_warpcore_read_sfp_module_eeprom() argument
7953 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_warpcore_read_sfp_module_eeprom()
7968 rc = bnx2x_bsc_read(params, bp, dev_addr, addr32, 0, byte_cnt, in bnx2x_warpcore_read_sfp_module_eeprom()
7973 for (i = (addr - addr32); i < byte_cnt + (addr - addr32); i++) { in bnx2x_warpcore_read_sfp_module_eeprom()
7984 u8 dev_addr, u16 addr, u8 byte_cnt, in bnx2x_8727_read_sfp_module_eeprom() argument
7990 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_8727_read_sfp_module_eeprom()
8015 ((byte_cnt < 2) ? 2 : byte_cnt)); in bnx2x_8727_read_sfp_module_eeprom()
8058 for (i = 0; i < byte_cnt; i++) { in bnx2x_8727_read_sfp_module_eeprom()
8079 u16 addr, u16 byte_cnt, u8 *o_buf) in bnx2x_read_sfp_module_eeprom() argument
8107 while (!rc && (byte_cnt > 0)) { in bnx2x_read_sfp_module_eeprom()
8108 xfer_size = (byte_cnt > SFP_EEPROM_PAGE_SIZE) ? in bnx2x_read_sfp_module_eeprom()
8109 SFP_EEPROM_PAGE_SIZE : byte_cnt; in bnx2x_read_sfp_module_eeprom()
8112 byte_cnt -= xfer_size; in bnx2x_read_sfp_module_eeprom()