/linux-3.4.99/drivers/staging/comedi/drivers/ |
D | 8253.h | 38 int div1, div2; in i8253_cascade_ns_to_timer_2div_old() local 55 for (div1 = divider / 65536 + 1; div1 < div2; div1++) { in i8253_cascade_ns_to_timer_2div_old() 56 div2 = divider / div1; in i8253_cascade_ns_to_timer_2div_old() 58 ns = i8253_osc_base * div1 * div2; in i8253_cascade_ns_to_timer_2div_old() 61 div1_glb = div1; in i8253_cascade_ns_to_timer_2div_old() 67 ns = i8253_osc_base * div1 * div2; in i8253_cascade_ns_to_timer_2div_old() 70 div1_lub = div1; in i8253_cascade_ns_to_timer_2div_old() 88 int div1, div2; in i8253_cascade_ns_to_timer_power() local 91 for (div1 = 2; div1 <= (1 << 16); div1 <<= 1) { in i8253_cascade_ns_to_timer_power() 92 base = i8253_osc_base * div1; in i8253_cascade_ns_to_timer_power() [all …]
|
D | adl_pci9118.c | 466 unsigned int *div1, unsigned int *div2, 1968 unsigned int *div1, unsigned int *div2, in pci9118_calc_divisors() argument 1980 i8253_cascade_ns_to_timer(devpriv->i8254_osc_base, div1, div2, in pci9118_calc_divisors() 1983 devpriv->i8254_osc_base, *div1, *div2, *tim1); in pci9118_calc_divisors() 1988 DPRINTK("1 div1=%u div2=%u timer1=%u timer2=%u\n", *div1, *div2, in pci9118_calc_divisors() 1990 *div1 = *tim2 / devpriv->i8254_osc_base; in pci9118_calc_divisors() 1992 DPRINTK("2 div1=%u div2=%u timer1=%u timer2=%u\n", *div1, *div2, in pci9118_calc_divisors() 1994 if (*div1 < this_board->ai_pacer_min) in pci9118_calc_divisors() 1995 *div1 = this_board->ai_pacer_min; in pci9118_calc_divisors() 1996 DPRINTK("3 div1=%u div2=%u timer1=%u timer2=%u\n", *div1, *div2, in pci9118_calc_divisors() [all …]
|
D | amplc_pci224.c | 963 unsigned int div1, div2, round; in pci224_ao_cmdtest() local 996 div1 = devpriv->cached_div1; in pci224_ao_cmdtest() 998 pci224_cascade_ns_to_timer(TIMEBASE_10MHZ, &div1, &div2, in pci224_ao_cmdtest() 1001 devpriv->cached_div1 = div1; in pci224_ao_cmdtest() 1121 unsigned int div1, div2, round; in pci224_ao_cmd() local 1147 div1 = 1; /* Flag that single timer to be used. */ in pci224_ao_cmd() 1150 div1 = devpriv->cached_div1; in pci224_ao_cmd() 1152 pci224_cascade_ns_to_timer(TIMEBASE_10MHZ, &div1, &div2, in pci224_ao_cmd() 1163 if (div1 == 1) { in pci224_ao_cmd() 1177 2, div1, 2); in pci224_ao_cmd()
|
D | cb_das16_cs.c | 454 unsigned int div1 = 0, div2 = 0; in das16cs_ai_cmdtest() local 457 i8253_cascade_ns_to_timer(100, &div1, &div2, in das16cs_ai_cmdtest() 464 unsigned int div1 = 0, div2 = 0; in das16cs_ai_cmdtest() local 467 i8253_cascade_ns_to_timer(100, &div1, &div2, in das16cs_ai_cmdtest()
|
/linux-3.4.99/arch/sh/lib/ |
D | udivsi3.S | 37 div1 r5,r4 39 div1 r5,r4; div1 r5,r4; div1 r5,r4 40 div1 r5,r4; div1 r5,r4; div1 r5,r4; rts; div1 r5,r4 43 div1 r5,r4; rotcl r0 44 div1 r5,r4; rotcl r0 45 div1 r5,r4; rotcl r0 46 rts; div1 r5,r4 59 div1 r5,r4 65 div1 r5,r4
|
D | udivsi3_i4i-Os.S | 59 div1 r5,r4 61 div1 r5,r4 62 div1 r5,r4 64 div1 r5,r4 69 div1 r5,r4 71 div1 r5,r4 79 div1 r5,r4 81 div1 r5,r4; div1 r5,r4; div1 r5,r4 82 div1 r5,r4; div1 r5,r4; rts; div1 r5,r4 86 div1 r5,r4 [all …]
|
D | udivsi3_i4i.S | 76 div1 r5,r0 78 div1 r5,r0 79 div1 r5,r0 81 div1 r5,r0 123 div1 r5,r0 130 div1 r5,r0 133 div1 r5,r0 136 div1 r5,r0 139 div1 r5,r0 141 div1 r5,r0 [all …]
|
D | div64.S | 25 div1 r6, r3 35 div1 r6, r1
|
D | udiv_qrnnd.S | 50 div1 r6,r0
|
/linux-3.4.99/arch/arm/mach-imx/ |
D | clock-imx35.c | 203 unsigned long div1, div2, rate; in get_rate_mshc() local 210 div1 = (pdr1 >> 29) & 0x7; in get_rate_mshc() 213 return rate / ((div1 + 1) * (div2 + 1)); in get_rate_mshc() 219 unsigned long div1, div2, rate; in get_rate_ssi() local 229 div1 = pdr2 & 0x3f; in get_rate_ssi() 233 div1 = (pdr2 >> 8) & 0x3f; in get_rate_ssi() 238 return rate / ((div1 + 1) * (div2 + 1)); in get_rate_ssi() 407 unsigned long div1; in get_rate_nfc() local 409 div1 = (__raw_readl(MX35_CCM_PDR4) >> 28) + 1; in get_rate_nfc() 411 return get_rate_ahb(NULL) / div1; in get_rate_nfc()
|
/linux-3.4.99/drivers/spi/ |
D | spi-omap-uwire.c | 328 int div1; in uwire_setup_transfer() local 389 div1 = 2; in uwire_setup_transfer() 392 div1 = 4; in uwire_setup_transfer() 395 div1 = 7; in uwire_setup_transfer() 399 div1 = 10; in uwire_setup_transfer() 402 div2 = (rate / div1 + hz - 1) / hz; in uwire_setup_transfer() 419 rate /= div1; in uwire_setup_transfer()
|
/linux-3.4.99/drivers/media/common/tuners/ |
D | mt2131.c | 103 u32 div1, num1, div2, num2; in mt2131_set_params() local 120 div1 = num1 / 8192; in mt2131_set_params() 151 b[3] = div1; in mt2131_set_params() 160 (int)div1, (int)num1, (int)div2, (int)num2); in mt2131_set_params()
|
D | mt2060.c | 165 u32 div1,num1,div2,num2; in mt2060_set_params() local 197 div1 = num1 / 64; in mt2060_set_params() 218 b[2] = div1; in mt2060_set_params() 225 dprintk("PLL div1=%d num1=%d div2=%d num2=%d",(int)div1,(int)num1,(int)div2,(int)num2); in mt2060_set_params()
|
/linux-3.4.99/arch/microblaze/lib/ |
D | modsi3.S | 38 div1: label 40 bgeid r5, div1
|
D | divsi3.S | 38 div1: label 40 bgtid r5, div1
|
D | udivsi3.S | 52 div1: label 54 bgtid r5, div1
|
D | umodsi3.S | 54 div1: label 56 bgeid r5, div1
|
/linux-3.4.99/drivers/i2c/busses/ |
D | i2c-s3c2410.c | 610 unsigned int *div1, unsigned int *divs) in s3c24xx_i2c_calcdivisor() argument 629 *div1 = calc_div1; in s3c24xx_i2c_calcdivisor() 645 unsigned int divs, div1; in s3c24xx_i2c_clockrate() local 659 freq = s3c24xx_i2c_calcdivisor(clkin, target_frequency, &div1, &divs); in s3c24xx_i2c_clockrate() 674 if (div1 == 512) in s3c24xx_i2c_clockrate()
|
/linux-3.4.99/drivers/media/dvb/frontends/ |
D | stb0899_algo.c | 1278 int div1, div2, rem1, rem2; in stb0899_dvbs2_get_srate() local 1280 div1 = config->btr_nco_bits / 2; in stb0899_dvbs2_get_srate() 1281 div2 = config->btr_nco_bits - div1 - 1; in stb0899_dvbs2_get_srate() 1289 intval1 = internal->master_clk / (1 << div1); in stb0899_dvbs2_get_srate() 1292 rem1 = internal->master_clk % (1 << div1); in stb0899_dvbs2_get_srate() 1295 srate = (intval1 * intval2) + ((intval1 * rem2) / (1 << div2)) + ((intval2 * rem1) / (1 << div1)); in stb0899_dvbs2_get_srate()
|
/linux-3.4.99/sound/oss/ |
D | sb_ess.c | 344 int div1, div2; in ess_calc_best_speed() local 348 div1 = ess_calc_div (clock1, rev1, &speed1, &diff1); in ess_calc_best_speed() 352 *divp = div1; in ess_calc_best_speed()
|