/linux-3.4.99/arch/powerpc/include/asm/ |
D | cputime.h | 76 do_div(ct, HZ); in jiffies_to_cputime() 98 do_div(ct, HZ); in jiffies64_to_cputime64() 130 do_div(ct, 1000000); in usecs_to_cputime() 162 frac = do_div(x, tb_ticks_per_sec); in cputime_to_timespec() 165 do_div(x, tb_ticks_per_sec); in cputime_to_timespec() 174 do_div(ct, 1000000000); in timespec_to_cputime() 186 frac = do_div(x, tb_ticks_per_sec); in cputime_to_timeval() 189 do_div(x, tb_ticks_per_sec); in cputime_to_timeval() 198 do_div(ct, 1000000); in timeval_to_cputime() 222 do_div(ct, USER_HZ); in clock_t_to_cputime()
|
/linux-3.4.99/arch/arm/plat-samsung/include/plat/ |
D | pll.h | 38 do_div(fvco, (pdiv + 2) << sdiv); in s3c24xx_get_pll() 61 do_div(fvco, (pdiv << sdiv)); in s3c2416_get_pll() 84 do_div(fvco, (pdiv << sdiv)); in s3c6400_get_pll() 119 do_div(tmp, (pdiv << sdiv)); in s3c_get_pll6553x() 142 do_div(fvco, (pdiv << sdiv)); in s5p_get_pll35xx() 170 do_div(tmp, (pdiv << sdiv)); in s5p_get_pll36xx() 203 do_div(fvco, (pdiv << sdiv)); in s5p_get_pll45xx() 254 do_div(tmp, (pdiv << sdiv)); in s5p_get_pll46xx() 258 do_div(tmp, (pdiv << sdiv)); in s5p_get_pll46xx() 297 do_div(tmp, (pdiv << sdiv)); in s5p_get_pll90xx() [all …]
|
/linux-3.4.99/include/asm-generic/ |
D | div64.h | 25 # define do_div(n,base) ({ \ macro 40 # define do_div(n,base) ({ \ macro 54 # error do_div() does not yet support the C64
|
/linux-3.4.99/fs/xfs/ |
D | xfs_linux.h | 239 mod = do_div(*(__u64 *)a, b); in xfs_do_div() 256 return do_div(c, b); in xfs_do_mod() 265 #undef do_div 266 #define do_div(a, b) xfs_do_div(&(a), (b), sizeof(a)) macro 272 do_div(x, y); in roundup_64() 279 do_div(x, y); in howmany_64()
|
/linux-3.4.99/include/linux/ |
D | acct.h | 188 do_div(tmp, (NSEC_PER_SEC / AHZ)); in jiffies_to_AHZ() 196 do_div(x, (NSEC_PER_SEC / AHZ)); in nsec_to_AHZ() 199 do_div(x, (NSEC_PER_SEC / 512)); in nsec_to_AHZ() 207 do_div(x, (unsigned long)((9ull * NSEC_PER_SEC + (AHZ/2)) in nsec_to_AHZ()
|
D | clocksource.h | 233 do_div(tmp, khz); in clocksource_khz2mult() 259 do_div(tmp, hz); in clocksource_hz2mult()
|
/linux-3.4.99/drivers/media/dvb/frontends/ |
D | ves1820.c | 140 fptmp = fpxin; do_div(fptmp, 123); in ves1820_set_symbolrate() 143 fptmp = fpxin; do_div(fptmp, 160); in ves1820_set_symbolrate() 146 fptmp = fpxin; do_div(fptmp, 246); in ves1820_set_symbolrate() 149 fptmp = fpxin; do_div(fptmp, 320); in ves1820_set_symbolrate() 152 fptmp = fpxin; do_div(fptmp, 492); in ves1820_set_symbolrate() 155 fptmp = fpxin; do_div(fptmp, 640); in ves1820_set_symbolrate() 158 fptmp = fpxin; do_div(fptmp, 984); in ves1820_set_symbolrate()
|
D | tda10048.c | 319 do_div(t, sample_freq_hz); in tda10048_set_phy2() 321 do_div(t, 10); in tda10048_set_phy2() 327 do_div(t, sample_freq_hz); in tda10048_set_phy2() 329 do_div(t, 10); in tda10048_set_phy2() 357 do_div(t, z); in tda10048_set_wref() 359 do_div(t, 10); in tda10048_set_wref() 385 do_div(t, bw); in tda10048_set_invwref() 387 do_div(t, 10); in tda10048_set_invwref()
|
/linux-3.4.99/arch/x86/kernel/ |
D | tsc.c | 154 do_div(tmp, 1000000); in calc_hpet_ref() 155 do_div(deltatsc, tmp); in calc_hpet_ref() 174 do_div(tmp, PMTMR_TICKS_PER_SEC); in calc_pmtimer_ref() 175 do_div(deltatsc, tmp); in calc_pmtimer_ref() 244 do_div(delta, ms); in pit_calibrate_tsc() 394 do_div(delta, i*256*1000); in quick_pit_calibrate() 481 do_div(delta, tsc_ref_min); in native_calibrate_tsc() 996 do_div(lpj, HZ); in tsc_init()
|
D | pvclock.c | 76 do_div(pv_tsc_khz, src->tsc_to_system_mul); in pvclock_tsc_khz() 154 now.tv_nsec = do_div(delta, NSEC_PER_SEC); in pvclock_read_wallclock()
|
/linux-3.4.99/lib/ |
D | string_helpers.c | 46 remainder = do_div(size, divisor[units]); in string_get_size() 56 do_div(remainder, divisor[units]); in string_get_size()
|
D | reciprocal_div.c | 8 do_div(val, k); in reciprocal_value()
|
/linux-3.4.99/arch/s390/include/asm/ |
D | cputime.h | 53 do_div(jif, 4096000000ULL / HZ); in cputime64_to_jiffies64() 150 do_div(clock, 4096000000ULL / USER_HZ); in cputime_to_clock_t() 165 do_div(clock, 4096000000ULL / USER_HZ); in cputime64_to_clock_t()
|
/linux-3.4.99/arch/powerpc/kvm/ |
D | timing.c | 153 do_div(min, tb_ticks_per_usec); in kvmppc_exit_timing_show() 155 do_div(max, tb_ticks_per_usec); in kvmppc_exit_timing_show() 157 do_div(sum, tb_ticks_per_usec); in kvmppc_exit_timing_show() 159 do_div(sum_quad, tb_ticks_per_usec); in kvmppc_exit_timing_show()
|
/linux-3.4.99/arch/ia64/xen/ |
D | time.c | 117 do_div(stolentick, NS_PER_TICK); in consider_steal_time() 120 do_div(stolen, NS_PER_TICK); in consider_steal_time() 126 do_div(blocked, NS_PER_TICK); in consider_steal_time()
|
/linux-3.4.99/arch/blackfin/kernel/ |
D | pwm.c | 71 do_div(val, NSEC_PER_SEC); in pwm_config() 75 do_div(val, period_ns); in pwm_config()
|
/linux-3.4.99/arch/x86/kernel/cpu/ |
D | vmware.c | 60 do_div(tsc_hz, 1000); in vmware_get_tsc_khz() 68 do_div(lpj, HZ); in vmware_get_tsc_khz()
|
/linux-3.4.99/drivers/net/wireless/ath/carl9170/ |
D | cmd.c | 194 do_div(info->channel_time, 1000); in carl9170_collect_tally() 195 do_div(info->channel_time_busy, 1000); in carl9170_collect_tally() 196 do_div(info->channel_time_tx, 1000); in carl9170_collect_tally()
|
/linux-3.4.99/arch/arm/mach-s3c24xx/include/mach/ |
D | regs-s3c2443-clock.h | 168 do_div(fvco, pdiv << sdiv); in s3c2443_get_mpll() 188 do_div(fvco, (pdiv + 2) << sdiv); in s3c2443_get_epll()
|
/linux-3.4.99/arch/mips/jz4740/ |
D | pwm.c | 107 do_div(tmp, 1000000000); in pwm_config() 119 do_div(tmp, period_ns); in pwm_config()
|
/linux-3.4.99/arch/arm/include/asm/ |
D | div64.h | 59 #define do_div(n, base) __do_div_asm(n, base) macro 73 #define do_div(n, base) \ macro
|
/linux-3.4.99/drivers/s390/scsi/ |
D | zfcp_sysfs.c | 386 do_div(fsum, 1000); \ 387 do_div(fmin, 1000); \ 388 do_div(fmax, 1000); \ 389 do_div(csum, 1000); \ 390 do_div(cmin, 1000); \ 391 do_div(cmax, 1000); \
|
/linux-3.4.99/include/linux/mtd/ |
D | mtd.h | 321 do_div(sz, mtd->erasesize); in mtd_div_by_eb() 329 return do_div(sz, mtd->erasesize); in mtd_mod_by_eb() 336 do_div(sz, mtd->writesize); in mtd_div_by_ws() 344 return do_div(sz, mtd->writesize); in mtd_mod_by_ws()
|
/linux-3.4.99/fs/ufs/ |
D | ufs.h | 152 do_div(b, uspi->s_fpg); in ufs_dtog() 158 return do_div(b, uspi->s_fpg); in ufs_dtogd()
|
/linux-3.4.99/arch/m68k/include/asm/ |
D | div64.h | 12 #define do_div(n, base) ({ \ macro
|