Searched refs:bestrate (Results 1 – 3 of 3) sorted by relevance
50 unsigned long bestrate; in at91sam9x5_clk_smd_round_rate() local60 bestrate = *parent_rate / div; in at91sam9x5_clk_smd_round_rate()62 if (bestrate - rate > rate - tmp) in at91sam9x5_clk_smd_round_rate()63 bestrate = tmp; in at91sam9x5_clk_smd_round_rate()65 return bestrate; in at91sam9x5_clk_smd_round_rate()
170 long bestrate = -ERANGE; in clk_pll_get_best_div_mul() local236 bestrate = tmprate; in clk_pll_get_best_div_mul()248 if (bestrate < 0) in clk_pll_get_best_div_mul()249 return bestrate; in clk_pll_get_best_div_mul()253 if (bestrate >= characteristics->output[i].min && in clk_pll_get_best_div_mul()254 bestrate <= characteristics->output[i].max) in clk_pll_get_best_div_mul()268 return bestrate; in clk_pll_get_best_div_mul()
275 unsigned long bestrate = 0; in at91rm9200_clk_usb_round_rate() local296 bestrate = tmprate; in at91rm9200_clk_usb_round_rate()305 return bestrate; in at91rm9200_clk_usb_round_rate()