/linux-6.1.9/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.1.9/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() 1842 u32 rar_low, rar_high; in ixgbe_set_rar_generic() local 1867 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(index)); in ixgbe_set_rar_generic() 1868 rar_high &= ~(0x0000FFFF | IXGBE_RAH_AV); in ixgbe_set_rar_generic() 1869 rar_high |= ((u32)addr[4] | ((u32)addr[5] << 8)); in ixgbe_set_rar_generic() 1872 rar_high |= IXGBE_RAH_AV; in ixgbe_set_rar_generic() 1880 IXGBE_WRITE_REG(hw, IXGBE_RAH(index), rar_high); in ixgbe_set_rar_generic() 1894 u32 rar_high; in ixgbe_clear_rar_generic() local [all …]
|
/linux-6.1.9/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 | 1876 u32 rar_low, rar_high; in e1000_rar_set_pch2lan() local 1885 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000_rar_set_pch2lan() 1888 if (rar_low || rar_high) in e1000_rar_set_pch2lan() 1889 rar_high |= E1000_RAH_AV; in e1000_rar_set_pch2lan() 1894 ew32(RAH(index), rar_high); in e1000_rar_set_pch2lan() 1911 ew32(SHRAH(index - 1), rar_high); in e1000_rar_set_pch2lan() 1918 (er32(SHRAH(index - 1)) == rar_high)) in e1000_rar_set_pch2lan() 1979 u32 rar_low, rar_high; in e1000_rar_set_pch_lpt() local 1988 rar_high = ((u32)addr[4] | ((u32)addr[5] << 8)); in e1000_rar_set_pch_lpt() 1991 if (rar_low || rar_high) in e1000_rar_set_pch_lpt() [all …]
|
/linux-6.1.9/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 | 9652 u32 rar_low, rar_high; in igb_rar_set_index() local 9661 rar_high = le16_to_cpup((__le16 *)(addr + 4)); in igb_rar_set_index() 9666 rar_high |= E1000_RAH_AV; in igb_rar_set_index() 9669 rar_high |= E1000_RAH_ASEL_SRC_ADDR; in igb_rar_set_index() 9676 rar_high |= E1000_RAH_QSEL_ENABLE; in igb_rar_set_index() 9678 rar_high |= E1000_RAH_POOL_1 * in igb_rar_set_index() 9682 rar_high |= E1000_RAH_POOL_1 << in igb_rar_set_index() 9690 wr32(E1000_RAH(index), rar_high); in igb_rar_set_index()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.c | 555 u32 rar_low, rar_high; in ixgb_rar_set() local 567 rar_high = ((u32) addr[4] | in ixgb_rar_set() 572 IXGB_WRITE_REG_ARRAY(hw, RA, ((index << 1) + 1), rar_high); in ixgb_rar_set()
|
/linux-6.1.9/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()
|