Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcm63xx_enet.c31 static void __iomem *bcm_enet_shared_base[3]; variable
87 return bcm_readl(bcm_enet_shared_base[0] + off); in enet_dma_readl()
93 bcm_writel(val, bcm_enet_shared_base[0] + off); in enet_dma_writel()
98 return bcm_readl(bcm_enet_shared_base[1] + in enet_dmac_readl()
105 bcm_writel(val, bcm_enet_shared_base[1] + in enet_dmac_writel()
111 return bcm_readl(bcm_enet_shared_base[2] + off + chan * priv->dma_chan_width); in enet_dmas_readl()
117 bcm_writel(val, bcm_enet_shared_base[2] + off + chan * priv->dma_chan_width); in enet_dmas_writel()
1723 if (!bcm_enet_shared_base[0]) in bcm_enet_probe()
2653 if (!bcm_enet_shared_base[0]) in bcm_enetsw_probe()
2772 memset(bcm_enet_shared_base, 0, sizeof(bcm_enet_shared_base)); in bcm_enet_shared_probe()
[all …]