Lines Matching refs:eeprom_buf
794 s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, in ixgbe_read_pba_raw() argument
804 if (eeprom_buf == NULL) { in ixgbe_read_pba_raw()
811 pba->word[0] = eeprom_buf[IXGBE_PBANUM0_PTR]; in ixgbe_read_pba_raw()
812 pba->word[1] = eeprom_buf[IXGBE_PBANUM1_PTR]; in ixgbe_read_pba_raw()
822 ret_val = ixgbe_get_pba_block_size(hw, eeprom_buf, in ixgbe_read_pba_raw()
831 if (eeprom_buf == NULL) { in ixgbe_read_pba_raw()
841 &eeprom_buf[pba->word[1]], in ixgbe_read_pba_raw()
863 s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, in ixgbe_write_pba_raw() argument
871 if (eeprom_buf == NULL) { in ixgbe_write_pba_raw()
878 eeprom_buf[IXGBE_PBANUM0_PTR] = pba->word[0]; in ixgbe_write_pba_raw()
879 eeprom_buf[IXGBE_PBANUM1_PTR] = pba->word[1]; in ixgbe_write_pba_raw()
889 if (eeprom_buf == NULL) { in ixgbe_write_pba_raw()
898 memcpy(&eeprom_buf[pba->word[1]], in ixgbe_write_pba_raw()
922 s32 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf, in ixgbe_get_pba_block_size() argument
931 if (eeprom_buf == NULL) { in ixgbe_get_pba_block_size()
938 pba_word[0] = eeprom_buf[IXGBE_PBANUM0_PTR]; in ixgbe_get_pba_block_size()
939 pba_word[1] = eeprom_buf[IXGBE_PBANUM1_PTR]; in ixgbe_get_pba_block_size()
946 if (eeprom_buf == NULL) { in ixgbe_get_pba_block_size()
953 length = eeprom_buf[pba_word[1] + 0]; in ixgbe_get_pba_block_size()