Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/drivers/crypto/hisilicon/sec/
Dsec_drv.h155 u32 mac_addr_hi; member
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c986 unsigned int mac_addr_hi, mac_addr_lo; in xgbe_set_mac_reg() local
990 mac_addr_hi = 0; in xgbe_set_mac_reg()
998 mac_addr = (u8 *)&mac_addr_hi; in xgbe_set_mac_reg()
1006 XGMAC_SET_BITS(mac_addr_hi, MAC_MACA1HR, AE, 1); in xgbe_set_mac_reg()
1009 XGMAC_IOWRITE(pdata, *mac_reg, mac_addr_hi); in xgbe_set_mac_reg()
1095 unsigned int mac_addr_hi, mac_addr_lo; in xgbe_set_mac_address() local
1097 mac_addr_hi = (addr[5] << 8) | (addr[4] << 0); in xgbe_set_mac_address()
1101 XGMAC_IOWRITE(pdata, MAC_MACA0HR, mac_addr_hi); in xgbe_set_mac_address()
/linux-6.6.21/drivers/net/ethernet/microchip/
Dlan743x_main.c1260 u32 mac_addr_hi = 0; in lan743x_mac_init() local
1273 mac_addr_hi = lan743x_csr_read(adapter, MAC_RX_ADDRH); in lan743x_mac_init()
1279 adapter->mac_address[4] = mac_addr_hi & 0xFF; in lan743x_mac_init()
1280 adapter->mac_address[5] = (mac_addr_hi >> 8) & 0xFF; in lan743x_mac_init()
1282 if (((mac_addr_hi & 0x0000FFFF) == 0x0000FFFF) && in lan743x_mac_init()
1572 u32 mac_addr_hi = 0; in lan743x_rfe_update_mac_address() local
1581 mac_addr_hi = ((((u32)(mac_addr[4])) << 0) | in lan743x_rfe_update_mac_address()
1586 mac_addr_hi | RFE_ADDR_FILT_HI_VALID_); in lan743x_rfe_update_mac_address()
/linux-6.6.21/drivers/net/ethernet/micrel/
Dksz884x.c3706 u32 mac_addr_hi; in hw_ena_add_addr() local
3708 mac_addr_hi = 0; in hw_ena_add_addr()
3710 mac_addr_hi <<= 8; in hw_ena_add_addr()
3711 mac_addr_hi |= mac_addr[i]; in hw_ena_add_addr()
3713 mac_addr_hi |= ADD_ADDR_ENABLE; in hw_ena_add_addr()
3722 writel(mac_addr_hi, hw->io + index + KS_ADD_ADDR_0_HI); in hw_ena_add_addr()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_mfw_hsi.h1881 u32 mac_addr_hi; member