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.c850 u32 rar_high; in ixgbe_set_vmdq_82598() local
859 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(rar)); in ixgbe_set_vmdq_82598()
860 rar_high &= ~IXGBE_RAH_VIND_MASK; in ixgbe_set_vmdq_82598()
861 rar_high |= ((vmdq << IXGBE_RAH_VIND_SHIFT) & IXGBE_RAH_VIND_MASK); in ixgbe_set_vmdq_82598()
862 IXGBE_WRITE_REG(hw, IXGBE_RAH(rar), rar_high); in ixgbe_set_vmdq_82598()
874 u32 rar_high; in ixgbe_clear_vmdq_82598() local
884 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(rar)); in ixgbe_clear_vmdq_82598()
885 if (rar_high & IXGBE_RAH_VIND_MASK) { in ixgbe_clear_vmdq_82598()
886 rar_high &= ~IXGBE_RAH_VIND_MASK; in ixgbe_clear_vmdq_82598()
887 IXGBE_WRITE_REG(hw, IXGBE_RAH(rar), rar_high); in ixgbe_clear_vmdq_82598()
Dixgbe_common.c579 u32 rar_high; in ixgbe_get_mac_addr_generic() local
583 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(0)); in ixgbe_get_mac_addr_generic()
590 mac_addr[i+4] = (u8)(rar_high >> (i*8)); in ixgbe_get_mac_addr_generic()
1801 u32 rar_low, rar_high; in ixgbe_set_rar_generic() local
1826 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(index)); in ixgbe_set_rar_generic()
1827 rar_high &= ~(0x0000FFFF | IXGBE_RAH_AV); in ixgbe_set_rar_generic()
1828 rar_high |= ((u32)addr[4] | ((u32)addr[5] << 8)); in ixgbe_set_rar_generic()
1831 rar_high |= IXGBE_RAH_AV; in ixgbe_set_rar_generic()
1834 IXGBE_WRITE_REG(hw, IXGBE_RAH(index), rar_high); in ixgbe_set_rar_generic()
1848 u32 rar_high; in ixgbe_clear_rar_generic() local
[all …]
/drivers/net/ethernet/intel/e1000e/
Dnvm.c543 u32 rar_high; in e1000_read_mac_addr_generic() local
547 rar_high = er32(RAH(0)); in e1000_read_mac_addr_generic()
554 hw->mac.perm_addr[i + 4] = (u8)(rar_high >> (i * 8)); in e1000_read_mac_addr_generic()
Dmac.c232 u32 rar_low, rar_high; in e1000e_rar_set_generic() local
240 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000e_rar_set_generic()
243 if (rar_low || rar_high) in e1000e_rar_set_generic()
244 rar_high |= E1000_RAH_AV; in e1000e_rar_set_generic()
252 ew32(RAH(index), rar_high); in e1000e_rar_set_generic()
Dich8lan.c1297 u32 rar_low, rar_high; in e1000_rar_set_pch2lan() local
1306 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000_rar_set_pch2lan()
1309 if (rar_low || rar_high) in e1000_rar_set_pch2lan()
1310 rar_high |= E1000_RAH_AV; in e1000_rar_set_pch2lan()
1315 ew32(RAH(index), rar_high); in e1000_rar_set_pch2lan()
1329 ew32(SHRAH(index - 1), rar_high); in e1000_rar_set_pch2lan()
1336 (er32(SHRAH(index - 1)) == rar_high)) in e1000_rar_set_pch2lan()
1360 u32 rar_low, rar_high; in e1000_rar_set_pch_lpt() local
1369 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000_rar_set_pch_lpt()
1372 if (rar_low || rar_high) in e1000_rar_set_pch_lpt()
[all …]
/drivers/net/ethernet/intel/igb/
De1000_mac.c308 u32 rar_low, rar_high; in igb_rar_set() local
317 rar_high = ((u32) addr[4] | ((u32) addr[5] << 8)); in igb_rar_set()
320 if (rar_low || rar_high) in igb_rar_set()
321 rar_high |= E1000_RAH_AV; in igb_rar_set()
329 wr32(E1000_RAH(index), rar_high); in igb_rar_set()
De1000_nvm.c621 u32 rar_high; in igb_read_mac_addr() local
625 rar_high = rd32(E1000_RAH(0)); in igb_read_mac_addr()
632 hw->mac.perm_addr[i+4] = (u8)(rar_high >> (i*8)); in igb_read_mac_addr()
Digb_main.c7411 u32 rar_low, rar_high; in igb_rar_set_qsel() local
7419 rar_high = ((u32) addr[4] | ((u32) addr[5] << 8)); in igb_rar_set_qsel()
7422 rar_high |= E1000_RAH_AV; in igb_rar_set_qsel()
7425 rar_high |= E1000_RAH_POOL_1 * qsel; in igb_rar_set_qsel()
7427 rar_high |= E1000_RAH_POOL_1 << qsel; in igb_rar_set_qsel()
7431 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.c4463 u32 rar_low, rar_high; in e1000_rar_set() local
4470 rar_high = ((u32) addr[4] | ((u32) addr[5] << 8)); in e1000_rar_set()
4493 rar_high |= E1000_RAH_AV; in e1000_rar_set()
4499 E1000_WRITE_REG_ARRAY(hw, RA, ((index << 1) + 1), rar_high); in e1000_rar_set()