Home
last modified time | relevance | path

Searched refs:f_vco (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/media/tuners/
H A Dfc0012.c126 unsigned long f_vco; in fc0012_set_params() local
193 f_vco = freq * multi; in fc0012_set_params()
195 if (f_vco >= 3060000) { in fc0012_set_params()
202 xdiv = (unsigned short)(f_vco / xtal_freq_khz_2); in fc0012_set_params()
203 if ((f_vco - xdiv * xtal_freq_khz_2) >= (xtal_freq_khz_2 / 2)) in fc0012_set_params()
227 xin = (unsigned short)(f_vco - (f_vco / xtal_freq_khz_2) * xtal_freq_khz_2); in fc0012_set_params()
H A Dfc0013.c153 unsigned long f_vco; in fc0013_set_params() local
282 f_vco = freq * multi; in fc0013_set_params()
284 if (f_vco >= 3060000) { in fc0013_set_params()
291 xdiv = (unsigned short)(f_vco / xtal_freq_khz_2); in fc0013_set_params()
292 if ((f_vco - xdiv * xtal_freq_khz_2) >= (xtal_freq_khz_2 / 2)) in fc0013_set_params()
316 xin = (unsigned short)(f_vco - (f_vco / xtal_freq_khz_2) * xtal_freq_khz_2); in fc0013_set_params()
H A Dmsi001.c89 u64 f_vco; in msi001_set_tuner() local
210 f_vco = (u64) (f_rf + f_if + f_if1) * div_lo; in msi001_set_tuner()
211 div_n = div_u64_rem(f_vco, DIV_PRE_N * F_REF, &k); in msi001_set_tuner()
232 f_rf, uitmp, f_vco, div_n, k_thresh, k_frac, div_lo); in msi001_set_tuner()
/linux/drivers/video/fbdev/core/
H A Dsvgalib.c383 u32 f_vco, f_current, delta_current, delta_best; in svga_compute_pll() local
388 f_vco = f_wanted << ar; in svga_compute_pll()
391 if ((f_vco >> ar) != f_wanted) in svga_compute_pll()
397 while ((ar > pll->r_min) && (f_vco > pll->f_vco_max)) { in svga_compute_pll()
399 f_vco = f_vco >> 1; in svga_compute_pll()
403 if ((f_vco < pll->f_vco_min) || (f_vco > pll->f_vco_max)) in svga_compute_pll()
416 delta_current = abs_diff(f_current, f_vco); in svga_compute_pll()
424 if (f_current <= f_vco) in svga_compute_pll()