Searched refs:f_lo1 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/media/tuners/ |
H A D | mt2131.c | 88 u32 f_lo1, f_lo2; in mt2131_set_params() local 98 f_lo1 = freq + MT2131_IF1 * 1000; in mt2131_set_params() 99 f_lo1 = (f_lo1 / 250) * 250; in mt2131_set_params() 100 f_lo2 = f_lo1 - freq - MT2131_IF2; in mt2131_set_params() 102 priv->frequency = (f_lo1 - f_lo2 - MT2131_IF2) * 1000; in mt2131_set_params() 105 num1 = f_lo1 * 64 / (MT2131_FREF / 128); in mt2131_set_params() 144 dprintk(1, "PLL f_lo1=%dkHz f_lo2=%dkHz\n", (int)f_lo1, (int)f_lo2); in mt2131_set_params()
|
H A D | mt2060.c | 195 u32 f_lo1,f_lo2; in mt2060_set_params() local 213 f_lo1 = freq + if1 * 1000; in mt2060_set_params() 214 f_lo1 = (f_lo1 / 250) * 250; in mt2060_set_params() 215 f_lo2 = f_lo1 - freq - IF2; in mt2060_set_params() 218 priv->frequency = (f_lo1 - f_lo2 - IF2) * 1000; in mt2060_set_params() 222 num1 = mt2060_spurcheck(f_lo1,f_lo2,IF2); in mt2060_set_params() 223 f_lo1 += num1; in mt2060_set_params() 227 num1 = f_lo1 / (FREF / 64); in mt2060_set_params() 255 dprintk("PLL freq=%dkHz f_lo1=%dkHz f_lo2=%dkHz",(int)freq,(int)f_lo1,(int)f_lo2); in mt2060_set_params()
|
H A D | mt20xx.c | 443 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 450 f_lo1=freq+if1; in mt2050_set_if_freq() 451 f_lo1=(f_lo1/1000000)*1000000; in mt2050_set_if_freq() 453 f_lo2=f_lo1-freq-if2; in mt2050_set_if_freq() 456 lo1=f_lo1/4000000; in mt2050_set_if_freq() 459 f_lo1_modulo= f_lo1-(lo1*4000000); in mt2050_set_if_freq()
|