Lines Matching refs:clkp
228 struct clk *clkp; in propagate_rate() local
230 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()
231 if (clkp->ops && clkp->ops->recalc) in propagate_rate()
232 clkp->rate = clkp->ops->recalc(clkp); in propagate_rate()
234 propagate_rate(clkp); in propagate_rate()
319 struct clk *clkp; in recalculate_root_clocks() local
321 list_for_each_entry(clkp, &root_clks, sibling) { in recalculate_root_clocks()
322 if (clkp->ops && clkp->ops->recalc) in recalculate_root_clocks()
323 clkp->rate = clkp->ops->recalc(clkp); in recalculate_root_clocks()
324 propagate_rate(clkp); in recalculate_root_clocks()
346 struct clk *clkp; in clk_establish_mapping() local
360 clkp = lookup_root_clock(clk); in clk_establish_mapping()
361 mapping = clkp->mapping; in clk_establish_mapping()
464 struct clk *clkp; in clk_enable_init_clocks() local
466 list_for_each_entry(clkp, &clock_list, node) in clk_enable_init_clocks()
467 if (clkp->flags & CLK_ENABLE_ON_INIT) in clk_enable_init_clocks()
468 clk_enable(clkp); in clk_enable_init_clocks()
574 struct clk *clkp; in clks_core_resume() local
576 list_for_each_entry(clkp, &clock_list, node) { in clks_core_resume()
577 if (likely(clkp->usecount && clkp->ops)) { in clks_core_resume()
578 unsigned long rate = clkp->rate; in clks_core_resume()
580 if (likely(clkp->ops->set_parent)) in clks_core_resume()
581 clkp->ops->set_parent(clkp, in clks_core_resume()
582 clkp->parent); in clks_core_resume()
583 if (likely(clkp->ops->set_rate)) in clks_core_resume()
584 clkp->ops->set_rate(clkp, rate); in clks_core_resume()
585 else if (likely(clkp->ops->recalc)) in clks_core_resume()
586 clkp->rate = clkp->ops->recalc(clkp); in clks_core_resume()