Lines Matching refs:eeprom_buf
792 s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, in ixgbe_read_pba_raw() argument
802 if (eeprom_buf == NULL) { in ixgbe_read_pba_raw()
809 pba->word[0] = eeprom_buf[IXGBE_PBANUM0_PTR]; in ixgbe_read_pba_raw()
810 pba->word[1] = eeprom_buf[IXGBE_PBANUM1_PTR]; in ixgbe_read_pba_raw()
820 ret_val = ixgbe_get_pba_block_size(hw, eeprom_buf, in ixgbe_read_pba_raw()
829 if (eeprom_buf == NULL) { in ixgbe_read_pba_raw()
839 &eeprom_buf[pba->word[1]], in ixgbe_read_pba_raw()
861 s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, in ixgbe_write_pba_raw() argument
869 if (eeprom_buf == NULL) { in ixgbe_write_pba_raw()
876 eeprom_buf[IXGBE_PBANUM0_PTR] = pba->word[0]; in ixgbe_write_pba_raw()
877 eeprom_buf[IXGBE_PBANUM1_PTR] = pba->word[1]; in ixgbe_write_pba_raw()
887 if (eeprom_buf == NULL) { in ixgbe_write_pba_raw()
896 memcpy(&eeprom_buf[pba->word[1]], in ixgbe_write_pba_raw()
920 s32 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf, in ixgbe_get_pba_block_size() argument
929 if (eeprom_buf == NULL) { in ixgbe_get_pba_block_size()
936 pba_word[0] = eeprom_buf[IXGBE_PBANUM0_PTR]; in ixgbe_get_pba_block_size()
937 pba_word[1] = eeprom_buf[IXGBE_PBANUM1_PTR]; in ixgbe_get_pba_block_size()
944 if (eeprom_buf == NULL) { in ixgbe_get_pba_block_size()
951 length = eeprom_buf[pba_word[1] + 0]; in ixgbe_get_pba_block_size()