Home
last modified time | relevance | path

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

/arch/avr32/mach-at32ap/
Dat32ap700x.c372 unsigned long parent_rate, child_div, actual_rate, div; in cpu_clk_set_rate() local
378 child_div = 1 << (PM_BFEXT(HSBSEL, control) + 1); in cpu_clk_set_rate()
380 child_div = 1; in cpu_clk_set_rate()
382 if (rate > 3 * (parent_rate / 4) || child_div == 1) { in cpu_clk_set_rate()
388 if (div > child_div) in cpu_clk_set_rate()
389 div = child_div; in cpu_clk_set_rate()