Home
last modified time | relevance | path

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

/Linux-v4.19/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.c72 void __iomem *apmu_base; in pxa910_clk_init() local
82 apmu_base = ioremap(apmu_phys, SZ_4K); in pxa910_clk_init()
83 if (!apmu_base) { in pxa910_clk_init()
258 apmu_base + APMU_DFC, 0x19b, &clk_lock); in pxa910_clk_init()
264 apmu_base + APMU_SDH0, 6, 1, 0, &clk_lock); in pxa910_clk_init()
268 apmu_base + APMU_SDH0, 0x1b, &clk_lock); in pxa910_clk_init()
274 apmu_base + APMU_SDH1, 6, 1, 0, &clk_lock); in pxa910_clk_init()
278 apmu_base + APMU_SDH1, 0x1b, &clk_lock); in pxa910_clk_init()
282 apmu_base + APMU_USB, 0x9, &clk_lock); in pxa910_clk_init()
286 apmu_base + APMU_USB, 0x12, &clk_lock); in pxa910_clk_init()
[all …]
Dclk-pxa168.c74 void __iomem *apmu_base; in pxa168_clk_init() local
83 apmu_base = ioremap(apmu_phys, SZ_4K); in pxa168_clk_init()
84 if (!apmu_base) { in pxa168_clk_init()
282 clk = mmp_clk_register_apmu("dfc", "pll1_4", apmu_base + APMU_DFC, in pxa168_clk_init()
289 apmu_base + APMU_SDH0, 6, 1, 0, &clk_lock); in pxa168_clk_init()
292 clk = mmp_clk_register_apmu("sdh0", "sdh_mux", apmu_base + APMU_SDH0, in pxa168_clk_init()
299 apmu_base + APMU_SDH1, 6, 1, 0, &clk_lock); in pxa168_clk_init()
302 clk = mmp_clk_register_apmu("sdh1", "sdh1_mux", apmu_base + APMU_SDH1, in pxa168_clk_init()
306 clk = mmp_clk_register_apmu("usb", "usb_pll", apmu_base + APMU_USB, in pxa168_clk_init()
310 clk = mmp_clk_register_apmu("sph", "usb_pll", apmu_base + APMU_USB, in pxa168_clk_init()
[all …]
Dclk-of-mmp2.c61 void __iomem *apmu_base; member
249 sdh_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_SDH0; in mmp2_axi_periph_clk_init()
255 ccic0_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_CCIC0; in mmp2_axi_periph_clk_init()
262 ccic1_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_CCIC1; in mmp2_axi_periph_clk_init()
269 mmp_register_mux_clks(unit, apmu_mux_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
272 mmp_register_div_clks(unit, apmu_div_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
275 mmp_register_gate_clks(unit, apmu_gate_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
315 pxa_unit->apmu_base = of_iomap(np, 1); in mmp2_clk_init()
316 if (!pxa_unit->apmu_base) { in mmp2_clk_init()
340 iounmap(pxa_unit->apmu_base); in mmp2_clk_init()
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
174 mmp_register_mux_clks(unit, apmu_mux_clks, pxa_unit->apmu_base, in pxa1928_axi_periph_clk_init()
177 mmp_register_div_clks(unit, apmu_div_clks, pxa_unit->apmu_base, in pxa1928_axi_periph_clk_init()
180 mmp_register_gate_clks(unit, apmu_gate_clks, pxa_unit->apmu_base, in pxa1928_axi_periph_clk_init()
235 pxa_unit->apmu_base = of_iomap(np, 0); in pxa1928_apmu_clk_init()
236 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()