Searched refs:vco_freq (Results 1 – 7 of 7) sorted by relevance
/linux-4.19.296/drivers/clk/socfpga/ |
D | clk-pll-s10.c | 36 unsigned long long vco_freq; in clk_pll_recalc_rate() local 42 vco_freq = parent_rate; in clk_pll_recalc_rate() 43 do_div(vco_freq, refdiv); in clk_pll_recalc_rate() 48 vco_freq = (unsigned long long)vco_freq * (mdiv + 6); in clk_pll_recalc_rate() 50 return (unsigned long)vco_freq; in clk_pll_recalc_rate()
|
D | clk-pll-a10.c | 50 unsigned long long vco_freq; in clk_pll_recalc_rate() local 56 vco_freq = (unsigned long long)parent_rate * (divf + 1); in clk_pll_recalc_rate() 57 do_div(vco_freq, (1 + divq)); in clk_pll_recalc_rate() 58 return (unsigned long)vco_freq; in clk_pll_recalc_rate()
|
D | clk-pll.c | 53 unsigned long long vco_freq; in clk_pll_recalc_rate() local 63 vco_freq = (unsigned long long)parent_rate * (divf + 1); in clk_pll_recalc_rate() 64 do_div(vco_freq, (1 + divq)); in clk_pll_recalc_rate() 65 return (unsigned long)vco_freq; in clk_pll_recalc_rate()
|
/linux-4.19.296/drivers/clk/ |
D | clk-highbank.c | 109 unsigned long divf, divq, vco_freq, reg; in clk_pll_recalc_rate() local 117 vco_freq = parent_rate * (divf + 1); in clk_pll_recalc_rate() 119 return vco_freq / (1 << divq); in clk_pll_recalc_rate() 126 unsigned long vco_freq; in clk_pll_calc() local 138 vco_freq = rate * (1 << divq); in clk_pll_calc() 139 divf = (vco_freq + (ref_freq / 2)) / ref_freq; in clk_pll_calc()
|
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | stv6110.c | 262 u32 divider, ref, p, presc, i, result_freq, vco_freq; in stv6110_set_frequency() local 339 vco_freq = divider * ((priv->mclk / 1000) / ((1 << (r_div_opt + 1)))); in stv6110_set_frequency() 341 ret, result_freq, vco_freq); in stv6110_set_frequency()
|
/linux-4.19.296/drivers/iio/frequency/ |
D | ad9523.c | 277 unsigned long vco_freq; member 865 st->vco_freq = (pdata->vcxo_freq * (pdata->pll2_freq_doubler_en ? 2 : 1) in ad9523_setup() 886 st->vco_freq / pdata->pll2_vco_diff_m1; in ad9523_setup() 890 st->vco_freq / pdata->pll2_vco_diff_m2; in ad9523_setup()
|
/linux-4.19.296/drivers/media/tuners/ |
D | r820t.c | 521 u32 vco_freq; in r820t_set_pll() local 612 vco_freq = freq * mix_div; in r820t_set_pll() 613 nint = vco_freq / (2 * pll_ref); in r820t_set_pll() 614 vco_fra = vco_freq - 2 * pll_ref * nint; in r820t_set_pll()
|