Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/at91/
Dclk-smd.c43 unsigned long bestrate; in at91sam9x5_clk_smd_determine_rate() local
57 bestrate = req->best_parent_rate / div; in at91sam9x5_clk_smd_determine_rate()
59 if (bestrate - req->rate > req->rate - tmp) in at91sam9x5_clk_smd_determine_rate()
60 bestrate = tmp; in at91sam9x5_clk_smd_determine_rate()
62 req->rate = bestrate; in at91sam9x5_clk_smd_determine_rate()
Dclk-pll.c133 long bestrate = -ERANGE; in clk_pll_get_best_div_mul() local
199 bestrate = tmprate; in clk_pll_get_best_div_mul()
211 if (bestrate < 0) in clk_pll_get_best_div_mul()
212 return bestrate; in clk_pll_get_best_div_mul()
216 if (bestrate >= characteristics->output[i].min && in clk_pll_get_best_div_mul()
217 bestrate <= characteristics->output[i].max) in clk_pll_get_best_div_mul()
231 return bestrate; in clk_pll_get_best_div_mul()
Dclk-usb.c327 unsigned long bestrate = 0; in at91rm9200_clk_usb_round_rate() local
348 bestrate = tmprate; in at91rm9200_clk_usb_round_rate()
357 return bestrate; in at91rm9200_clk_usb_round_rate()