Home
last modified time | relevance | path

Searched refs:clkp (Results 1 – 6 of 6) sorted by relevance

/arch/mips/loongson/lemote-2f/
Dclock.c58 struct clk *clkp; in propagate_rate() local
60 list_for_each_entry(clkp, &clock_list, node) { in propagate_rate()
61 if (likely(clkp->parent != clk)) in propagate_rate()
63 if (likely(clkp->ops && clkp->ops->recalc)) in propagate_rate()
64 clkp->ops->recalc(clkp); in propagate_rate()
65 if (unlikely(clkp->flags & CLK_RATE_PROPAGATES)) in propagate_rate()
66 propagate_rate(clkp); in propagate_rate()
/arch/sh/kernel/cpu/sh4a/
Dclock-sh7763.c108 struct clk *clkp = sh7763_onchip_clocks[i]; in arch_clk_init() local
110 clkp->parent = clk; in arch_clk_init()
111 ret |= clk_register(clkp); in arch_clk_init()
Dclock-sh7780.c114 struct clk *clkp = sh7780_onchip_clocks[i]; in arch_clk_init() local
116 clkp->parent = clk; in arch_clk_init()
117 ret |= clk_register(clkp); in arch_clk_init()
/arch/arm/mach-omap1/
Dclock.c774 struct clk *clkp; in propagate_rate() local
776 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()
777 if (clkp->recalc) in propagate_rate()
778 clkp->rate = clkp->recalc(clkp); in propagate_rate()
779 propagate_rate(clkp); in propagate_rate()
794 struct clk *clkp; in recalculate_root_clocks() local
796 list_for_each_entry(clkp, &root_clks, sibling) { in recalculate_root_clocks()
797 if (clkp->recalc) in recalculate_root_clocks()
798 clkp->rate = clkp->recalc(clkp); in recalculate_root_clocks()
799 propagate_rate(clkp); in recalculate_root_clocks()
[all …]
/arch/sh/kernel/cpu/sh4/
Dclock-sh4-202.c166 struct clk *clkp = sh4202_onchip_clocks[i]; in arch_clk_init() local
168 clkp->parent = clk; in arch_clk_init()
169 ret |= clk_register(clkp); in arch_clk_init()
/arch/blackfin/mach-bf609/
Dclock.c390 struct clk *clkp; in clk_init() local
392 clkp = bf609_clks[i].clk; in clk_init()
393 if (clkp->flags & NEEDS_INITIALIZATION) in clk_init()
394 clk_get_rate(clkp); in clk_init()