Home
last modified time | relevance | path

Searched refs:pxa_unit (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/clk/mmp/
H A Dclk-of-pxa1928.c211 pxa_unit = kzalloc(sizeof(*pxa_unit), GFP_KERNEL); in pxa1928_mpmu_clk_init()
212 if (!pxa_unit) in pxa1928_mpmu_clk_init()
216 if (!pxa_unit->mpmu_base) { in pxa1928_mpmu_clk_init()
218 kfree(pxa_unit); in pxa1928_mpmu_clk_init()
222 pxa1928_pll_init(pxa_unit); in pxa1928_mpmu_clk_init()
230 pxa_unit = kzalloc(sizeof(*pxa_unit), GFP_KERNEL); in pxa1928_apmu_clk_init()
231 if (!pxa_unit) in pxa1928_apmu_clk_init()
237 kfree(pxa_unit); in pxa1928_apmu_clk_init()
251 pxa_unit = kzalloc(sizeof(*pxa_unit), GFP_KERNEL); in pxa1928_apbc_clk_init()
252 if (!pxa_unit) in pxa1928_apbc_clk_init()
[all …]
H A Dclk-of-mmp2.c189 pxa_unit->mpmu_base, in mmp2_main_clk_init()
193 pxa_unit->mpmu_base, in mmp2_main_clk_init()
511 pxa_unit->pd_data.domains = pxa_unit->pm_domains; in mmp2_pm_domain_init()
519 pxa_unit = kzalloc(sizeof(*pxa_unit), GFP_KERNEL); in mmp2_clk_init()
520 if (!pxa_unit) in mmp2_clk_init()
529 if (!pxa_unit->mpmu_base) { in mmp2_clk_init()
535 if (!pxa_unit->apmu_base) { in mmp2_clk_init()
541 if (!pxa_unit->apbc_base) { in mmp2_clk_init()
550 mmp2_main_clk_init(pxa_unit); in mmp2_clk_init()
561 iounmap(pxa_unit->apmu_base); in mmp2_clk_init()
[all …]
H A Dclk-of-pxa910.c273 pxa_unit = kzalloc(sizeof(*pxa_unit), GFP_KERNEL); in pxa910_clk_init()
274 if (!pxa_unit) in pxa910_clk_init()
278 if (!pxa_unit->mpmu_base) { in pxa910_clk_init()
284 if (!pxa_unit->apmu_base) { in pxa910_clk_init()
290 if (!pxa_unit->apbc_base) { in pxa910_clk_init()
296 if (!pxa_unit->apbcp_base) { in pxa910_clk_init()
303 pxa910_pll_init(pxa_unit); in pxa910_clk_init()
314 iounmap(pxa_unit->apbc_base); in pxa910_clk_init()
316 iounmap(pxa_unit->apmu_base); in pxa910_clk_init()
318 iounmap(pxa_unit->mpmu_base); in pxa910_clk_init()
[all …]
H A Dclk-of-pxa168.c279 struct pxa168_clk_unit *pxa_unit) in pxa168_clk_reset_init() argument
302 struct pxa168_clk_unit *pxa_unit; in pxa168_clk_init() local
304 pxa_unit = kzalloc(sizeof(*pxa_unit), GFP_KERNEL); in pxa168_clk_init()
305 if (!pxa_unit) in pxa168_clk_init()
309 if (!pxa_unit->mpmu_base) { in pxa168_clk_init()
311 kfree(pxa_unit); in pxa168_clk_init()
316 if (!pxa_unit->apmu_base) { in pxa168_clk_init()
318 kfree(pxa_unit); in pxa168_clk_init()
323 if (!pxa_unit->apbc_base) { in pxa168_clk_init()
325 kfree(pxa_unit); in pxa168_clk_init()
[all …]