Lines Matching refs:eeprom_buf
796 s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, in ixgbe_read_pba_raw() argument
806 if (eeprom_buf == NULL) { in ixgbe_read_pba_raw()
813 pba->word[0] = eeprom_buf[IXGBE_PBANUM0_PTR]; in ixgbe_read_pba_raw()
814 pba->word[1] = eeprom_buf[IXGBE_PBANUM1_PTR]; in ixgbe_read_pba_raw()
824 ret_val = ixgbe_get_pba_block_size(hw, eeprom_buf, in ixgbe_read_pba_raw()
833 if (eeprom_buf == NULL) { in ixgbe_read_pba_raw()
843 &eeprom_buf[pba->word[1]], in ixgbe_read_pba_raw()
865 s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, in ixgbe_write_pba_raw() argument
873 if (eeprom_buf == NULL) { in ixgbe_write_pba_raw()
880 eeprom_buf[IXGBE_PBANUM0_PTR] = pba->word[0]; in ixgbe_write_pba_raw()
881 eeprom_buf[IXGBE_PBANUM1_PTR] = pba->word[1]; in ixgbe_write_pba_raw()
891 if (eeprom_buf == NULL) { in ixgbe_write_pba_raw()
900 memcpy(&eeprom_buf[pba->word[1]], in ixgbe_write_pba_raw()
924 s32 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf, in ixgbe_get_pba_block_size() argument
933 if (eeprom_buf == NULL) { in ixgbe_get_pba_block_size()
940 pba_word[0] = eeprom_buf[IXGBE_PBANUM0_PTR]; in ixgbe_get_pba_block_size()
941 pba_word[1] = eeprom_buf[IXGBE_PBANUM1_PTR]; in ixgbe_get_pba_block_size()
948 if (eeprom_buf == NULL) { in ixgbe_get_pba_block_size()
955 length = eeprom_buf[pba_word[1] + 0]; in ixgbe_get_pba_block_size()