Home
last modified time | relevance | path

Searched refs:lo1 (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/media/common/tuners/
Dmt2060.c102 static int mt2060_spurcalc(u32 lo1,u32 lo2,u32 if2) in mt2060_spurcalc() argument
108 J = ((2*I*lo1)/lo2+1)/2; in mt2060_spurcalc()
109 diff = I*(int)lo1-J*(int)lo2; in mt2060_spurcalc()
121 static int mt2060_spurcheck(u32 lo1,u32 lo2,u32 if2) in mt2060_spurcheck() argument
128 Spur=mt2060_spurcalc(lo1,lo2,if2); in mt2060_spurcheck()
132 (int)lo1,(int)lo2); in mt2060_spurcheck()
134 Sp1 = mt2060_spurcalc(lo1+I,lo2+I,if2); in mt2060_spurcheck()
135 Sp2 = mt2060_spurcalc(lo1-I,lo2-I,if2); in mt2060_spurcheck()
144 Spur = mt2060_spurcalc(lo1+I,lo2+I,if2); in mt2060_spurcheck()
147 (int)(lo1+I),(int)(lo2+I)); in mt2060_spurcheck()
Dmt20xx.c109 unsigned int fref,lo1,lo1n,lo1a,s,sel,lo1freq, desired_lo1, in mt2032_compute_freq() local
115 lo1=(2*(desired_lo1/1000)+(fref/1000)) / (2*fref/1000); in mt2032_compute_freq()
116 lo1n=lo1/8; in mt2032_compute_freq()
117 lo1a=lo1-(lo1n*8); in mt2032_compute_freq()
140 rfin,lo1,lo1n,lo1a,sel,lo1freq); in mt2032_compute_freq()
445 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
458 lo1=f_lo1/4000000; in mt2050_set_if_freq()
461 f_lo1_modulo= f_lo1-(lo1*4000000); in mt2050_set_if_freq()
469 div1a=(lo1/12)-1; in mt2050_set_if_freq()
470 div1b=lo1-(div1a+1)*12; in mt2050_set_if_freq()
[all …]
Dmc44s803.c221 u32 r1, r2, n1, n2, lo1, lo2, freq, val; in mc44s803_set_params() local
231 lo1 = ((60 * n1) + (r1 / 2)) / r1; in mc44s803_set_params()
265 MC44S803_REG_SM(lo1, MC44S803_LO_REF) | in mc44s803_set_params()
/linux-2.6.39/drivers/staging/brcm80211/util/
Dqmath.c455 u16 lo1, lo2; in qm_mul32() local
459 lo1 = (u16) (a & 0xffff); in qm_mul32()
463 result = result + (qm_mulsu321616(hi2, lo1) >> 16); in qm_mul32()
478 u16 lo1, lo2; in qm_muls32() local
482 lo1 = (u16) (a & 0xffff); in qm_muls32()
486 result = qm_add32(result, (qm_mulsu321616(hi2, lo1) >> 15)); in qm_muls32()
487 result = qm_add32(result, (qm_mulu16(lo1, lo2) >> 15)); in qm_muls32()
/linux-2.6.39/drivers/staging/comedi/drivers/
Ddmm32at.c1033 unsigned char lo1, lo2, hi2; in dmm32at_setaitimer() local
1037 lo1 = 200; in dmm32at_setaitimer()
1050 dmm_outb(dev, DMM32AT_CLK1, lo1); in dmm32at_setaitimer()
/linux-2.6.39/drivers/media/video/
Dc-qcam.c312 unsigned int lo1, hi1, lo2, hi2; in qcam_read_bytes() local
317 lo1 = parport_read_data(qcam->pport) >> 1; in qcam_read_bytes()
325 r = lo1 | ((hi1 & 1) << 7); in qcam_read_bytes()