Searched refs:bestrate (Results 1 – 3 of 3) sorted by relevance
43 unsigned long bestrate; in at91sam9x5_clk_smd_determine_rate() local57 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()
133 long bestrate = -ERANGE; in clk_pll_get_best_div_mul() local199 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()
327 unsigned long bestrate = 0; in at91rm9200_clk_usb_round_rate() local348 bestrate = tmprate; in at91rm9200_clk_usb_round_rate()357 return bestrate; in at91rm9200_clk_usb_round_rate()