Searched refs:f_vco (Results 1 - 9 of 9) sorted by relevance

/drivers/media/tuners/
H A Dfc0012.c140 unsigned long f_vco; local
207 f_vco = freq * multi;
209 if (f_vco >= 3060000) {
216 xdiv = (unsigned short)(f_vco / xtal_freq_khz_2);
217 if ((f_vco - xdiv * xtal_freq_khz_2) >= (xtal_freq_khz_2 / 2))
241 xin = (unsigned short)(f_vco - (f_vco / xtal_freq_khz_2) * xtal_freq_khz_2);
H A Dfc0013.c234 unsigned long f_vco; local
363 f_vco = freq * multi;
365 if (f_vco >= 3060000) {
372 xdiv = (unsigned short)(f_vco / xtal_freq_khz_2);
373 if ((f_vco - xdiv * xtal_freq_khz_2) >= (xtal_freq_khz_2 / 2))
397 xin = (unsigned short)(f_vco - (f_vco / xtal_freq_khz_2) * xtal_freq_khz_2);
H A Dfc2580.c147 u64 f_vco; local
173 f_vco = c->frequency;
174 f_vco *= fc2580_pll_lut[i].div;
176 if (f_vco >= 2600000000UL)
185 if (f_vco >= 2UL * 76 * priv->cfg->clock) {
188 } else if (f_vco >= 1UL * 76 * priv->cfg->clock) {
197 n_val = div_u64_rem(f_vco, f_ref, &k_val);
H A Dmsi001.c96 u64 f_vco, tmp64; local
203 f_vco = (u64) (f_rf + f_if + f_if1) * lo_div;
204 tmp64 = f_vco;
H A De4000.c120 u64 f_vco; local
143 f_vco = 1ull * c->frequency * e4000_pll_lut[i].mul;
144 pll_n = div_u64_rem(f_vco, s->clock, &pll_f);
152 dev_dbg(&s->client->dev, "f_vco=%llu pll div=%d sigma_delta=%04x\n",
153 f_vco, buf[0], sigma_delta);
/drivers/video/fbdev/core/
H A Dsvgalib.c384 u32 f_vco, f_current, delta_current, delta_best; local
389 f_vco = f_wanted << ar;
392 if ((f_vco >> ar) != f_wanted)
398 while ((ar > pll->r_min) && (f_vco > pll->f_vco_max)) {
400 f_vco = f_vco >> 1;
404 if ((f_vco < pll->f_vco_min) || (f_vco > pll->f_vco_max))
417 delta_current = abs_diff (f_current, f_vco);
425 if (f_current <= f_vco) {
[all...]
/drivers/media/usb/msi2500/
H A Dmsi2500.c689 int ret, div_n, div_m, div_r_out, f_sr, f_vco, fract; local
771 f_vco = f_sr * div_r_out * 12;
772 dev_dbg(s->dev, "div_r_out=%d f_vco=%d\n", div_r_out, f_vco);
773 if (f_vco >= 202000000)
777 div_n = f_vco / (F_REF * DIV_R_IN);
778 div_m = f_vco % (F_REF * DIV_R_IN);
786 dev_dbg(s->dev, "f_sr=%d f_vco=%d div_n=%d div_m=%d div_r_out=%d reg3=%08x reg4=%08x\n",
787 f_sr, f_vco, div_n, div_m, div_r_out, reg3, reg4);
/drivers/video/fbdev/
H A Di740fb.c357 u32 f_err, f_vco; local
363 f_vco = (freq * (1 << p_best)) / I740_RFREQ_FIX;
369 m = ((f_vco * n) / I740_REF_FREQ + 2) / 4;
/drivers/video/fbdev/intelfb/
H A Dintelfbhw.c939 u32 f_vco, p, p_best = 0, m, f_out = 0; local
971 f_vco = clock * p;
974 m = ROUND_UP_TO(f_vco * n, pll->ref_clk) / pll->ref_clk;

Completed in 131 milliseconds