Searched refs:tmprate (Results 1 – 4 of 4) sorted by relevance
203 unsigned long tmprate; in sam9x60_pll_get_best_div_mul() local212 tmprate = mult_frac(parent_rate, tmpmul, tmpdiv); in sam9x60_pll_get_best_div_mul()213 remainder = rate - tmprate; in sam9x60_pll_get_best_div_mul()219 tmprate += DIV_ROUND_CLOSEST_ULL((u64)tmpfrac * parent_rate, in sam9x60_pll_get_best_div_mul()222 if (tmprate > rate) in sam9x60_pll_get_best_div_mul()223 remainder = tmprate - rate; in sam9x60_pll_get_best_div_mul()225 remainder = rate - tmprate; in sam9x60_pll_get_best_div_mul()237 bestrate = tmprate; in sam9x60_pll_get_best_div_mul()
175 unsigned long tmprate; in clk_pll_get_best_div_mul() local183 tmprate = (parent_rate / tmpdiv) * tmpmul; in clk_pll_get_best_div_mul()184 if (tmprate > rate) in clk_pll_get_best_div_mul()185 remainder = tmprate - rate; in clk_pll_get_best_div_mul()187 remainder = rate - tmprate; in clk_pll_get_best_div_mul()198 bestrate = tmprate; in clk_pll_get_best_div_mul()
297 unsigned long tmprate; in at91rm9200_clk_usb_round_rate() local309 tmprate = DIV_ROUND_CLOSEST(tmp_parent_rate, usb->divisors[i]); in at91rm9200_clk_usb_round_rate()310 if (tmprate < rate) in at91rm9200_clk_usb_round_rate()311 tmpdiff = rate - tmprate; in at91rm9200_clk_usb_round_rate()313 tmpdiff = tmprate - rate; in at91rm9200_clk_usb_round_rate()316 bestrate = tmprate; in at91rm9200_clk_usb_round_rate()
680 unsigned long clkrate, baudrate, tmprate; in fsl_ssi_set_bclk() local720 tmprate = freq * factor * (i + 1); in fsl_ssi_set_bclk()725 clkrate = clk_round_rate(ssi->baudclk, tmprate); in fsl_ssi_set_bclk()744 baudrate = tmprate; in fsl_ssi_set_bclk()