Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/clk/
Dclk-lan966x.c190 void __iomem *gate_base) in lan966x_gate_clk_register() argument
199 "lan966x", 0, gate_base, in lan966x_gate_clk_register()
216 void __iomem *gate_base; in lan966x_clk_probe() local
245 gate_base = devm_ioremap_resource(&pdev->dev, res); in lan966x_clk_probe()
246 if (IS_ERR(gate_base)) in lan966x_clk_probe()
247 return PTR_ERR(gate_base); in lan966x_clk_probe()
251 ret = lan966x_gate_clk_register(dev, hw_data, gate_base); in lan966x_clk_probe()
/linux-6.6.21/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()