Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/mmp/
Dclk-mmp2.c79 void __iomem *apmu_base; in mmp2_clk_init() local
88 apmu_base = ioremap(apmu_phys, SZ_4K); in mmp2_clk_init()
89 if (!apmu_base) { in mmp2_clk_init()
329 apmu_base + APMU_SDH0, 8, 2, 0, &clk_lock); in mmp2_clk_init()
333 CLK_SET_RATE_PARENT, apmu_base + APMU_SDH0, in mmp2_clk_init()
337 clk = mmp_clk_register_apmu("sdh0", "sdh_div", apmu_base + APMU_SDH0, in mmp2_clk_init()
341 clk = mmp_clk_register_apmu("sdh1", "sdh_div", apmu_base + APMU_SDH1, in mmp2_clk_init()
345 clk = mmp_clk_register_apmu("sdh2", "sdh_div", apmu_base + APMU_SDH2, in mmp2_clk_init()
349 clk = mmp_clk_register_apmu("sdh3", "sdh_div", apmu_base + APMU_SDH3, in mmp2_clk_init()
353 clk = mmp_clk_register_apmu("usb", "usb_pll", apmu_base + APMU_USB, in mmp2_clk_init()
[all …]
Dclk-pxa910.c70 void __iomem *apmu_base; in pxa910_clk_init() local
80 apmu_base = ioremap(apmu_phys, SZ_4K); in pxa910_clk_init()
81 if (!apmu_base) { in pxa910_clk_init()
256 apmu_base + APMU_DFC, 0x19b, &clk_lock); in pxa910_clk_init()
262 apmu_base + APMU_SDH0, 6, 1, 0, &clk_lock); in pxa910_clk_init()
266 apmu_base + APMU_SDH0, 0x1b, &clk_lock); in pxa910_clk_init()
272 apmu_base + APMU_SDH1, 6, 1, 0, &clk_lock); in pxa910_clk_init()
276 apmu_base + APMU_SDH1, 0x1b, &clk_lock); in pxa910_clk_init()
280 apmu_base + APMU_USB, 0x9, &clk_lock); in pxa910_clk_init()
284 apmu_base + APMU_USB, 0x12, &clk_lock); in pxa910_clk_init()
[all …]
Dclk-pxa168.c72 void __iomem *apmu_base; in pxa168_clk_init() local
81 apmu_base = ioremap(apmu_phys, SZ_4K); in pxa168_clk_init()
82 if (!apmu_base) { in pxa168_clk_init()
280 clk = mmp_clk_register_apmu("dfc", "pll1_4", apmu_base + APMU_DFC, in pxa168_clk_init()
287 apmu_base + APMU_SDH0, 6, 1, 0, &clk_lock); in pxa168_clk_init()
290 clk = mmp_clk_register_apmu("sdh0", "sdh_mux", apmu_base + APMU_SDH0, in pxa168_clk_init()
297 apmu_base + APMU_SDH1, 6, 1, 0, &clk_lock); in pxa168_clk_init()
300 clk = mmp_clk_register_apmu("sdh1", "sdh1_mux", apmu_base + APMU_SDH1, in pxa168_clk_init()
304 clk = mmp_clk_register_apmu("usb", "usb_pll", apmu_base + APMU_USB, in pxa168_clk_init()
308 clk = mmp_clk_register_apmu("sph", "usb_pll", apmu_base + APMU_USB, in pxa168_clk_init()
[all …]
Dclk-of-mmp2.c92 void __iomem *apmu_base; member
398 sdh_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_SDH0; in mmp2_axi_periph_clk_init()
404 ccic0_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_CCIC0; in mmp2_axi_periph_clk_init()
411 ccic1_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_CCIC1; in mmp2_axi_periph_clk_init()
418 mmp_register_mux_clks(unit, apmu_mux_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
421 mmp_register_div_clks(unit, apmu_div_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
424 mmp_register_gate_clks(unit, apmu_gate_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
428 mmp_register_mux_clks(unit, mmp3_apmu_mux_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
431 mmp_register_div_clks(unit, mmp3_apmu_div_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
434 mmp_register_gate_clks(unit, mmp3_apmu_gate_clks, pxa_unit->apmu_base, in mmp2_axi_periph_clk_init()
[all …]
Dclk-of-pxa910.c50 void __iomem *apmu_base; member
221 mmp_register_mux_clks(unit, apmu_mux_clks, pxa_unit->apmu_base, in pxa910_axi_periph_clk_init()
224 mmp_register_div_clks(unit, apmu_div_clks, pxa_unit->apmu_base, in pxa910_axi_periph_clk_init()
227 mmp_register_gate_clks(unit, apmu_gate_clks, pxa_unit->apmu_base, in pxa910_axi_periph_clk_init()
281 pxa_unit->apmu_base = of_iomap(np, 1); in pxa910_clk_init()
282 if (!pxa_unit->apmu_base) { in pxa910_clk_init()
314 iounmap(pxa_unit->apmu_base); in pxa910_clk_init()
Dclk-of-pxa1928.c28 void __iomem *apmu_base; member
170 mmp_register_mux_clks(unit, apmu_mux_clks, pxa_unit->apmu_base, in pxa1928_axi_periph_clk_init()
173 mmp_register_div_clks(unit, apmu_div_clks, pxa_unit->apmu_base, in pxa1928_axi_periph_clk_init()
176 mmp_register_gate_clks(unit, apmu_gate_clks, pxa_unit->apmu_base, in pxa1928_axi_periph_clk_init()
231 pxa_unit->apmu_base = of_iomap(np, 0); in pxa1928_apmu_clk_init()
232 if (!pxa_unit->apmu_base) { in pxa1928_apmu_clk_init()
Dclk-of-pxa168.c68 void __iomem *apmu_base; member
266 mmp_register_mux_clks(unit, apmu_mux_clks, pxa_unit->apmu_base, in pxa168_axi_periph_clk_init()
269 mmp_register_div_clks(unit, apmu_div_clks, pxa_unit->apmu_base, in pxa168_axi_periph_clk_init()
272 mmp_register_gate_clks(unit, apmu_gate_clks, pxa_unit->apmu_base, in pxa168_axi_periph_clk_init()
312 pxa_unit->apmu_base = of_iomap(np, 1); in pxa168_clk_init()
313 if (!pxa_unit->apmu_base) { in pxa168_clk_init()