Home
last modified time | relevance | path

Searched refs:target_rate (Results 1 – 5 of 5) sorted by relevance

/arch/arm/mach-omap2/
Dclkt_dpll.c157 unsigned long target_rate, in _dpll_test_mult() argument
172 if (*new_rate > target_rate) { in _dpll_test_mult()
293 long omap2_dpll_round_rate(struct clk *clk, unsigned long target_rate) in omap2_dpll_round_rate() argument
306 clk->name, target_rate); in omap2_dpll_round_rate()
308 scaled_rt_rp = target_rate / (dd->clk_ref->rate / DPLL_SCALE_FACTOR); in omap2_dpll_round_rate()
334 r = _dpll_test_mult(&m, n, &new_rate, target_rate, in omap2_dpll_round_rate()
344 if (target_rate == new_rate) { in omap2_dpll_round_rate()
347 dd->last_rounded_rate = target_rate; in omap2_dpll_round_rate()
352 if (target_rate != new_rate) { in omap2_dpll_round_rate()
354 target_rate); in omap2_dpll_round_rate()
[all …]
Ddpll44xx.c128 long omap4_dpll_regm4xen_round_rate(struct clk *clk, unsigned long target_rate) in omap4_dpll_regm4xen_round_rate() argument
143 target_rate = target_rate / OMAP4430_REGM4XEN_MULT; in omap4_dpll_regm4xen_round_rate()
145 r = omap2_dpll_round_rate(clk, target_rate); in omap4_dpll_regm4xen_round_rate()
Dclkt2xxx_dpllcore.c72 static long omap2_dpllcore_round_rate(unsigned long target_rate) in omap2_dpllcore_round_rate() argument
88 if (target_rate > high) in omap2_dpllcore_round_rate()
91 return target_rate; in omap2_dpllcore_round_rate()
93 if (target_rate > low) in omap2_dpllcore_round_rate()
Dclock.h57 long omap2_dpll_round_rate(struct clk *clk, unsigned long target_rate);
69 long omap4_dpll_regm4xen_round_rate(struct clk *clk, unsigned long target_rate);
82 u32 omap2_clksel_round_rate_div(struct clk *clk, unsigned long target_rate,
86 long omap2_clksel_round_rate(struct clk *clk, unsigned long target_rate);
Dclkt_clksel.c277 u32 omap2_clksel_round_rate_div(struct clk *clk, unsigned long target_rate, in omap2_clksel_round_rate_div() argument
289 clk->name, target_rate); in omap2_clksel_round_rate_div()
310 if (test_rate <= target_rate) in omap2_clksel_round_rate_div()
316 "rate %ld for clock %s parent %s\n", target_rate, in omap2_clksel_round_rate_div()
418 long omap2_clksel_round_rate(struct clk *clk, unsigned long target_rate) in omap2_clksel_round_rate() argument
422 return omap2_clksel_round_rate_div(clk, target_rate, &new_div); in omap2_clksel_round_rate()