Home
last modified time | relevance | path

Searched refs:rar_high (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c834 u32 rar_high; in ixgbe_set_vmdq_82598() local
843 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(rar)); in ixgbe_set_vmdq_82598()
844 rar_high &= ~IXGBE_RAH_VIND_MASK; in ixgbe_set_vmdq_82598()
845 rar_high |= ((vmdq << IXGBE_RAH_VIND_SHIFT) & IXGBE_RAH_VIND_MASK); in ixgbe_set_vmdq_82598()
846 IXGBE_WRITE_REG(hw, IXGBE_RAH(rar), rar_high); in ixgbe_set_vmdq_82598()
858 u32 rar_high; in ixgbe_clear_vmdq_82598() local
868 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(rar)); in ixgbe_clear_vmdq_82598()
869 if (rar_high & IXGBE_RAH_VIND_MASK) { in ixgbe_clear_vmdq_82598()
870 rar_high &= ~IXGBE_RAH_VIND_MASK; in ixgbe_clear_vmdq_82598()
871 IXGBE_WRITE_REG(hw, IXGBE_RAH(rar), rar_high); in ixgbe_clear_vmdq_82598()
Dixgbe_common.c624 u32 rar_high; in ixgbe_get_mac_addr_generic() local
628 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(0)); in ixgbe_get_mac_addr_generic()
635 mac_addr[i+4] = (u8)(rar_high >> (i*8)); in ixgbe_get_mac_addr_generic()
1818 u32 rar_low, rar_high; in ixgbe_set_rar_generic() local
1843 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(index)); in ixgbe_set_rar_generic()
1844 rar_high &= ~(0x0000FFFF | IXGBE_RAH_AV); in ixgbe_set_rar_generic()
1845 rar_high |= ((u32)addr[4] | ((u32)addr[5] << 8)); in ixgbe_set_rar_generic()
1848 rar_high |= IXGBE_RAH_AV; in ixgbe_set_rar_generic()
1851 IXGBE_WRITE_REG(hw, IXGBE_RAH(index), rar_high); in ixgbe_set_rar_generic()
1865 u32 rar_high; in ixgbe_clear_rar_generic() local
[all …]
/drivers/net/ethernet/intel/e1000e/
Dnvm.c538 u32 rar_high; in e1000_read_mac_addr_generic() local
542 rar_high = er32(RAH(0)); in e1000_read_mac_addr_generic()
549 hw->mac.perm_addr[i + 4] = (u8)(rar_high >> (i * 8)); in e1000_read_mac_addr_generic()
Dmac.c230 u32 rar_low, rar_high; in e1000e_rar_set_generic() local
238 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000e_rar_set_generic()
241 if (rar_low || rar_high) in e1000e_rar_set_generic()
242 rar_high |= E1000_RAH_AV; in e1000e_rar_set_generic()
250 ew32(RAH(index), rar_high); in e1000e_rar_set_generic()
Dich8lan.c1840 u32 rar_low, rar_high; in e1000_rar_set_pch2lan() local
1849 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000_rar_set_pch2lan()
1852 if (rar_low || rar_high) in e1000_rar_set_pch2lan()
1853 rar_high |= E1000_RAH_AV; in e1000_rar_set_pch2lan()
1858 ew32(RAH(index), rar_high); in e1000_rar_set_pch2lan()
1875 ew32(SHRAH(index - 1), rar_high); in e1000_rar_set_pch2lan()
1882 (er32(SHRAH(index - 1)) == rar_high)) in e1000_rar_set_pch2lan()
1943 u32 rar_low, rar_high; in e1000_rar_set_pch_lpt() local
1952 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000_rar_set_pch_lpt()
1955 if (rar_low || rar_high) in e1000_rar_set_pch_lpt()
[all …]
/drivers/net/ethernet/intel/igb/
De1000_mac.c377 u32 rar_low, rar_high; in igb_rar_set() local
386 rar_high = ((u32) addr[4] | ((u32) addr[5] << 8)); in igb_rar_set()
389 if (rar_low || rar_high) in igb_rar_set()
390 rar_high |= E1000_RAH_AV; in igb_rar_set()
398 wr32(E1000_RAH(index), rar_high); in igb_rar_set()
De1000_nvm.c617 u32 rar_high; in igb_read_mac_addr() local
621 rar_high = rd32(E1000_RAH(0)); in igb_read_mac_addr()
628 hw->mac.perm_addr[i+4] = (u8)(rar_high >> (i*8)); in igb_read_mac_addr()
Digb_main.c7943 u32 rar_low, rar_high; in igb_rar_set_qsel() local
7951 rar_high = le16_to_cpup((__le16 *)(addr + 4)); in igb_rar_set_qsel()
7954 rar_high |= E1000_RAH_AV; in igb_rar_set_qsel()
7957 rar_high |= E1000_RAH_POOL_1 * qsel; in igb_rar_set_qsel()
7959 rar_high |= E1000_RAH_POOL_1 << qsel; in igb_rar_set_qsel()
7963 wr32(E1000_RAH(index), rar_high); in igb_rar_set_qsel()
/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c582 u32 rar_low, rar_high; in ixgb_rar_set() local
594 rar_high = ((u32) addr[4] | in ixgb_rar_set()
599 IXGB_WRITE_REG_ARRAY(hw, RA, ((index << 1) + 1), rar_high); in ixgb_rar_set()
/drivers/net/ethernet/intel/e1000/
De1000_hw.c4367 u32 rar_low, rar_high; in e1000_rar_set() local
4374 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000_rar_set()
4397 rar_high |= E1000_RAH_AV; in e1000_rar_set()
4403 E1000_WRITE_REG_ARRAY(hw, RA, ((index << 1) + 1), rar_high); in e1000_rar_set()