Lines Matching refs:byte_cnt
32 u8 dev_addr, u16 addr, u8 byte_cnt,
7847 u8 dev_addr, u16 addr, u8 byte_cnt, in bnx2x_8726_read_sfp_module_eeprom() argument
7853 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_8726_read_sfp_module_eeprom()
7861 (byte_cnt | (dev_addr << 8))); in bnx2x_8726_read_sfp_module_eeprom()
7893 for (i = 0; i < byte_cnt; i++) { in bnx2x_8726_read_sfp_module_eeprom()
7936 u16 addr, u8 byte_cnt, in bnx2x_warpcore_read_sfp_module_eeprom() argument
7945 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_warpcore_read_sfp_module_eeprom()
7960 rc = bnx2x_bsc_read(params, bp, dev_addr, addr32, 0, byte_cnt, in bnx2x_warpcore_read_sfp_module_eeprom()
7965 for (i = (addr - addr32); i < byte_cnt + (addr - addr32); i++) { in bnx2x_warpcore_read_sfp_module_eeprom()
7976 u8 dev_addr, u16 addr, u8 byte_cnt, in bnx2x_8727_read_sfp_module_eeprom() argument
7982 if (byte_cnt > SFP_EEPROM_PAGE_SIZE) { in bnx2x_8727_read_sfp_module_eeprom()
8007 ((byte_cnt < 2) ? 2 : byte_cnt)); in bnx2x_8727_read_sfp_module_eeprom()
8050 for (i = 0; i < byte_cnt; i++) { in bnx2x_8727_read_sfp_module_eeprom()
8071 u16 addr, u16 byte_cnt, u8 *o_buf) in bnx2x_read_sfp_module_eeprom() argument
8099 while (!rc && (byte_cnt > 0)) { in bnx2x_read_sfp_module_eeprom()
8100 xfer_size = (byte_cnt > SFP_EEPROM_PAGE_SIZE) ? in bnx2x_read_sfp_module_eeprom()
8101 SFP_EEPROM_PAGE_SIZE : byte_cnt; in bnx2x_read_sfp_module_eeprom()
8104 byte_cnt -= xfer_size; in bnx2x_read_sfp_module_eeprom()