Home
last modified time | relevance | path

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

/optee_os/core/drivers/clk/sam/
A Dat91_pll.c125 unsigned long tmpdiv = 1; in clk_pll_get_best_div_mul() local
146 tmpdiv = DIV_ROUND_UP(parent_rate, charac->input.max); in clk_pll_get_best_div_mul()
147 if (tmpdiv > PLL_DIV_MAX) in clk_pll_get_best_div_mul()
150 if (tmpdiv > mindiv) in clk_pll_get_best_div_mul()
151 mindiv = tmpdiv; in clk_pll_get_best_div_mul()
167 for (tmpdiv = mindiv; tmpdiv <= maxdiv; tmpdiv++) { in clk_pll_get_best_div_mul()
176 tmpmul = UDIV_ROUND_NEAREST(rate, parent_rate / tmpdiv); in clk_pll_get_best_div_mul()
177 tmprate = (parent_rate / tmpdiv) * tmpmul; in clk_pll_get_best_div_mul()
190 bestdiv = tmpdiv; in clk_pll_get_best_div_mul()

Completed in 2 milliseconds