Searched refs:tmprate (Results 1 – 2 of 2) sorted by relevance
169 unsigned long tmprate = 0; in clk_pll_get_best_div_mul() local177 tmprate = (parent_rate / tmpdiv) * tmpmul; in clk_pll_get_best_div_mul()178 if (tmprate > rate) in clk_pll_get_best_div_mul()179 remainder = tmprate - rate; in clk_pll_get_best_div_mul()181 remainder = rate - tmprate; in clk_pll_get_best_div_mul()192 bestrate = tmprate; in clk_pll_get_best_div_mul()
189 unsigned long tmprate = 0; in sam9x60_frac_pll_compute_mul_frac() local203 tmprate = parent_rate * nmul; in sam9x60_frac_pll_compute_mul_frac()204 remainder = rate - tmprate; in sam9x60_frac_pll_compute_mul_frac()210 tmprate += UDIV_ROUND_NEAREST((uint64_t)nfrac * parent_rate, in sam9x60_frac_pll_compute_mul_frac()215 if (tmprate < frac->core.charac->output[0].min || in sam9x60_frac_pll_compute_mul_frac()216 tmprate > frac->core.charac->output[0].max) in sam9x60_frac_pll_compute_mul_frac()