Searched refs:mac_addr_hi (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dev.c | 736 unsigned int mac_addr_hi, mac_addr_lo; xgbe_set_mac_reg() local 740 mac_addr_hi = 0; xgbe_set_mac_reg() 748 mac_addr = (u8 *)&mac_addr_hi; xgbe_set_mac_reg() 755 XGMAC_SET_BITS(mac_addr_hi, MAC_MACA1HR, AE, 1); xgbe_set_mac_reg() 758 XGMAC_IOWRITE(pdata, *mac_reg, mac_addr_hi); xgbe_set_mac_reg() 844 unsigned int mac_addr_hi, mac_addr_lo; xgbe_set_mac_address() local 846 mac_addr_hi = (addr[5] << 8) | (addr[4] << 0); xgbe_set_mac_address() 850 XGMAC_IOWRITE(pdata, MAC_MACA0HR, mac_addr_hi); xgbe_set_mac_address()
|
/linux-4.1.27/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 4088 u32 mac_addr_hi; hw_ena_add_addr() local 4090 mac_addr_hi = 0; hw_ena_add_addr() 4092 mac_addr_hi <<= 8; hw_ena_add_addr() 4093 mac_addr_hi |= mac_addr[i]; hw_ena_add_addr() 4095 mac_addr_hi |= ADD_ADDR_ENABLE; hw_ena_add_addr() 4104 writel(mac_addr_hi, hw->io + index + KS_ADD_ADDR_0_HI); hw_ena_add_addr()
|
Completed in 109 milliseconds