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.c833 u32 rar_high; in ixgbe_set_vmdq_82598() local
842 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(rar)); in ixgbe_set_vmdq_82598()
843 rar_high &= ~IXGBE_RAH_VIND_MASK; in ixgbe_set_vmdq_82598()
844 rar_high |= ((vmdq << IXGBE_RAH_VIND_SHIFT) & IXGBE_RAH_VIND_MASK); in ixgbe_set_vmdq_82598()
845 IXGBE_WRITE_REG(hw, IXGBE_RAH(rar), rar_high); in ixgbe_set_vmdq_82598()
857 u32 rar_high; in ixgbe_clear_vmdq_82598() local
867 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(rar)); in ixgbe_clear_vmdq_82598()
868 if (rar_high & IXGBE_RAH_VIND_MASK) { in ixgbe_clear_vmdq_82598()
869 rar_high &= ~IXGBE_RAH_VIND_MASK; in ixgbe_clear_vmdq_82598()
870 IXGBE_WRITE_REG(hw, IXGBE_RAH(rar), rar_high); in ixgbe_clear_vmdq_82598()
Dixgbe_common.c605 u32 rar_high; in ixgbe_get_mac_addr_generic() local
609 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(0)); in ixgbe_get_mac_addr_generic()
616 mac_addr[i+4] = (u8)(rar_high >> (i*8)); in ixgbe_get_mac_addr_generic()
1785 u32 rar_low, rar_high; in ixgbe_set_rar_generic() local
1810 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(index)); in ixgbe_set_rar_generic()
1811 rar_high &= ~(0x0000FFFF | IXGBE_RAH_AV); in ixgbe_set_rar_generic()
1812 rar_high |= ((u32)addr[4] | ((u32)addr[5] << 8)); in ixgbe_set_rar_generic()
1815 rar_high |= IXGBE_RAH_AV; in ixgbe_set_rar_generic()
1823 IXGBE_WRITE_REG(hw, IXGBE_RAH(index), rar_high); in ixgbe_set_rar_generic()
1837 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.c1826 u32 rar_low, rar_high; in e1000_rar_set_pch2lan() local
1835 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000_rar_set_pch2lan()
1838 if (rar_low || rar_high) in e1000_rar_set_pch2lan()
1839 rar_high |= E1000_RAH_AV; in e1000_rar_set_pch2lan()
1844 ew32(RAH(index), rar_high); in e1000_rar_set_pch2lan()
1861 ew32(SHRAH(index - 1), rar_high); in e1000_rar_set_pch2lan()
1868 (er32(SHRAH(index - 1)) == rar_high)) in e1000_rar_set_pch2lan()
1929 u32 rar_low, rar_high; in e1000_rar_set_pch_lpt() local
1938 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000_rar_set_pch_lpt()
1941 if (rar_low || rar_high) in e1000_rar_set_pch_lpt()
[all …]
/drivers/net/ethernet/intel/igb/
De1000_mac.c304 u32 rar_low, rar_high; in igb_rar_set() local
313 rar_high = ((u32) addr[4] | ((u32) addr[5] << 8)); in igb_rar_set()
316 if (rar_low || rar_high) in igb_rar_set()
317 rar_high |= E1000_RAH_AV; in igb_rar_set()
325 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.c7693 u32 rar_low, rar_high; in igb_rar_set_qsel() local
7701 rar_high = ((u32) addr[4] | ((u32) addr[5] << 8)); in igb_rar_set_qsel()
7704 rar_high |= E1000_RAH_AV; in igb_rar_set_qsel()
7707 rar_high |= E1000_RAH_POOL_1 * qsel; in igb_rar_set_qsel()
7709 rar_high |= E1000_RAH_POOL_1 << qsel; in igb_rar_set_qsel()
7713 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.c4359 u32 rar_low, rar_high; in e1000_rar_set() local
4366 rar_high = ((u32) addr[4] | ((u32) addr[5] << 8)); in e1000_rar_set()
4389 rar_high |= E1000_RAH_AV; in e1000_rar_set()
4395 E1000_WRITE_REG_ARRAY(hw, RA, ((index << 1) + 1), rar_high); in e1000_rar_set()