Home
last modified time | relevance | path

Searched refs:frac_rate (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/clk/ti/
Dfapll.c354 unsigned long current_rate, frac_rate; in ti_fapll_synth_get_frac_rate() local
359 frac_rate = current_rate * post_div_m; in ti_fapll_synth_get_frac_rate()
361 return frac_rate; in ti_fapll_synth_get_frac_rate()
414 unsigned long frac_rate; in ti_fapll_synth_round_rate() local
417 frac_rate = ti_fapll_synth_get_frac_rate(hw, *parent_rate); in ti_fapll_synth_round_rate()
418 synth_post_div_m = DIV_ROUND_UP(frac_rate, rate); in ti_fapll_synth_round_rate()
419 r = DIV_ROUND_UP(frac_rate, synth_post_div_m); in ti_fapll_synth_round_rate()
441 unsigned long frac_rate, post_rate = 0; in ti_fapll_synth_set_rate() local
448 frac_rate = ti_fapll_synth_get_frac_rate(hw, parent_rate); in ti_fapll_synth_set_rate()
449 if (frac_rate < rate) { in ti_fapll_synth_set_rate()
[all …]
/linux-6.1.9/drivers/clk/meson/
Dclk-pll.c63 u64 frac_rate = (u64)parent_rate * frac; in __pll_params_to_rate() local
65 rate += DIV_ROUND_UP_ULL(frac_rate, in __pll_params_to_rate()