Lines Matching refs:byte_cnt
34 u8 dev_addr, u16 addr, u8 byte_cnt,
7868 u8 dev_addr, u16 addr, u8 byte_cnt, in bnx2x_8726_read_sfp_module_eeprom() argument
7874 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_8726_read_sfp_module_eeprom()
7882 (byte_cnt | (dev_addr << 8))); in bnx2x_8726_read_sfp_module_eeprom()
7914 for (i = 0; i < byte_cnt; i++) { in bnx2x_8726_read_sfp_module_eeprom()
7957 u16 addr, u8 byte_cnt, in bnx2x_warpcore_read_sfp_module_eeprom() argument
7966 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_warpcore_read_sfp_module_eeprom()
7981 rc = bnx2x_bsc_read(params, bp, dev_addr, addr32, 0, byte_cnt, in bnx2x_warpcore_read_sfp_module_eeprom()
7986 for (i = (addr - addr32); i < byte_cnt + (addr - addr32); i++) { in bnx2x_warpcore_read_sfp_module_eeprom()
7997 u8 dev_addr, u16 addr, u8 byte_cnt, in bnx2x_8727_read_sfp_module_eeprom() argument
8003 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_8727_read_sfp_module_eeprom()
8028 ((byte_cnt < 2) ? 2 : byte_cnt)); in bnx2x_8727_read_sfp_module_eeprom()
8071 for (i = 0; i < byte_cnt; i++) { in bnx2x_8727_read_sfp_module_eeprom()
8092 u16 addr, u16 byte_cnt, u8 *o_buf) in bnx2x_read_sfp_module_eeprom() argument
8120 while (!rc && (byte_cnt > 0)) { in bnx2x_read_sfp_module_eeprom()
8121 xfer_size = (byte_cnt > SFP_EEPROM_PAGE_SIZE) ? in bnx2x_read_sfp_module_eeprom()
8122 SFP_EEPROM_PAGE_SIZE : byte_cnt; in bnx2x_read_sfp_module_eeprom()
8125 byte_cnt -= xfer_size; in bnx2x_read_sfp_module_eeprom()