Lines Matching refs:p
172 struct pistachio_clk_provider *p; in pistachio_clk_init() local
175 p = pistachio_clk_alloc_provider(np, CLK_NR_CLKS); in pistachio_clk_init()
176 if (!p) in pistachio_clk_init()
179 pistachio_clk_register_pll(p, pistachio_plls, in pistachio_clk_init()
181 pistachio_clk_register_mux(p, pistachio_muxes, in pistachio_clk_init()
183 pistachio_clk_register_div(p, pistachio_divs, in pistachio_clk_init()
185 pistachio_clk_register_fixed_factor(p, pistachio_ffs, in pistachio_clk_init()
187 pistachio_clk_register_gate(p, pistachio_gates, in pistachio_clk_init()
193 p->base + 0x200, 18, 0x1f, 0, in pistachio_clk_init()
195 p->clk_data.clks[CLK_DEBUG_MUX] = debug_clk; in pistachio_clk_init()
197 pistachio_clk_register_provider(p); in pistachio_clk_init()
199 pistachio_clk_force_enable(p, pistachio_critical_clks_core, in pistachio_clk_init()
255 struct pistachio_clk_provider *p; in pistachio_clk_periph_init() local
257 p = pistachio_clk_alloc_provider(np, PERIPH_CLK_NR_CLKS); in pistachio_clk_periph_init()
258 if (!p) in pistachio_clk_periph_init()
261 pistachio_clk_register_div(p, pistachio_periph_divs, in pistachio_clk_periph_init()
263 pistachio_clk_register_gate(p, pistachio_periph_gates, in pistachio_clk_periph_init()
266 pistachio_clk_register_provider(p); in pistachio_clk_periph_init()
268 pistachio_clk_force_enable(p, pistachio_critical_clks_sys, in pistachio_clk_periph_init()
302 struct pistachio_clk_provider *p; in pistachio_cr_periph_init() local
304 p = pistachio_clk_alloc_provider(np, SYS_CLK_NR_CLKS); in pistachio_cr_periph_init()
305 if (!p) in pistachio_cr_periph_init()
308 pistachio_clk_register_gate(p, pistachio_sys_gates, in pistachio_cr_periph_init()
311 pistachio_clk_register_provider(p); in pistachio_cr_periph_init()
323 struct pistachio_clk_provider *p; in pistachio_cr_top_init() local
325 p = pistachio_clk_alloc_provider(np, EXT_CLK_NR_CLKS); in pistachio_cr_top_init()
326 if (!p) in pistachio_cr_top_init()
329 pistachio_clk_register_gate(p, pistachio_ext_gates, in pistachio_cr_top_init()
332 pistachio_clk_register_provider(p); in pistachio_cr_top_init()