Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/dev/e1000/
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 …]
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,
/freebsd-10-stable/sys/dev/ixgbe/
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,
Dixgbe_common.c787 s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, in ixgbe_read_pba_raw() argument
797 if (eeprom_buf == NULL) { in ixgbe_read_pba_raw()
804 pba->word[0] = eeprom_buf[IXGBE_PBANUM0_PTR]; in ixgbe_read_pba_raw()
805 pba->word[1] = eeprom_buf[IXGBE_PBANUM1_PTR]; in ixgbe_read_pba_raw()
815 ret_val = ixgbe_get_pba_block_size(hw, eeprom_buf, in ixgbe_read_pba_raw()
824 if (eeprom_buf == NULL) { in ixgbe_read_pba_raw()
834 &eeprom_buf[pba->word[1]], in ixgbe_read_pba_raw()
856 s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, in ixgbe_write_pba_raw() argument
864 if (eeprom_buf == NULL) { in ixgbe_write_pba_raw()
871 eeprom_buf[IXGBE_PBANUM0_PTR] = pba->word[0]; in ixgbe_write_pba_raw()
[all …]