Home
last modified time | relevance | path

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

/drivers/media/common/tuners/
Dmt2131.c102 u32 div1, num1, div2, num2; in mt2131_set_params() local
127 num2 = f_lo2 * 64 / (MT2131_FREF / 128); in mt2131_set_params()
128 div2 = num2 / 8192; in mt2131_set_params()
129 num2 &= 0x1fff; in mt2131_set_params()
155 b[4] = (num2 >> 5) & 0xFF; in mt2131_set_params()
156 b[5] = num2 & 0x1F; in mt2131_set_params()
163 (int)div1, (int)num1, (int)div2, (int)num2); in mt2131_set_params()
Dmt2060.c163 u32 div1,num1,div2,num2; in mt2060_set_params() local
200 num2 = f_lo2 * 64 / (FREF / 128); in mt2060_set_params()
201 div2 = num2 / 8192; in mt2060_set_params()
202 num2 &= 0x1fff; in mt2060_set_params()
218 b[3] = (num2 & 0x0F) | ((num1 & 3) << 4); in mt2060_set_params()
219 b[4] = num2 >> 4; in mt2060_set_params()
220 b[5] = ((num2 >>12) & 1) | (div2 << 1); in mt2060_set_params()
224 dprintk("PLL div1=%d num1=%d div2=%d num2=%d",(int)div1,(int)num1,(int)div2,(int)num2); in mt2060_set_params()
Dmt20xx.c444 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
464 num2=4096*(f_lo2_modulo/1000)/4000; in mt2050_set_if_freq()
477 num1,num2,div1a,div1b,div2a,div2b); in mt2050_set_if_freq()
485 buf[3]=32*div2b + num2/256; in mt2050_set_if_freq()
486 buf[4]=num2-(num2/256)*256; in mt2050_set_if_freq()
488 if(num2!=0) buf[5]=buf[5]|0x40; in mt2050_set_if_freq()
/drivers/mtd/devices/
Ddocecc.c193 gf u,q,tmp,num1,num2,den,discr_r; in eras_dec_rs() local
399 num2 = Alpha_to[modnn(root[j] * (B0 - 1) + NN)]; in eras_dec_rs()
417 eras_val[j] = Alpha_to[modnn(Index_of[num1] + Index_of[num2] + NN - Index_of[den])]; in eras_dec_rs()
/drivers/net/
Dni65.c926 int i,k,num1,num2; in ni65_interrupt() local
928 num2 = (p->rmdnum + i) & (RMDNUM-1); in ni65_interrupt()
929 if(!(p->rmdhead[num2].u.s.status & RCV_OWN)) in ni65_interrupt()
957 if((p->rmdhead[num2].u.s.status & RCV_OWN)) in ni65_interrupt()
/drivers/s390/net/
Dqeth_l3_main.c92 int num2, cnt, out, found, save_cnt; in qeth_l3_string_to_ipaddr6() local
95 cnt = out = found = save_cnt = num2 = 0; in qeth_l3_string_to_ipaddr6()
115 sscanf(start, "%x", &num2); in qeth_l3_string_to_ipaddr6()
117 in_tmp[save_cnt++] = num2; in qeth_l3_string_to_ipaddr6()
119 in[cnt++] = num2; in qeth_l3_string_to_ipaddr6()