Searched refs:xdiv (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/drivers/cpufreq/ |
D | cpufreq-nforce2.c | 88 unsigned char xmul, xdiv; in nforce2_calc_pll() local 94 for (xdiv = 2; xdiv <= 0x80; xdiv++) in nforce2_calc_pll() 96 if (nforce2_calc_fsb(NFORCE2_PLL(xmul, xdiv)) == in nforce2_calc_pll() 99 div = xdiv; in nforce2_calc_pll()
|
/linux-4.19.296/drivers/media/tuners/ |
D | fc0012.c | 136 unsigned short xtal_freq_khz_2, xin, xdiv; in fc0012_set_params() local 211 xdiv = (unsigned short)(f_vco / xtal_freq_khz_2); in fc0012_set_params() 212 if ((f_vco - xdiv * xtal_freq_khz_2) >= (xtal_freq_khz_2 / 2)) in fc0012_set_params() 213 xdiv++; in fc0012_set_params() 215 pm = (unsigned char)(xdiv / 8); in fc0012_set_params() 216 am = (unsigned char)(xdiv - (8 * pm)); in fc0012_set_params()
|
D | fc0011.c | 180 u32 fvco, xin, frac, xdiv, xdivr; in fc0011_set_params() local 216 xdiv = fvco / 18000; in fc0011_set_params() 217 WARN_ON(xdiv > 0xFF); in fc0011_set_params() 218 frac = fvco - xdiv * 18000; in fc0011_set_params() 230 xdivr = xdiv; in fc0011_set_params() 231 if (fvco - xdiv * 18000 >= 9000) in fc0011_set_params()
|
D | fc0013.c | 228 unsigned short xtal_freq_khz_2, xin, xdiv; in fc0013_set_params() local 365 xdiv = (unsigned short)(f_vco / xtal_freq_khz_2); in fc0013_set_params() 366 if ((f_vco - xdiv * xtal_freq_khz_2) >= (xtal_freq_khz_2 / 2)) in fc0013_set_params() 367 xdiv++; in fc0013_set_params() 369 pm = (unsigned char)(xdiv / 8); in fc0013_set_params() 370 am = (unsigned char)(xdiv - (8 * pm)); in fc0013_set_params()
|