Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/bcm/
Dclk-iproc-asiu.c28 void __iomem *gate_base; member
46 val = readl(asiu->gate_base + clk->gate.offset); in iproc_asiu_clk_enable()
48 writel(val, asiu->gate_base + clk->gate.offset); in iproc_asiu_clk_enable()
63 val = readl(asiu->gate_base + clk->gate.offset); in iproc_asiu_clk_disable()
65 writel(val, asiu->gate_base + clk->gate.offset); in iproc_asiu_clk_disable()
204 asiu->gate_base = of_iomap(node, 1); in iproc_asiu_setup()
205 if (WARN_ON(!asiu->gate_base)) in iproc_asiu_setup()
248 iounmap(asiu->gate_base); in iproc_asiu_setup()
/linux-6.1.9/drivers/clk/
Dclk-lan966x.c207 void __iomem *gate_base) in lan966x_gate_clk_register() argument
216 "lan966x", 0, gate_base, in lan966x_gate_clk_register()
233 void __iomem *gate_base; in lan966x_clk_probe() local
262 gate_base = devm_ioremap_resource(&pdev->dev, res); in lan966x_clk_probe()
263 if (IS_ERR(gate_base)) in lan966x_clk_probe()
264 return PTR_ERR(gate_base); in lan966x_clk_probe()
268 ret = lan966x_gate_clk_register(dev, hw_data, gate_base); in lan966x_clk_probe()