Home
last modified time | relevance | path

Searched refs:rar_low (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/intel/igc/
Digc_nvm.c136 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()
Digc_mac.c322 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()
/drivers/net/ethernet/intel/e1000e/
Dnvm.c521 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()
Dmac.c212 u32 rar_low, rar_high; in e1000e_rar_set_generic() local
217 rar_low = ((u32)addr[0] | ((u32)addr[1] << 8) | in e1000e_rar_set_generic()
223 if (rar_low || rar_high) in e1000e_rar_set_generic()
230 ew32(RAL(index), rar_low); in e1000e_rar_set_generic()
Dich8lan.c1876 u32 rar_low, rar_high; in e1000_rar_set_pch2lan() local
1881 rar_low = ((u32)addr[0] | in e1000_rar_set_pch2lan()
1888 if (rar_low || rar_high) in e1000_rar_set_pch2lan()
1892 ew32(RAL(index), rar_low); in e1000_rar_set_pch2lan()
1909 ew32(SHRAL(index - 1), rar_low); in e1000_rar_set_pch2lan()
1917 if ((er32(SHRAL(index - 1)) == rar_low) && in e1000_rar_set_pch2lan()
1979 u32 rar_low, rar_high; in e1000_rar_set_pch_lpt() local
1985 rar_low = ((u32)addr[0] | ((u32)addr[1] << 8) | in e1000_rar_set_pch_lpt()
1991 if (rar_low || rar_high) in e1000_rar_set_pch_lpt()
1995 ew32(RAL(index), rar_low); in e1000_rar_set_pch_lpt()
[all …]
/drivers/net/ethernet/intel/igb/
De1000_nvm.c599 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()
De1000_mac.c358 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()
Digb_main.c9547 u32 rar_low, rar_high; in igb_rar_set_index() local
9555 rar_low = le32_to_cpup((__le32 *)(addr)); in igb_rar_set_index()
9583 wr32(E1000_RAL(index), rar_low); in igb_rar_set_index()
/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c555 u32 rar_low, rar_high; in ixgb_rar_set() local
562 rar_low = ((u32) addr[0] | in ixgb_rar_set()
571 IXGB_WRITE_REG_ARRAY(hw, RA, (index << 1), rar_low); in ixgb_rar_set()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c605 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()
1830 u32 rar_low, rar_high; in ixgbe_set_rar_generic() local
1846 rar_low = ((u32)addr[0] | in ixgbe_set_rar_generic()
1866 IXGBE_WRITE_REG(hw, IXGBE_RAL(index), rar_low); in ixgbe_set_rar_generic()
/drivers/net/ethernet/intel/e1000/
De1000_hw.c4336 u32 rar_low, rar_high; in e1000_rar_set() local
4341 rar_low = ((u32)addr[0] | ((u32)addr[1] << 8) | in e1000_rar_set()
4370 E1000_WRITE_REG_ARRAY(hw, RA, (index << 1), rar_low); in e1000_rar_set()