Searched refs:rar_high (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_82598.c | 850 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()
|
D | ixgbe_common.c | 579 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/ |
D | nvm.c | 543 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()
|
D | mac.c | 232 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()
|
D | ich8lan.c | 1297 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/ |
D | e1000_mac.c | 308 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()
|
D | e1000_nvm.c | 621 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()
|
D | igb_main.c | 7411 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/ |
D | ixgb_hw.c | 582 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/ |
D | e1000_hw.c | 4463 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()
|