Searched refs:actual_rate (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/arch/avr32/mach-at32ap/ |
D | clock.c | 129 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()
|
D | at32ap700x.c | 250 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/ |
D | playpaq_wm8510.c | 90 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/ |
D | clock.c | 357 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()
|