Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/dev/e1000/
HDe1000_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 …]
HDe1000_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-11-stable/sys/dev/ixgbe/
HDixgbe_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,
HDixgbe_common.c792 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()
[all …]
/freebsd-11-stable/sys/dev/wl/
HDif_wl.c1234 char eeprom_buf[0x80]; in wlioctl() local
1399 bzero(eeprom_buf, sizeof(eeprom_buf)); in wlioctl()
1406 eeprom_buf[2 * i] = /* 2.4 Gz: pass low byte of */ in wlioctl()
1408 eeprom_buf[2 * i + 1] = /* 2.4 Gz: pass hi byte of */ in wlioctl()
1412 error = copyout(ifr_data_get_ptr(ifr), eeprom_buf, sizeof(eeprom_buf)); in wlioctl()