Home
last modified time | relevance | path

Searched refs:nvm_data (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/intel/e1000e/
Dnvm.c442 u16 nvm_data; in e1000_read_pba_string_generic() local
452 ret_val = e1000_read_nvm(hw, NVM_PBA_OFFSET_0, 1, &nvm_data); in e1000_read_pba_string_generic()
469 if (nvm_data != NVM_PBA_PTR_GUARD) { in e1000_read_pba_string_generic()
479 pba_num[0] = (nvm_data >> 12) & 0xF; in e1000_read_pba_string_generic()
480 pba_num[1] = (nvm_data >> 8) & 0xF; in e1000_read_pba_string_generic()
481 pba_num[2] = (nvm_data >> 4) & 0xF; in e1000_read_pba_string_generic()
482 pba_num[3] = nvm_data & 0xF; in e1000_read_pba_string_generic()
525 ret_val = e1000_read_nvm(hw, pba_ptr + offset, 1, &nvm_data); in e1000_read_pba_string_generic()
530 pba_num[offset * 2] = (u8)(nvm_data >> 8); in e1000_read_pba_string_generic()
531 pba_num[(offset * 2) + 1] = (u8)(nvm_data & 0xFF); in e1000_read_pba_string_generic()
[all …]
Dmac.c170 u16 offset, nvm_alt_mac_addr_offset, nvm_data; in e1000_check_alt_mac_addr_generic() local
173 ret_val = e1000_read_nvm(hw, NVM_COMPAT, 1, &nvm_data); in e1000_check_alt_mac_addr_generic()
197 ret_val = e1000_read_nvm(hw, offset, 1, &nvm_data); in e1000_check_alt_mac_addr_generic()
203 alt_mac_addr[i] = (u8)(nvm_data & 0xFF); in e1000_check_alt_mac_addr_generic()
204 alt_mac_addr[i + 1] = (u8)(nvm_data >> 8); in e1000_check_alt_mac_addr_generic()
666 u16 nvm_data; in e1000_set_default_fc_generic() local
677 ret_val = e1000_read_nvm(hw, NVM_INIT_CONTROL2_REG, 1, &nvm_data); in e1000_set_default_fc_generic()
684 if ((nvm_data & NVM_WORD0F_PAUSE_MASK) == 0) in e1000_set_default_fc_generic()
686 else if ((nvm_data & NVM_WORD0F_PAUSE_MASK) == NVM_WORD0F_ASM_DIR) in e1000_set_default_fc_generic()
/linux-3.4.99/drivers/net/ethernet/intel/igb/
De1000_nvm.c522 u16 nvm_data; in igb_read_part_string() local
533 ret_val = hw->nvm.ops.read(hw, NVM_PBA_OFFSET_0, 1, &nvm_data); in igb_read_part_string()
550 if (nvm_data != NVM_PBA_PTR_GUARD) { in igb_read_part_string()
560 part_num[0] = (nvm_data >> 12) & 0xF; in igb_read_part_string()
561 part_num[1] = (nvm_data >> 8) & 0xF; in igb_read_part_string()
562 part_num[2] = (nvm_data >> 4) & 0xF; in igb_read_part_string()
563 part_num[3] = nvm_data & 0xF; in igb_read_part_string()
608 ret_val = hw->nvm.ops.read(hw, pointer + offset, 1, &nvm_data); in igb_read_part_string()
613 part_num[offset * 2] = (u8)(nvm_data >> 8); in igb_read_part_string()
614 part_num[(offset * 2) + 1] = (u8)(nvm_data & 0xFF); in igb_read_part_string()
[all …]
De1000_82575.c1696 u16 nvm_data = 0; in igb_reset_mdicnfg_82580() local
1705 &nvm_data); in igb_reset_mdicnfg_82580()
1712 if (nvm_data & NVM_WORD24_EXT_MDIO) in igb_reset_mdicnfg_82580()
1714 if (nvm_data & NVM_WORD24_COM_MDIO) in igb_reset_mdicnfg_82580()
1845 u16 i, nvm_data; in igb_validate_nvm_checksum_with_offset() local
1848 ret_val = hw->nvm.ops.read(hw, i, 1, &nvm_data); in igb_validate_nvm_checksum_with_offset()
1853 checksum += nvm_data; in igb_validate_nvm_checksum_with_offset()
1880 u16 i, nvm_data; in igb_update_nvm_checksum_with_offset() local
1883 ret_val = hw->nvm.ops.read(hw, i, 1, &nvm_data); in igb_update_nvm_checksum_with_offset()
1888 checksum += nvm_data; in igb_update_nvm_checksum_with_offset()
[all …]
De1000_mac.c241 u16 offset, nvm_alt_mac_addr_offset, nvm_data; in igb_check_alt_mac_addr() local
272 ret_val = hw->nvm.ops.read(hw, offset, 1, &nvm_data); in igb_check_alt_mac_addr()
278 alt_mac_addr[i] = (u8)(nvm_data & 0xFF); in igb_check_alt_mac_addr()
279 alt_mac_addr[i + 1] = (u8)(nvm_data >> 8); in igb_check_alt_mac_addr()
733 u16 nvm_data; in igb_set_default_fc() local
744 ret_val = hw->nvm.ops.read(hw, NVM_INIT_CONTROL2_REG, 1, &nvm_data); in igb_set_default_fc()
751 if ((nvm_data & NVM_WORD0F_PAUSE_MASK) == 0) in igb_set_default_fc()
753 else if ((nvm_data & NVM_WORD0F_PAUSE_MASK) == in igb_set_default_fc()
/linux-3.4.99/drivers/scsi/pm8001/
Dpm8001_hwi.h655 __le32 nvm_data[12]; member