Home
last modified time | relevance | path

Searched refs:apmu_base (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/drivers/clk/mmp/
Dclk-mmp2.c82 void __iomem *apmu_base; in mmp2_clk_init() local
91 apmu_base = ioremap(apmu_phys, SZ_4K); in mmp2_clk_init()
92 if (!apmu_base) { in mmp2_clk_init()
332 apmu_base + APMU_SDH0, 8, 2, 0, &clk_lock); in mmp2_clk_init()
336 CLK_SET_RATE_PARENT, apmu_base + APMU_SDH0, in mmp2_clk_init()
340 clk = mmp_clk_register_apmu("sdh0", "sdh_div", apmu_base + APMU_SDH0, in mmp2_clk_init()
344 clk = mmp_clk_register_apmu("sdh1", "sdh_div", apmu_base + APMU_SDH1, in mmp2_clk_init()
348 clk = mmp_clk_register_apmu("sdh2", "sdh_div", apmu_base + APMU_SDH2, in mmp2_clk_init()
352 clk = mmp_clk_register_apmu("sdh3", "sdh_div", apmu_base + APMU_SDH3, in mmp2_clk_init()
356 clk = mmp_clk_register_apmu("usb", "usb_pll", apmu_base + APMU_USB, in mmp2_clk_init()
[all …]
Dclk-pxa910.c73 void __iomem *apmu_base; in pxa910_clk_init() local
83 apmu_base = ioremap(apmu_phys, SZ_4K); in pxa910_clk_init()
84 if (!apmu_base) { in pxa910_clk_init()
259 apmu_base + APMU_DFC, 0x19b, &clk_lock); in pxa910_clk_init()
265 apmu_base + APMU_SDH0, 6, 1, 0, &clk_lock); in pxa910_clk_init()
269 apmu_base + APMU_SDH0, 0x1b, &clk_lock); in pxa910_clk_init()
275 apmu_base + APMU_SDH1, 6, 1, 0, &clk_lock); in pxa910_clk_init()
279 apmu_base + APMU_SDH1, 0x1b, &clk_lock); in pxa910_clk_init()
283 apmu_base + APMU_USB, 0x9, &clk_lock); in pxa910_clk_init()
287 apmu_base + APMU_USB, 0x12, &clk_lock); in pxa910_clk_init()
[all …]
Dclk-pxa168.c75 void __iomem *apmu_base; in pxa168_clk_init() local
84 apmu_base = ioremap(apmu_phys, SZ_4K); in pxa168_clk_init()
85 if (!apmu_base) { in pxa168_clk_init()
283 clk = mmp_clk_register_apmu("dfc", "pll1_4", apmu_base + APMU_DFC, in pxa168_clk_init()
290 apmu_base + APMU_SDH0, 6, 1, 0, &clk_lock); in pxa168_clk_init()
293 clk = mmp_clk_register_apmu("sdh0", "sdh_mux", apmu_base + APMU_SDH0, in pxa168_clk_init()
300 apmu_base + APMU_SDH1, 6, 1, 0, &clk_lock); in pxa168_clk_init()
303 clk = mmp_clk_register_apmu("sdh1", "sdh1_mux", apmu_base + APMU_SDH1, in pxa168_clk_init()
307 clk = mmp_clk_register_apmu("usb", "usb_pll", apmu_base + APMU_USB, in pxa168_clk_init()
311 clk = mmp_clk_register_apmu("sph", "usb_pll", apmu_base + APMU_USB, in pxa168_clk_init()
[all …]
Dclk-of-mmp2.c95 void __iomem *apmu_base; member
401 sdh_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_SDH0; in mmp2_axi_periph_clk_init()
407 ccic0_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_CCIC0; in mmp2_axi_periph_clk_init()
414 ccic1_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_CCIC1; in mmp2_axi_periph_clk_init()
421 mmp_register_mux_clks(unit, apmu_mux_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
424 mmp_register_div_clks(unit, apmu_div_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
427 mmp_register_gate_clks(unit, apmu_gate_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
431 mmp_register_mux_clks(unit, mmp3_apmu_mux_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
434 mmp_register_div_clks(unit, mmp3_apmu_div_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
437 mmp_register_gate_clks(unit, mmp3_apmu_gate_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
[all …]
Dclk-of-pxa910.c53 void __iomem *apmu_base; member
224 mmp_register_mux_clks(unit, apmu_mux_clks, pxa_unit->apmu_base, in pxa910_axi_periph_clk_init()
227 mmp_register_div_clks(unit, apmu_div_clks, pxa_unit->apmu_base, in pxa910_axi_periph_clk_init()
230 mmp_register_gate_clks(unit, apmu_gate_clks, pxa_unit->apmu_base, in pxa910_axi_periph_clk_init()
284 pxa_unit->apmu_base = of_iomap(np, 1); in pxa910_clk_init()
285 if (!pxa_unit->apmu_base) { in pxa910_clk_init()
317 iounmap(pxa_unit->apmu_base); in pxa910_clk_init()
Dclk-of-pxa1928.c31 void __iomem *apmu_base; member
173 mmp_register_mux_clks(unit, apmu_mux_clks, pxa_unit->apmu_base, in pxa1928_axi_periph_clk_init()
176 mmp_register_div_clks(unit, apmu_div_clks, pxa_unit->apmu_base, in pxa1928_axi_periph_clk_init()
179 mmp_register_gate_clks(unit, apmu_gate_clks, pxa_unit->apmu_base, in pxa1928_axi_periph_clk_init()
234 pxa_unit->apmu_base = of_iomap(np, 0); in pxa1928_apmu_clk_init()
235 if (!pxa_unit->apmu_base) { in pxa1928_apmu_clk_init()
Dclk-of-pxa168.c54 void __iomem *apmu_base; member
218 mmp_register_mux_clks(unit, apmu_mux_clks, pxa_unit->apmu_base, in pxa168_axi_periph_clk_init()
221 mmp_register_div_clks(unit, apmu_div_clks, pxa_unit->apmu_base, in pxa168_axi_periph_clk_init()
224 mmp_register_gate_clks(unit, apmu_gate_clks, pxa_unit->apmu_base, in pxa168_axi_periph_clk_init()
264 pxa_unit->apmu_base = of_iomap(np, 1); in pxa168_clk_init()
265 if (!pxa_unit->apmu_base) { in pxa168_clk_init()