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()
132 long bestrate = -ERANGE; in clk_pll_get_best_div_mul() local198 bestrate = tmprate; in clk_pll_get_best_div_mul()210 if (bestrate < 0) in clk_pll_get_best_div_mul()211 return bestrate; in clk_pll_get_best_div_mul()215 if (bestrate >= characteristics->output[i].min && in clk_pll_get_best_div_mul()216 bestrate <= characteristics->output[i].max) in clk_pll_get_best_div_mul()230 return bestrate; in clk_pll_get_best_div_mul()
300 unsigned long bestrate = 0; in at91rm9200_clk_usb_round_rate() local321 bestrate = tmprate; in at91rm9200_clk_usb_round_rate()330 return bestrate; in at91rm9200_clk_usb_round_rate()