Home
last modified time | relevance | path

Searched refs:best_f (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/clk/analogbits/
H A Dwrpll-cln28hpc.c230 u32 best_f, f, post_divr_freq; in wrpll_configure_for_rate() local
269 best_f = 0; in wrpll_configure_for_rate()
298 best_f = f; in wrpll_configure_for_rate()
303 c->divf = best_f - 1; in wrpll_configure_for_rate()
/openbmc/u-boot/drivers/clk/sifive/
H A Dwrpll-cln28hpc.c246 u32 best_f, f, post_divr_freq, fbcfg; in analogbits_wrpll_configure_for_rate() local
298 best_f = 0; in analogbits_wrpll_configure_for_rate()
328 best_f = f; in analogbits_wrpll_configure_for_rate()
333 c->divf = best_f - 1; in analogbits_wrpll_configure_for_rate()
/openbmc/linux/drivers/clk/
H A Dclk-axi-clkgen.c131 unsigned long f, dout, best_f, fvco; in axi_clkgen_calc_params() local
138 best_f = ULONG_MAX; in axi_clkgen_calc_params()
163 if (abs(f - fout) < abs(best_f - fout)) { in axi_clkgen_calc_params()
164 best_f = f; in axi_clkgen_calc_params()
168 if (best_f == fout) in axi_clkgen_calc_params()