Home
last modified time | relevance | path

Searched refs:vco_freq (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/clk/socfpga/
Dclk-pll-s10.c36 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()
Dclk-pll-a10.c50 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()
Dclk-pll.c53 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/
Dclk-highbank.c109 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/
Dstv6110.c262 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/
Dad9523.c277 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/
Dr820t.c521 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()