Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/hisilicon/
Dhisi_femac.c122 void __iomem *glb_base; member
142 val = readl(priv->glb_base + GLB_IRQ_ENA); in hisi_femac_irq_enable()
143 writel(val | irqs, priv->glb_base + GLB_IRQ_ENA); in hisi_femac_irq_enable()
150 val = readl(priv->glb_base + GLB_IRQ_ENA); in hisi_femac_irq_disable()
151 writel(val & (~irqs), priv->glb_base + GLB_IRQ_ENA); in hisi_femac_irq_disable()
266 while (readl(priv->glb_base + GLB_IRQ_RAW) & IRQ_INT_RX_RDY) { in hisi_femac_rx()
272 writel(IRQ_INT_RX_RDY, priv->glb_base + GLB_IRQ_RAW); in hisi_femac_rx()
327 ints = readl(priv->glb_base + GLB_IRQ_RAW); in hisi_femac_poll()
329 priv->glb_base + GLB_IRQ_RAW); in hisi_femac_poll()
347 ints = readl(priv->glb_base + GLB_IRQ_RAW); in hisi_femac_interrupt()
[all …]
/Linux-v4.19/drivers/phy/mediatek/
Dphy-mtk-xsphy.c109 void __iomem *glb_base; /* only shared u3 sif */ member
347 tmp = readl(xsphy->glb_base + SSPXTP_PHYA_GLB_00); in u3_phy_props_set()
350 writel(tmp, xsphy->glb_base + SSPXTP_PHYA_GLB_00); in u3_phy_props_set()
519 xsphy->glb_base = devm_ioremap_resource(dev, glb_res); in mtk_xsphy_probe()
520 if (IS_ERR(xsphy->glb_base)) { in mtk_xsphy_probe()
522 return PTR_ERR(xsphy->glb_base); in mtk_xsphy_probe()
/Linux-v4.19/drivers/dma/
Dsprd-dma.c176 void __iomem *glb_base; member
254 writel(schan->chn_num + 1, sdev->glb_base + uid_offset); in sprd_dma_set_uid()
267 writel(0, sdev->glb_base + uid_offset); in sprd_dma_unset_uid()
446 u32 irq_status = readl(sdev->glb_base + SPRD_DMA_GLB_INT_MSK_STS); in dma_irq_handle()
901 sdev->glb_base = devm_ioremap_resource(&pdev->dev, res); in sprd_dma_probe()
902 if (IS_ERR(sdev->glb_base)) in sprd_dma_probe()
903 return PTR_ERR(sdev->glb_base); in sprd_dma_probe()
927 dma_chn->chn_base = sdev->glb_base + SPRD_DMA_CHN_REG_OFFSET + in sprd_dma_probe()