Searched refs:bestrate (Results 1 – 3 of 3) sorted by relevance
43 unsigned long bestrate; in at91sam9x5_clk_smd_round_rate() local53 bestrate = *parent_rate / div; in at91sam9x5_clk_smd_round_rate()55 if (bestrate - rate > rate - tmp) in at91sam9x5_clk_smd_round_rate()56 bestrate = tmp; in at91sam9x5_clk_smd_round_rate()58 return bestrate; in at91sam9x5_clk_smd_round_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()