Home
last modified time | relevance | path

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

/linux-2.6.39/arch/avr32/mach-at32ap/
Dclock.c129 unsigned long flags, actual_rate; in clk_round_rate() local
135 actual_rate = clk->set_rate(clk, rate, 0); in clk_round_rate()
138 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-2.6.39/sound/soc/atmel/
Dplaypaq_wm8510.c90 unsigned actual_rate; in playpaq_wm8510_calc_ssc_clock() local
118 actual_rate = (cd.ssc_rate / (cd.cmr_div * 2)) / (2 * (cd.period + 1)); in playpaq_wm8510_calc_ssc_clock()
120 rate, actual_rate); in playpaq_wm8510_calc_ssc_clock()
/linux-2.6.39/arch/arm/mach-ep93xx/
Dclock.c357 unsigned long max_rate, actual_rate, mclk_rate, rate_err = -1; in calc_clk_div() local
388 actual_rate = mclk_rate / (__pdiv * __div); in calc_clk_div()
390 if (!found || abs(actual_rate - rate) < rate_err) { in calc_clk_div()
396 clk->rate = actual_rate; in calc_clk_div()
397 rate_err = abs(actual_rate - rate); in calc_clk_div()