Home
last modified time | relevance | path

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

/drivers/clk/at91/
Dclk-pll.c158 unsigned long maxdiv, mindiv, tmpdiv; in clk_pll_get_best_div_mul() local
174 mindiv = (parent_rate * PLL_MUL_MIN) / rate; in clk_pll_get_best_div_mul()
175 if (!mindiv) in clk_pll_get_best_div_mul()
176 mindiv = 1; in clk_pll_get_best_div_mul()
183 if (tmpdiv > mindiv) in clk_pll_get_best_div_mul()
184 mindiv = tmpdiv; in clk_pll_get_best_div_mul()
200 for (tmpdiv = mindiv; tmpdiv <= maxdiv; tmpdiv++) { in clk_pll_get_best_div_mul()
/drivers/clk/
Dclk-divider.c47 unsigned int mindiv = UINT_MAX; in _get_table_mindiv() local
51 if (clkt->div < mindiv) in _get_table_mindiv()
52 mindiv = clkt->div; in _get_table_mindiv()
53 return mindiv; in _get_table_mindiv()
/drivers/clk/bcm/
Dclk-bcm2835.c874 u32 div, mindiv, maxdiv; in bcm2835_clock_choose_div() local
887 mindiv = 2 << CM_DIV_FRAC_BITS; in bcm2835_clock_choose_div()
892 mindiv = 1 << CM_DIV_FRAC_BITS; in bcm2835_clock_choose_div()
899 div = max_t(u32, div, mindiv); in bcm2835_clock_choose_div()