Home
last modified time | relevance | path

Searched refs:mac_addr_hi (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-hw.c62 unsigned int mac_addr_hi, mac_addr_lo; in xlgmac_set_mac_address() local
64 mac_addr_hi = (addr[5] << 8) | (addr[4] << 0); in xlgmac_set_mac_address()
68 writel(mac_addr_hi, pdata->mac_regs + MAC_MACA0HR); in xlgmac_set_mac_address()
78 unsigned int mac_addr_hi, mac_addr_lo; in xlgmac_set_mac_reg() local
82 mac_addr_hi = 0; in xlgmac_set_mac_reg()
90 mac_addr = (u8 *)&mac_addr_hi; in xlgmac_set_mac_reg()
98 mac_addr_hi = XLGMAC_SET_REG_BITS(mac_addr_hi, in xlgmac_set_mac_reg()
104 writel(mac_addr_hi, pdata->mac_regs + *mac_reg); in xlgmac_set_mac_reg()
/linux-5.19.10/drivers/crypto/hisilicon/sec/
Dsec_drv.h155 u32 mac_addr_hi; member
/linux-5.19.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c976 unsigned int mac_addr_hi, mac_addr_lo; in xgbe_set_mac_reg() local
980 mac_addr_hi = 0; in xgbe_set_mac_reg()
988 mac_addr = (u8 *)&mac_addr_hi; in xgbe_set_mac_reg()
996 XGMAC_SET_BITS(mac_addr_hi, MAC_MACA1HR, AE, 1); in xgbe_set_mac_reg()
999 XGMAC_IOWRITE(pdata, *mac_reg, mac_addr_hi); in xgbe_set_mac_reg()
1085 unsigned int mac_addr_hi, mac_addr_lo; in xgbe_set_mac_address() local
1087 mac_addr_hi = (addr[5] << 8) | (addr[4] << 0); in xgbe_set_mac_address()
1091 XGMAC_IOWRITE(pdata, MAC_MACA0HR, mac_addr_hi); in xgbe_set_mac_address()
/linux-5.19.10/drivers/net/ethernet/microchip/
Dlan743x_main.c935 u32 mac_addr_hi = 0; in lan743x_mac_init() local
948 mac_addr_hi = lan743x_csr_read(adapter, MAC_RX_ADDRH); in lan743x_mac_init()
954 adapter->mac_address[4] = mac_addr_hi & 0xFF; in lan743x_mac_init()
955 adapter->mac_address[5] = (mac_addr_hi >> 8) & 0xFF; in lan743x_mac_init()
957 if (((mac_addr_hi & 0x0000FFFF) == 0x0000FFFF) && in lan743x_mac_init()
1217 u32 mac_addr_hi = 0; in lan743x_rfe_update_mac_address() local
1226 mac_addr_hi = ((((u32)(mac_addr[4])) << 0) | in lan743x_rfe_update_mac_address()
1231 mac_addr_hi | RFE_ADDR_FILT_HI_VALID_); in lan743x_rfe_update_mac_address()
/linux-5.19.10/drivers/net/ethernet/micrel/
Dksz884x.c4004 u32 mac_addr_hi; in hw_ena_add_addr() local
4006 mac_addr_hi = 0; in hw_ena_add_addr()
4008 mac_addr_hi <<= 8; in hw_ena_add_addr()
4009 mac_addr_hi |= mac_addr[i]; in hw_ena_add_addr()
4011 mac_addr_hi |= ADD_ADDR_ENABLE; in hw_ena_add_addr()
4020 writel(mac_addr_hi, hw->io + index + KS_ADD_ADDR_0_HI); in hw_ena_add_addr()
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_mfw_hsi.h1881 u32 mac_addr_hi; member