Home
last modified time | relevance | path

Searched refs:eeprom_buf (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_nvm.c946 s32 e1000_read_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf, in e1000_read_pba_raw() argument
956 if (eeprom_buf == NULL) { in e1000_read_pba_raw()
963 pba->word[0] = eeprom_buf[NVM_PBA_OFFSET_0]; in e1000_read_pba_raw()
964 pba->word[1] = eeprom_buf[NVM_PBA_OFFSET_1]; in e1000_read_pba_raw()
974 ret_val = e1000_get_pba_block_size(hw, eeprom_buf, in e1000_read_pba_raw()
983 if (eeprom_buf == NULL) { in e1000_read_pba_raw()
993 &eeprom_buf[pba->word[1]], in e1000_read_pba_raw()
1015 s32 e1000_write_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf, in e1000_write_pba_raw() argument
1023 if (eeprom_buf == NULL) { in e1000_write_pba_raw()
1030 eeprom_buf[NVM_PBA_OFFSET_0] = pba->word[0]; in e1000_write_pba_raw()
[all …]
H A De1000_nvm.h56 s32 e1000_read_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf,
59 s32 e1000_write_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf,
61 s32 e1000_get_pba_block_size(struct e1000_hw *hw, u16 *eeprom_buf,
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_common.h63 s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
66 s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
68 s32 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf,
H A Dixgbe_common.c794 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()
[all …]