Home
last modified time | relevance | path

Searched refs:tmprate (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/clk/at91/
A Dclk-pll.c176 unsigned long tmprate; in clk_pll_get_best_div_mul() local
184 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()
A Dclk-usb.c329 unsigned long tmprate; in at91rm9200_clk_usb_round_rate() local
341 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()
A Dclk-sam9x60-pll.c193 unsigned long tmprate, remainder; in sam9x60_frac_pll_compute_mul_frac() local
205 tmprate = mult_frac(parent_rate, nmul, 1); in sam9x60_frac_pll_compute_mul_frac()
206 remainder = rate - tmprate; in sam9x60_frac_pll_compute_mul_frac()
212 tmprate += DIV_ROUND_CLOSEST_ULL((u64)nfrac * parent_rate, in sam9x60_frac_pll_compute_mul_frac()
217 if (tmprate < FCORE_MIN || tmprate > FCORE_MAX) in sam9x60_frac_pll_compute_mul_frac()
225 return tmprate; in sam9x60_frac_pll_compute_mul_frac()
/linux/sound/soc/fsl/
A Dfsl_ssi.c682 unsigned long clkrate, baudrate, tmprate; in fsl_ssi_set_bclk() local
727 tmprate = freq * factor * (i + 1); in fsl_ssi_set_bclk()
732 clkrate = clk_round_rate(ssi->baudclk, tmprate); in fsl_ssi_set_bclk()
751 baudrate = tmprate; in fsl_ssi_set_bclk()

Completed in 14 milliseconds