Home
last modified time | relevance | path

Searched refs:actual_rate (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/arch/avr32/mach-at32ap/
Dclock.c130 unsigned long flags, actual_rate; in clk_round_rate() local
136 actual_rate = clk->set_rate(clk, rate, 0); in clk_round_rate()
139 return actual_rate; in clk_round_rate()
Dat32ap700x.c250 unsigned long actual_rate; in pll1_set_rate() local
252 actual_rate = pll_set_rate(clk, rate, &ctrl); in pll1_set_rate()
255 if (actual_rate != rate) in pll1_set_rate()
260 clk->name, rate, actual_rate); in pll1_set_rate()
264 return actual_rate; in pll1_set_rate()
372 unsigned long parent_rate, child_div, actual_rate, div; in cpu_clk_set_rate() local
383 actual_rate = parent_rate; in cpu_clk_set_rate()
392 actual_rate = parent_rate / (1 << (cpusel + 1)); in cpu_clk_set_rate()
396 clk->name, rate, actual_rate); in cpu_clk_set_rate()
401 return actual_rate; in cpu_clk_set_rate()
[all …]
/linux-3.4.99/arch/arm/mach-ep93xx/
Dclock.c358 unsigned long max_rate, actual_rate, mclk_rate, rate_err = -1; in calc_clk_div() local
389 actual_rate = mclk_rate / (__pdiv * __div); in calc_clk_div()
391 if (!found || abs(actual_rate - rate) < rate_err) { in calc_clk_div()
397 clk->rate = actual_rate; in calc_clk_div()
398 rate_err = abs(actual_rate - rate); in calc_clk_div()