Searched refs:f_lo1 (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/drivers/media/common/tuners/ |
D | mt2131.c | 102 u32 f_lo1, f_lo2; in mt2131_set_params() local 112 f_lo1 = freq + MT2131_IF1 * 1000; in mt2131_set_params() 113 f_lo1 = (f_lo1 / 250) * 250; in mt2131_set_params() 114 f_lo2 = f_lo1 - freq - MT2131_IF2; in mt2131_set_params() 116 priv->frequency = (f_lo1 - f_lo2 - MT2131_IF2) * 1000; in mt2131_set_params() 119 num1 = f_lo1 * 64 / (MT2131_FREF / 128); in mt2131_set_params() 158 dprintk(1, "PLL f_lo1=%dkHz f_lo2=%dkHz\n", (int)f_lo1, (int)f_lo2); in mt2131_set_params()
|
D | mt2060.c | 164 u32 f_lo1,f_lo2; in mt2060_set_params() local 182 f_lo1 = freq + if1 * 1000; in mt2060_set_params() 183 f_lo1 = (f_lo1 / 250) * 250; in mt2060_set_params() 184 f_lo2 = f_lo1 - freq - IF2; in mt2060_set_params() 187 priv->frequency = (f_lo1 - f_lo2 - IF2) * 1000, in mt2060_set_params() 191 num1 = mt2060_spurcheck(f_lo1,f_lo2,IF2); in mt2060_set_params() 192 f_lo1 += num1; in mt2060_set_params() 196 num1 = f_lo1 / (FREF / 64); in mt2060_set_params() 224 dprintk("PLL freq=%dkHz f_lo1=%dkHz f_lo2=%dkHz",(int)freq,(int)f_lo1,(int)f_lo2); in mt2060_set_params()
|
D | mt20xx.c | 444 unsigned int f_lo1,f_lo2,lo1,lo2,f_lo1_modulo,f_lo2_modulo,num1,num2,div1a,div1b,div2a,div2b; in mt2050_set_if_freq() local 451 f_lo1=freq+if1; in mt2050_set_if_freq() 452 f_lo1=(f_lo1/1000000)*1000000; in mt2050_set_if_freq() 454 f_lo2=f_lo1-freq-if2; in mt2050_set_if_freq() 457 lo1=f_lo1/4000000; in mt2050_set_if_freq() 460 f_lo1_modulo= f_lo1-(lo1*4000000); in mt2050_set_if_freq()
|