Searched refs:gate_base (Results 1 – 2 of 2) sorted by relevance
190 void __iomem *gate_base) in lan966x_gate_clk_register() argument199 "lan966x", 0, gate_base, in lan966x_gate_clk_register()216 void __iomem *gate_base; in lan966x_clk_probe() local245 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()
28 void __iomem *gate_base; member46 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()