Searched refs:tmprate (Results 1 – 3 of 3) sorted by relevance
176 unsigned long tmprate; in clk_pll_get_best_div_mul() local184 tmprate = (parent_rate / tmpdiv) * tmpmul; in clk_pll_get_best_div_mul()185 if (tmprate > rate) in clk_pll_get_best_div_mul()186 remainder = tmprate - rate; in clk_pll_get_best_div_mul()188 remainder = rate - tmprate; in clk_pll_get_best_div_mul()199 bestrate = tmprate; in clk_pll_get_best_div_mul()
329 unsigned long tmprate; in at91rm9200_clk_usb_round_rate() local341 tmprate = DIV_ROUND_CLOSEST(tmp_parent_rate, usb->divisors[i]); in at91rm9200_clk_usb_round_rate()342 if (tmprate < rate) in at91rm9200_clk_usb_round_rate()343 tmpdiff = rate - tmprate; in at91rm9200_clk_usb_round_rate()345 tmpdiff = tmprate - rate; in at91rm9200_clk_usb_round_rate()348 bestrate = tmprate; in at91rm9200_clk_usb_round_rate()
196 unsigned long tmprate, remainder; in sam9x60_frac_pll_compute_mul_frac() local209 tmprate = mult_frac(parent_rate, nmul, 1); in sam9x60_frac_pll_compute_mul_frac()210 remainder = rate - tmprate; in sam9x60_frac_pll_compute_mul_frac()216 tmprate += DIV_ROUND_CLOSEST_ULL((u64)nfrac * parent_rate, in sam9x60_frac_pll_compute_mul_frac()221 if (tmprate < core->characteristics->core_output[0].min || in sam9x60_frac_pll_compute_mul_frac()222 tmprate > core->characteristics->core_output[0].max) in sam9x60_frac_pll_compute_mul_frac()230 return tmprate; in sam9x60_frac_pll_compute_mul_frac()
Completed in 8 milliseconds