Home
last modified time | relevance | path

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

/drivers/media/tuners/
Dmt2131.c89 u32 div1, num1, div2, num2; in mt2131_set_params() local
110 num2 = f_lo2 * 64 / (MT2131_FREF / 128); in mt2131_set_params()
111 div2 = num2 / 8192; in mt2131_set_params()
112 num2 &= 0x1fff; in mt2131_set_params()
138 b[4] = (num2 >> 5) & 0xFF; in mt2131_set_params()
139 b[5] = num2 & 0x1F; in mt2131_set_params()
146 (int)div1, (int)num1, (int)div2, (int)num2); in mt2131_set_params()
Dmt2060.c196 u32 div1,num1,div2,num2; in mt2060_set_params() local
232 num2 = f_lo2 * 64 / (FREF / 128); in mt2060_set_params()
233 div2 = num2 / 8192; in mt2060_set_params()
234 num2 &= 0x1fff; in mt2060_set_params()
250 b[3] = (num2 & 0x0F) | ((num1 & 3) << 4); in mt2060_set_params()
251 b[4] = num2 >> 4; in mt2060_set_params()
252 b[5] = ((num2 >>12) & 1) | (div2 << 1); in mt2060_set_params()
256 dprintk("PLL div1=%d num1=%d div2=%d num2=%d",(int)div1,(int)num1,(int)div2,(int)num2); in mt2060_set_params()
Dmt20xx.c443 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
463 num2=4096*(f_lo2_modulo/1000)/4000; in mt2050_set_if_freq()
476 num1,num2,div1a,div1b,div2a,div2b); in mt2050_set_if_freq()
484 buf[3]=32*div2b + num2/256; in mt2050_set_if_freq()
485 buf[4]=num2-(num2/256)*256; in mt2050_set_if_freq()
487 if(num2!=0) buf[5]=buf[5]|0x40; in mt2050_set_if_freq()
/drivers/net/ethernet/amd/
Dni65.c925 int i, num2; in ni65_interrupt() local
927 num2 = (p->rmdnum + i) & (RMDNUM-1); in ni65_interrupt()
928 if(!(p->rmdhead[num2].u.s.status & RCV_OWN)) in ni65_interrupt()
956 if((p->rmdhead[num2].u.s.status & RCV_OWN)) in ni65_interrupt()
/drivers/media/dvb-frontends/
Drtl2832.c409 u64 bw_mode, num, num2; in rtl2832_set_frontend() local
501 num2 = dev->pdata->clk * 7ULL; in rtl2832_set_frontend()
502 num = div_u64(num, num2); in rtl2832_set_frontend()
/drivers/iio/adc/
Dmax1363.c489 #define MAX1363_CHAN_B(num, num2, addr, si, bits, ev_spec, num_ev_spec) \ argument
495 .channel2 = num2, \
499 .datasheet_name = "AIN"#num"-AIN"#num2, \
Dat91-sama5d2_adc.c279 #define AT91_SAMA5D2_CHAN_DIFF(num, num2, addr) \ argument
284 .channel2 = num2, \
296 .datasheet_name = "CH"#num"-CH"#num2, \