/linux-6.6.21/drivers/net/ethernet/intel/igc/ |
D | igc_nvm.c | 135 u32 rar_high; in igc_read_mac_addr() local 139 rar_high = rd32(IGC_RAH(0)); in igc_read_mac_addr() 146 hw->mac.perm_addr[i + 4] = (u8)(rar_high >> (i * 8)); in igc_read_mac_addr()
|
D | igc_mac.c | 322 u32 rar_low, rar_high; in igc_rar_set() local 331 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in igc_rar_set() 334 if (rar_low || rar_high) in igc_rar_set() 335 rar_high |= IGC_RAH_AV; in igc_rar_set() 343 wr32(IGC_RAH(index), rar_high); in igc_rar_set()
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_82598.c | 786 u32 rar_high; in ixgbe_set_vmdq_82598() local 795 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(rar)); in ixgbe_set_vmdq_82598() 796 rar_high &= ~IXGBE_RAH_VIND_MASK; in ixgbe_set_vmdq_82598() 797 rar_high |= ((vmdq << IXGBE_RAH_VIND_SHIFT) & IXGBE_RAH_VIND_MASK); in ixgbe_set_vmdq_82598() 798 IXGBE_WRITE_REG(hw, IXGBE_RAH(rar), rar_high); in ixgbe_set_vmdq_82598() 810 u32 rar_high; in ixgbe_clear_vmdq_82598() local 820 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(rar)); in ixgbe_clear_vmdq_82598() 821 if (rar_high & IXGBE_RAH_VIND_MASK) { in ixgbe_clear_vmdq_82598() 822 rar_high &= ~IXGBE_RAH_VIND_MASK; in ixgbe_clear_vmdq_82598() 823 IXGBE_WRITE_REG(hw, IXGBE_RAH(rar), rar_high); in ixgbe_clear_vmdq_82598()
|
D | ixgbe_common.c | 604 u32 rar_high; in ixgbe_get_mac_addr_generic() local 608 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(0)); in ixgbe_get_mac_addr_generic() 615 mac_addr[i+4] = (u8)(rar_high >> (i*8)); in ixgbe_get_mac_addr_generic() 1830 u32 rar_low, rar_high; in ixgbe_set_rar_generic() local 1855 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(index)); in ixgbe_set_rar_generic() 1856 rar_high &= ~(0x0000FFFF | IXGBE_RAH_AV); in ixgbe_set_rar_generic() 1857 rar_high |= ((u32)addr[4] | ((u32)addr[5] << 8)); in ixgbe_set_rar_generic() 1860 rar_high |= IXGBE_RAH_AV; in ixgbe_set_rar_generic() 1868 IXGBE_WRITE_REG(hw, IXGBE_RAH(index), rar_high); in ixgbe_set_rar_generic() 1882 u32 rar_high; in ixgbe_clear_rar_generic() local [all …]
|
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/ |
D | nvm.c | 520 u32 rar_high; in e1000_read_mac_addr_generic() local 524 rar_high = er32(RAH(0)); in e1000_read_mac_addr_generic() 531 hw->mac.perm_addr[i + 4] = (u8)(rar_high >> (i * 8)); in e1000_read_mac_addr_generic()
|
D | mac.c | 212 u32 rar_low, rar_high; in e1000e_rar_set_generic() local 220 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000e_rar_set_generic() 223 if (rar_low || rar_high) in e1000e_rar_set_generic() 224 rar_high |= E1000_RAH_AV; in e1000e_rar_set_generic() 232 ew32(RAH(index), rar_high); in e1000e_rar_set_generic()
|
D | ich8lan.c | 1884 u32 rar_low, rar_high; in e1000_rar_set_pch2lan() local 1893 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000_rar_set_pch2lan() 1896 if (rar_low || rar_high) in e1000_rar_set_pch2lan() 1897 rar_high |= E1000_RAH_AV; in e1000_rar_set_pch2lan() 1902 ew32(RAH(index), rar_high); in e1000_rar_set_pch2lan() 1919 ew32(SHRAH(index - 1), rar_high); in e1000_rar_set_pch2lan() 1926 (er32(SHRAH(index - 1)) == rar_high)) in e1000_rar_set_pch2lan() 1987 u32 rar_low, rar_high; in e1000_rar_set_pch_lpt() local 1996 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000_rar_set_pch_lpt() 1999 if (rar_low || rar_high) in e1000_rar_set_pch_lpt() [all …]
|
/linux-6.6.21/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 358 u32 rar_low, rar_high; in igb_rar_set() local 367 rar_high = ((u32) addr[4] | ((u32) addr[5] << 8)); in igb_rar_set() 370 if (rar_low || rar_high) in igb_rar_set() 371 rar_high |= E1000_RAH_AV; in igb_rar_set() 379 wr32(E1000_RAH(index), rar_high); in igb_rar_set()
|
D | e1000_nvm.c | 598 u32 rar_high; in igb_read_mac_addr() local 602 rar_high = rd32(E1000_RAH(0)); in igb_read_mac_addr() 609 hw->mac.perm_addr[i+4] = (u8)(rar_high >> (i*8)); in igb_read_mac_addr()
|
D | igb_main.c | 9690 u32 rar_low, rar_high; in igb_rar_set_index() local 9699 rar_high = le16_to_cpup((__le16 *)(addr + 4)); in igb_rar_set_index() 9704 rar_high |= E1000_RAH_AV; in igb_rar_set_index() 9707 rar_high |= E1000_RAH_ASEL_SRC_ADDR; in igb_rar_set_index() 9714 rar_high |= E1000_RAH_QSEL_ENABLE; in igb_rar_set_index() 9716 rar_high |= E1000_RAH_POOL_1 * in igb_rar_set_index() 9720 rar_high |= E1000_RAH_POOL_1 << in igb_rar_set_index() 9728 wr32(E1000_RAH(index), rar_high); in igb_rar_set_index()
|
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/ |
D | wx_hw.c | 486 u32 rar_high; in wx_get_mac_addr() local 491 rar_high = rd32(wx, WX_PSR_MAC_SWC_AD_H); in wx_get_mac_addr() 495 mac_addr[i] = (u8)(rar_high >> (1 - i) * 8); in wx_get_mac_addr() 516 u32 rar_low, rar_high; in wx_set_rar() local 543 rar_high = ((u32)addr[1] | in wx_set_rar() 546 rar_high |= WX_PSR_MAC_SWC_AD_H_AV; in wx_set_rar() 553 rar_high); in wx_set_rar()
|
/linux-6.6.21/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 4336 u32 rar_low, rar_high; in e1000_rar_set() local 4343 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000_rar_set() 4366 rar_high |= E1000_RAH_AV; in e1000_rar_set() 4372 E1000_WRITE_REG_ARRAY(hw, RA, ((index << 1) + 1), rar_high); in e1000_rar_set()
|