Lines Matching refs:base
43 void __iomem *base; member
54 CS_UNLOCK(drvdata->base); in funnel_enable_hw()
56 functl = readl_relaxed(drvdata->base + FUNNEL_FUNCTL); in funnel_enable_hw()
60 writel_relaxed(functl, drvdata->base + FUNNEL_FUNCTL); in funnel_enable_hw()
61 writel_relaxed(drvdata->priority, drvdata->base + FUNNEL_PRICTL); in funnel_enable_hw()
63 CS_LOCK(drvdata->base); in funnel_enable_hw()
86 CS_UNLOCK(drvdata->base); in funnel_disable_hw()
88 functl = readl_relaxed(drvdata->base + FUNNEL_FUNCTL); in funnel_disable_hw()
90 writel_relaxed(functl, drvdata->base + FUNNEL_FUNCTL); in funnel_disable_hw()
92 CS_LOCK(drvdata->base); in funnel_disable_hw()
146 CS_UNLOCK(drvdata->base); in get_funnel_ctrl_hw()
147 functl = readl_relaxed(drvdata->base + FUNNEL_FUNCTL); in get_funnel_ctrl_hw()
148 CS_LOCK(drvdata->base); in get_funnel_ctrl_hw()
180 void __iomem *base; in funnel_probe() local
203 base = devm_ioremap_resource(dev, res); in funnel_probe()
204 if (IS_ERR(base)) in funnel_probe()
205 return PTR_ERR(base); in funnel_probe()
207 drvdata->base = base; in funnel_probe()