Home
last modified time | relevance | path

Searched refs:div1 (Results 1 – 5 of 5) sorted by relevance

/drivers/spi/
Domap_uwire.c327 int div1; in uwire_setup_transfer() local
390 div1 = 2; in uwire_setup_transfer()
393 div1 = 4; in uwire_setup_transfer()
396 div1 = 7; in uwire_setup_transfer()
400 div1 = 10; in uwire_setup_transfer()
403 div2 = (rate / div1 + hz - 1) / hz; in uwire_setup_transfer()
420 rate /= div1; in uwire_setup_transfer()
/drivers/media/common/tuners/
Dmt2131.c102 u32 div1, num1, div2, num2; in mt2131_set_params() local
123 div1 = num1 / 8192; in mt2131_set_params()
154 b[3] = div1; 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
196 div1 = num1 / 64; in mt2060_set_params()
217 b[2] = div1; 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()
/drivers/i2c/busses/
Di2c-s3c2410.c569 unsigned int *div1, unsigned int *divs) in s3c24xx_i2c_calcdivisor() argument
588 *div1 = calc_div1; in s3c24xx_i2c_calcdivisor()
616 unsigned int divs, div1; in s3c24xx_i2c_clockrate() local
629 &div1, &divs); in s3c24xx_i2c_clockrate()
645 freq = s3c24xx_i2c_calcdivisor(clkin, start, &div1, &divs); in s3c24xx_i2c_clockrate()
661 if (div1 == 512) in s3c24xx_i2c_clockrate()
/drivers/media/dvb/frontends/
Dstb0899_algo.c1275 int div1, div2, rem1, rem2; in stb0899_dvbs2_get_srate() local
1277 div1 = config->btr_nco_bits / 2; in stb0899_dvbs2_get_srate()
1278 div2 = config->btr_nco_bits - div1 - 1; in stb0899_dvbs2_get_srate()
1286 intval1 = internal->master_clk / (1 << div1); in stb0899_dvbs2_get_srate()
1289 rem1 = internal->master_clk % (1 << div1); in stb0899_dvbs2_get_srate()
1292 srate = (intval1 * intval2) + ((intval1 * rem2) / (1 << div2)) + ((intval2 * rem1) / (1 << div1)); in stb0899_dvbs2_get_srate()