Home
last modified time | relevance | path

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

/drivers/clk/
Dclk-divider.c37 unsigned int maxdiv = 0; in _get_table_maxdiv() local
41 if (clkt->div > maxdiv) in _get_table_maxdiv()
42 maxdiv = clkt->div; in _get_table_maxdiv()
43 return maxdiv; in _get_table_maxdiv()
258 unsigned long parent_rate, best = 0, now, maxdiv; in clk_divider_bestdiv() local
272 maxdiv = _get_maxdiv(divider); in clk_divider_bestdiv()
278 bestdiv = bestdiv > maxdiv ? maxdiv : bestdiv; in clk_divider_bestdiv()
286 maxdiv = min(ULONG_MAX / rate, maxdiv); in clk_divider_bestdiv()
288 for (i = 1; i <= maxdiv; i = _next_div(divider, i)) { in clk_divider_bestdiv()
/drivers/clk/ti/
Ddivider.c34 unsigned int maxdiv = 0; in _get_table_maxdiv() local
38 if (clkt->div > maxdiv) in _get_table_maxdiv()
39 maxdiv = clkt->div; in _get_table_maxdiv()
40 return maxdiv; in _get_table_maxdiv()
149 unsigned long parent_rate, best = 0, now, maxdiv; in ti_clk_divider_bestdiv() local
155 maxdiv = _get_maxdiv(divider); in ti_clk_divider_bestdiv()
161 bestdiv = bestdiv > maxdiv ? maxdiv : bestdiv; in ti_clk_divider_bestdiv()
169 maxdiv = min(ULONG_MAX / rate, maxdiv); in ti_clk_divider_bestdiv()
171 for (i = 1; i <= maxdiv; i++) { in ti_clk_divider_bestdiv()
/drivers/clk/at91/
Dclk-pll.c169 unsigned long maxdiv, mindiv, tmpdiv; in clk_pll_get_best_div_mul() local
202 maxdiv = DIV_ROUND_UP(parent_rate * PLL_MUL_MAX(layout), rate); in clk_pll_get_best_div_mul()
203 if (maxdiv > PLL_DIV_MAX) in clk_pll_get_best_div_mul()
204 maxdiv = PLL_DIV_MAX; in clk_pll_get_best_div_mul()
211 for (tmpdiv = mindiv; tmpdiv <= maxdiv; tmpdiv++) { in clk_pll_get_best_div_mul()