/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_nvm.c | 136 u32 rar_low; in igc_read_mac_addr() local 140 rar_low = rd32(IGC_RAL(0)); in igc_read_mac_addr() 143 hw->mac.perm_addr[i] = (u8)(rar_low >> (i * 8)); in igc_read_mac_addr()
|
H A D | igc_mac.c | 322 u32 rar_low, rar_high; in igc_rar_set() local 327 rar_low = ((u32)addr[0] | in igc_rar_set() 334 if (rar_low || rar_high) in igc_rar_set() 341 wr32(IGC_RAL(index), rar_low); in igc_rar_set()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | nvm.c | 521 u32 rar_low; in e1000_read_mac_addr_generic() local 525 rar_low = er32(RAL(0)); in e1000_read_mac_addr_generic() 528 hw->mac.perm_addr[i] = (u8)(rar_low >> (i * 8)); in e1000_read_mac_addr_generic()
|
H A D | mac.c | 210 u32 rar_low, rar_high; in e1000e_rar_set_generic() local 215 rar_low = ((u32)addr[0] | ((u32)addr[1] << 8) | in e1000e_rar_set_generic() 221 if (rar_low || rar_high) in e1000e_rar_set_generic() 228 ew32(RAL(index), rar_low); in e1000e_rar_set_generic()
|
H A D | ich8lan.c | 1942 u32 rar_low, rar_high; in e1000_rar_set_pch2lan() local 1947 rar_low = ((u32)addr[0] | in e1000_rar_set_pch2lan() 1954 if (rar_low || rar_high) in e1000_rar_set_pch2lan() 1958 ew32(RAL(index), rar_low); in e1000_rar_set_pch2lan() 1975 ew32(SHRAL(index - 1), rar_low); in e1000_rar_set_pch2lan() 1983 if ((er32(SHRAL(index - 1)) == rar_low) && in e1000_rar_set_pch2lan() 2045 u32 rar_low, rar_high; in e1000_rar_set_pch_lpt() local 2051 rar_low = ((u32)addr[0] | ((u32)addr[1] << 8) | in e1000_rar_set_pch_lpt() 2057 if (rar_low || rar_high) in e1000_rar_set_pch_lpt() 2061 ew32(RAL(index), rar_low); in e1000_rar_set_pch_lpt() [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_nvm.c | 599 u32 rar_low; in igb_read_mac_addr() local 603 rar_low = rd32(E1000_RAL(0)); in igb_read_mac_addr() 606 hw->mac.perm_addr[i] = (u8)(rar_low >> (i*8)); in igb_read_mac_addr()
|
H A D | e1000_mac.c | 358 u32 rar_low, rar_high; in igb_rar_set() local 363 rar_low = ((u32) addr[0] | in igb_rar_set() 370 if (rar_low || rar_high) in igb_rar_set() 377 wr32(E1000_RAL(index), rar_low); in igb_rar_set()
|
H A D | igb_main.c | 9680 u32 rar_low, rar_high; in igb_rar_set_index() local 9688 rar_low = le32_to_cpup((__le32 *)(addr)); in igb_rar_set_index() 9716 wr32(E1000_RAL(index), rar_low); in igb_rar_set_index()
|
/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_hw.c | 579 u32 rar_low; in wx_get_mac_addr() local 584 rar_low = rd32(wx, WX_PSR_MAC_SWC_AD_L); in wx_get_mac_addr() 590 mac_addr[i + 2] = (u8)(rar_low >> (3 - i) * 8); in wx_get_mac_addr() 608 u32 rar_low, rar_high; in wx_set_rar() local 631 rar_low = ((u32)addr[5] | in wx_set_rar() 640 wr32(wx, WX_PSR_MAC_SWC_AD_L, rar_low); in wx_set_rar()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_common.c | 605 u32 rar_low; in ixgbe_get_mac_addr_generic() local 609 rar_low = IXGBE_READ_REG(hw, IXGBE_RAL(0)); in ixgbe_get_mac_addr_generic() 612 mac_addr[i] = (u8)(rar_low >> (i*8)); in ixgbe_get_mac_addr_generic() 1829 u32 rar_low, rar_high; in ixgbe_set_rar_generic() local 1845 rar_low = ((u32)addr[0] | in ixgbe_set_rar_generic() 1865 IXGBE_WRITE_REG(hw, IXGBE_RAL(index), rar_low); in ixgbe_set_rar_generic()
|
/linux/drivers/net/ethernet/realtek/rtase/ |
H A D | rtase_main.c | 1443 u32 rar_low, rar_high; in rtase_rar_set() local 1445 rar_low = (u32)addr[0] | ((u32)addr[1] << 8) | in rtase_rar_set() 1451 rtase_w32(tp, RTASE_MAC0, rar_low); in rtase_rar_set()
|
/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_hw.c | 4332 u32 rar_low, rar_high; in e1000_rar_set() local 4337 rar_low = ((u32)addr[0] | ((u32)addr[1] << 8) | in e1000_rar_set() 4366 E1000_WRITE_REG_ARRAY(hw, RA, (index << 1), rar_low); in e1000_rar_set()
|