/linux-4.1.27/include/asm-generic/ |
H A D | div64.h | 7 * The semantics of do_div() are: 9 * uint32_t do_div(uint64_t *n, uint32_t base) 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-4.1.27/lib/ |
H A D | reciprocal_div.c | 19 do_div(m, d); reciprocal_value()
|
H A D | div64.c | 4 * Based on former do_div() implementation from asm-parisc/div64.h: 12 * The fast case for (n>>32 == 0) is handled inline by do_div().
|
H A D | string_helpers.c | 71 do_div(blk_size, divisor[units]); string_get_size() 76 do_div(size, divisor[units]); string_get_size() 86 remainder = do_div(size, divisor[units]); string_get_size()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | cputime.h | 78 do_div(ct, HZ); jiffies_to_cputime() 100 do_div(ct, HZ); jiffies64_to_cputime64() 132 do_div(ct, 1000000); usecs_to_cputime() 164 frac = do_div(x, tb_ticks_per_sec); cputime_to_timespec() 167 do_div(x, tb_ticks_per_sec); cputime_to_timespec() 176 do_div(ct, 1000000000); timespec_to_cputime() 188 frac = do_div(x, tb_ticks_per_sec); cputime_to_timeval() 191 do_div(x, tb_ticks_per_sec); cputime_to_timeval() 200 do_div(ct, 1000000); timeval_to_cputime() 224 do_div(ct, USER_HZ); clock_t_to_cputime()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | div64.h | 10 * do_div() is NOT a C function. It wants to return 21 #define do_div(n, base) \ macro
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | div64.h | 12 #define do_div(n, base) ({ \ macro
|
/linux-4.1.27/include/linux/ |
H A D | acct.h | 80 do_div(tmp, (NSEC_PER_SEC / AHZ)); jiffies_to_AHZ() 88 do_div(x, (NSEC_PER_SEC / AHZ)); nsec_to_AHZ() 91 do_div(x, (NSEC_PER_SEC / 512)); nsec_to_AHZ() 99 do_div(x, (unsigned long)((9ull * NSEC_PER_SEC + (AHZ/2)) nsec_to_AHZ()
|
H A D | clocksource.h | 134 tmp += khz/2; /* round for do_div */ clocksource_khz2mult() 135 do_div(tmp, khz); clocksource_khz2mult() 160 tmp += hz/2; /* round for do_div */ clocksource_hz2mult() 161 do_div(tmp, hz); clocksource_hz2mult()
|
H A D | math64.h | 66 *remainder = do_div(dividend, divisor); div_u64_rem()
|
H A D | clockchips.h | 163 do_div(tmp, nsec); div_sc()
|
H A D | ktime.h | 181 do_div(tmp, div); ktime_divns()
|
/linux-4.1.27/drivers/clk/mxs/ |
H A D | clk-ref.c | 62 do_div(tmp, frac); clk_ref_recalc_rate() 75 do_div(tmp, rate); clk_ref_round_rate() 85 do_div(tmp, frac); clk_ref_round_rate() 100 do_div(tmp, rate); clk_ref_set_rate()
|
H A D | clk-frac.c | 65 do_div(tmp, parent_rate); clk_frac_round_rate() 87 do_div(tmp, parent_rate); clk_frac_set_rate()
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | clk-pfd.c | 66 do_div(tmp, frac); clk_pfd_recalc_rate() 78 do_div(tmp, rate); clk_pfd_round_rate() 86 do_div(tmp, frac); clk_pfd_round_rate() 99 do_div(tmp, rate); clk_pfd_set_rate()
|
H A D | clk-pllv2.c | 103 do_div(temp, mfd + 1); __clk_pllv2_recalc_rate() 145 do_div(temp64, quad_parent_rate / 1000000); __clk_pllv2_set_rate()
|
H A D | clk-pllv1.c | 86 do_div(ll, mfd + 1); clk_pllv1_recalc_rate()
|
H A D | clk-pllv3.c | 228 do_div(temp64, parent_rate); clk_pllv3_av_round_rate() 250 do_div(temp64, parent_rate); clk_pllv3_av_set_rate()
|
/linux-4.1.27/kernel/trace/ |
H A D | trace_benchmark.c | 99 do_div(stddev, (u32)bm_cnt); trace_do_benchmark() 100 do_div(stddev, (u32)bm_cnt - 1); trace_do_benchmark() 105 do_div(delta, bm_cnt); trace_do_benchmark() 127 do_div(seed, last_seed); trace_do_benchmark() 129 do_div(seed, 2); trace_do_benchmark()
|
H A D | trace_mmiotrace.c | 177 unsigned long usec_rem = do_div(t, USEC_PER_SEC); mmio_print_rw() 222 unsigned long usec_rem = do_div(t, USEC_PER_SEC); mmio_print_map() 256 unsigned long usec_rem = do_div(t, USEC_PER_SEC); mmio_print_mark()
|
H A D | trace_output.c | 533 unsigned long abs_usec = do_div(abs_ts, USEC_PER_MSEC); lat_print_timestamp() 535 unsigned long rel_usec = do_div(rel_ts, USEC_PER_MSEC); lat_print_timestamp() 580 usec_rem = do_div(t, USEC_PER_SEC); trace_print_context()
|
H A D | ring_buffer_benchmark.c | 324 do_div(time, USEC_PER_MSEC); ring_buffer_producer()
|
/linux-4.1.27/drivers/clk/rockchip/ |
H A D | clk-mmc-phase.c | 94 do_div(delay, rate); rockchip_mmc_set_phase() 96 do_div(delay, 16); rockchip_mmc_set_phase() 97 do_div(delay, ROCKCHIP_MMC_DELAY_ELEMENT_PSEC); rockchip_mmc_set_phase()
|
H A D | clk-pll.c | 152 do_div(rate64, nr + 1); rockchip_rk3066_pll_recalc_rate() 153 do_div(rate64, no + 1); rockchip_rk3066_pll_recalc_rate()
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | cputime.h | 46 do_div(jif, CPUTIME_PER_SEC / HZ); cputime64_to_jiffies64() 125 do_div(clock, CPUTIME_PER_SEC / USER_HZ); cputime_to_clock_t() 140 do_div(clock, CPUTIME_PER_SEC / USER_HZ); cputime64_to_clock_t()
|
/linux-4.1.27/arch/c6x/kernel/ |
H A D | time.c | 56 do_div(tmp, c6x_core_freq); time_init()
|
H A D | setup.c | 114 do_div(tmp, 1000000); get_cpuinfo()
|
/linux-4.1.27/drivers/staging/goldfish/ |
H A D | goldfish_nand.c | 106 rem = do_div(ofs, mtd->writesize); goldfish_nand_erase() 144 rem = do_div(ofs, mtd->writesize); goldfish_nand_read_oob() 176 rem = do_div(ofs, mtd->writesize); goldfish_nand_write_oob() 204 rem = do_div(from, mtd->writesize); goldfish_nand_read() 226 rem = do_div(to, mtd->writesize); goldfish_nand_write() 247 rem = do_div(ofs, mtd->erasesize); goldfish_nand_block_isbad() 268 rem = do_div(ofs, mtd->erasesize); goldfish_nand_block_markbad() 322 do_div(mtd->size, mtd->writesize + mtd->oobsize); goldfish_nand_init_device()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_linux.h | 221 /* Move the kernel do_div definition off to one side */ 225 * of the compiler which do not like us using do_div in the middle 294 mod = do_div(*(__u64 *)a, b); xfs_do_div() 311 return do_div(c, b); xfs_do_mod() 320 #undef do_div macro 321 #define do_div(a, b) xfs_do_div(&(a), (b), sizeof(a)) macro 327 do_div(x, y); roundup_64() 334 do_div(x, y); howmany_64()
|
H A D | xfs_mount.h | 251 do_div(ld, mp->m_sb.sb_agblocks); xfs_daddr_to_agno() 259 return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks); xfs_daddr_to_agbno()
|
H A D | xfs_mount.c | 433 do_div(icount, 100); xfs_set_maxicount() 434 do_div(icount, mp->m_ialloc_blks); xfs_set_maxicount() 493 do_div(space, 100); xfs_set_low_space_thresholds() 601 do_div(resblks, 20); xfs_default_resblks()
|
H A D | xfs_fsops.c | 181 nb_mod = do_div(new, mp->m_sb.sb_agblocks); xfs_growfs_data_private() 501 do_div(icount, 100); xfs_growfs_data_private()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | ves1820.c | 140 fptmp = fpxin; do_div(fptmp, 123); ves1820_set_symbolrate() 143 fptmp = fpxin; do_div(fptmp, 160); ves1820_set_symbolrate() 146 fptmp = fpxin; do_div(fptmp, 246); ves1820_set_symbolrate() 149 fptmp = fpxin; do_div(fptmp, 320); ves1820_set_symbolrate() 152 fptmp = fpxin; do_div(fptmp, 492); ves1820_set_symbolrate() 155 fptmp = fpxin; do_div(fptmp, 640); ves1820_set_symbolrate() 158 fptmp = fpxin; do_div(fptmp, 984); ves1820_set_symbolrate()
|
H A D | tda10048.c | 319 do_div(t, sample_freq_hz); tda10048_set_phy2() 321 do_div(t, 10); tda10048_set_phy2() 327 do_div(t, sample_freq_hz); tda10048_set_phy2() 329 do_div(t, 10); tda10048_set_phy2() 357 do_div(t, z); tda10048_set_wref() 359 do_div(t, 10); tda10048_set_wref() 385 do_div(t, bw); tda10048_set_invwref() 387 do_div(t, 10); tda10048_set_invwref()
|
H A D | atbm8830.c | 108 do_div(t, 30400); set_osc_freq() 130 do_div(t, fs); set_if_freq() 131 do_div(t, 1000); set_if_freq()
|
H A D | cx24113.c | 350 /* do_div needs an u64 as first argument */ cx24113_calc_pll_nf() 352 do_div(dividend, state->config->xtal_khz * 1000 * factor * 2); cx24113_calc_pll_nf()
|
H A D | zl10353.c | 138 do_div(value, adc_clock); zl10353_calc_nominal_rate() 167 do_div(value, adc_clock); zl10353_calc_input_freq()
|
H A D | tda10086.c | 350 do_div(big, (SACLK/1000ULL)); tda10086_set_symbol_rate() 480 do_div(tmp64, (1ULL<<15) * (1ULL<<1)); tda10086_get_frontend()
|
H A D | itd1000.c | 239 do_div(tmp, 1000000); itd1000_set_lo()
|
H A D | s921.c | 289 do_div(offset, 6000000); s921_pll_tune()
|
/linux-4.1.27/drivers/pwm/ |
H A D | pwm-bfin.c | 73 do_div(val, NSEC_PER_SEC); bfin_pwm_config() 77 do_div(val, period_ns); bfin_pwm_config()
|
H A D | pwm-lpc32xx.c | 44 do_div(c, NSEC_PER_SEC); lpc32xx_pwm_config() 67 do_div(c, period_ns); lpc32xx_pwm_config()
|
H A D | pwm-lpss.c | 64 do_div(freq, period_ns); pwm_lpss_config() 73 do_div(base_unit, c); pwm_lpss_config()
|
H A D | pwm-sun4i.c | 118 do_div(div, NSEC_PER_SEC); sun4i_pwm_config() 129 do_div(div, prescaler_table[prescaler]); sun4i_pwm_config() 131 do_div(div, NSEC_PER_SEC); sun4i_pwm_config() 144 do_div(div, period_ns); sun4i_pwm_config()
|
H A D | pwm-ep93xx.c | 93 do_div(c, 1000000000); ep93xx_pwm_config() 98 do_div(c, period_ns); ep93xx_pwm_config()
|
H A D | pwm-jz4740.c | 119 do_div(tmp, 1000000000); jz4740_pwm_config() 131 do_div(tmp, period_ns); jz4740_pwm_config()
|
H A D | pwm-mxs.c | 63 do_div(c, 1000000000); mxs_pwm_config() 73 do_div(c, period_ns); mxs_pwm_config()
|
H A D | pwm-atmel-hlcdc.c | 71 do_div(clk_period_ns, clk_freq); atmel_hlcdc_pwm_config() 83 do_div(clk_period_ns, clk_freq); atmel_hlcdc_pwm_config() 120 do_div(pwmcval, period_ns); atmel_hlcdc_pwm_config()
|
H A D | pwm-fsl-ftm.c | 133 do_div(ratio, sys_rate); fsl_pwm_calculate_default_ps() 138 do_div(ratio, sys_rate); fsl_pwm_calculate_default_ps() 155 do_div(c, 1000000000UL); fsl_pwm_calculate_cycles() 159 do_div(c0, (1 << fpc->clk_ps)); fsl_pwm_calculate_cycles() 228 do_div(duty, period_ns); fsl_pwm_calculate_duty()
|
H A D | pwm-puv3.c | 50 do_div(c, 1000000000); puv3_pwm_config()
|
H A D | pwm-img.c | 243 do_div(val, clk_rate); img_pwm_probe() 247 do_div(val, clk_rate); img_pwm_probe()
|
H A D | pwm-imx.c | 153 do_div(c, 1000000000); imx_pwm_config_v2() 160 do_div(c, period_ns); imx_pwm_config_v2()
|
H A D | pwm-rockchip.c | 117 do_div(div, pc->data->prescaler * NSEC_PER_SEC); rockchip_pwm_config() 121 do_div(div, pc->data->prescaler * NSEC_PER_SEC); rockchip_pwm_config()
|
H A D | pwm-tiecap.c | 78 do_div(c, NSEC_PER_SEC); ecap_pwm_config() 87 do_div(c, NSEC_PER_SEC); ecap_pwm_config()
|
H A D | pwm-vt8500.c | 97 do_div(c, 1000000000); vt8500_pwm_config() 113 do_div(c, period_ns); vt8500_pwm_config()
|
H A D | pwm-pxa.c | 76 do_div(c, 1000000000); pxa_pwm_config()
|
H A D | pwm-atmel.c | 118 do_div(div, NSEC_PER_SEC); atmel_pwm_config() 133 do_div(div, period_ns); atmel_pwm_config()
|
H A D | pwm-tiehrpwm.c | 250 do_div(c, NSEC_PER_SEC); ehrpwm_pwm_config() 259 do_div(c, NSEC_PER_SEC); ehrpwm_pwm_config()
|
H A D | pwm-tegra.c | 81 do_div(c, period_ns); tegra_pwm_config()
|
/linux-4.1.27/arch/arm/mach-s3c24xx/include/mach/ |
H A D | regs-s3c2443-clock.h | 166 do_div(fvco, pdiv << sdiv); s3c2443_get_mpll() 186 do_div(fvco, (pdiv + 2) << sdiv); s3c2443_get_epll()
|
/linux-4.1.27/kernel/time/ |
H A D | jiffies.c | 126 do_div(shift_hz, cycles_per_tick); register_refined_jiffies() 130 do_div(nsec_per_tick, (u32)shift_hz); register_refined_jiffies()
|
H A D | test_udelay.c | 65 do_div(avg, iters); udelay_test_single()
|
H A D | clocksource.c | 83 do_div(tmp, from); clocks_calc_mult_shift() 462 do_div(ret,100); clocksource_max_adjustment() 490 do_div(max_cycles, mult+maxadj); clocks_calc_max_nsecs() 679 do_div(sec, freq); __clocksource_update_freq_scale() 680 do_div(sec, scale); __clocksource_update_freq_scale()
|
H A D | clockevents.c | 78 do_div(clc, evt->mult); cev_delta2ns() 513 do_div(sec, freq); clockevents_config()
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | writeback.h | 20 do_div(offset, d->stripe_size); offset_to_stripe()
|
/linux-4.1.27/arch/powerpc/kvm/ |
H A D | timing.c | 152 do_div(min, tb_ticks_per_usec); kvmppc_exit_timing_show() 154 do_div(max, tb_ticks_per_usec); kvmppc_exit_timing_show() 156 do_div(sum, tb_ticks_per_usec); kvmppc_exit_timing_show() 158 do_div(sum_quad, tb_ticks_per_usec); kvmppc_exit_timing_show()
|
H A D | emulate.c | 74 do_div(dec_time, decrementer_clockevent.mult); kvmppc_emulate_dec() 75 dec_nsec = do_div(dec_time, NSEC_PER_SEC); kvmppc_emulate_dec()
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | div64.h | 8 * The semantics of do_div() are: 10 * uint32_t do_div(uint64_t *n, uint32_t base) 59 #define do_div(n, base) __do_div_asm(n, base) macro 73 #define do_div(n, base) \ macro
|
/linux-4.1.27/sound/drivers/pcsp/ |
H A D | pcsp.h | 43 do_div(__val, PIT_TICK_RATE); \
|
/linux-4.1.27/drivers/s390/scsi/ |
H A D | zfcp_sysfs.c | 397 do_div(fsum, 1000); \ 398 do_div(fmin, 1000); \ 399 do_div(fmax, 1000); \ 400 do_div(csum, 1000); \ 401 do_div(cmin, 1000); \ 402 do_div(cmax, 1000); \
|
/linux-4.1.27/drivers/clk/samsung/ |
H A D | clk-pll.c | 86 do_div(fvco, (pdiv + 2) << sdiv); samsung_pll2126_recalc_rate() 119 do_div(fvco, pdiv << sdiv); samsung_pll3000_recalc_rate() 156 do_div(fvco, (pdiv << sdiv)); samsung_pll35xx_recalc_rate() 262 do_div(fvco, (pdiv << sdiv)); samsung_pll36xx_recalc_rate() 376 do_div(fvco, (pdiv << sdiv)); samsung_pll45xx_recalc_rate() 526 do_div(fvco, (pdiv << sdiv)); samsung_pll46xx_recalc_rate() 668 do_div(fvco, (pdiv << sdiv)); samsung_pll6552_recalc_rate() 705 do_div(fvco, (pdiv << sdiv)); samsung_pll6553_recalc_rate() 741 do_div(fvco, (pdiv + 2) << sdiv); samsung_s3c2410_pll_recalc_rate() 759 do_div(fvco, (pdiv + 2) << sdiv); samsung_s3c2440_mpll_recalc_rate() 915 do_div(fvco, (p << s)); samsung_pll2550x_recalc_rate() 990 do_div(fvco, (pdiv << sdiv)); samsung_pll2550xx_recalc_rate() 1098 do_div(fvco, (pdiv << sdiv)); samsung_pll2650xx_recalc_rate()
|
/linux-4.1.27/drivers/staging/sm750fb/ |
H A D | sm750.h | 174 do_div(hz,ps); \ 181 do_div(numerator, psvalue); ps_to_hz()
|
/linux-4.1.27/drivers/clk/tegra/ |
H A D | clk-divider.c | 51 do_div(divider_ux1, rate); get_div() 83 do_div(rate, div); clk_frac_div_recalc_rate()
|
H A D | clk-pll.c | 683 do_div(rate, cfg.m); clk_pll_recalc_rate() 799 do_div(rate, divm); clk_plle_recalc_rate() 1020 do_div(output_rate, cfg.m * p_div); clk_pll_ramp_round_rate() 1217 do_div(output_rate, m); _pllre_calc_rate() 1271 do_div(rate, cfg.m); clk_pllre_recalc_rate()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
H A D | vmware.c | 63 do_div(tsc_hz, 1000); vmware_get_tsc_khz() 71 do_div(lpj, HZ); vmware_get_tsc_khz()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | pvclock.c | 38 do_div(pv_tsc_khz, src->tsc_to_system_mul); pvclock_tsc_khz() 138 now.tv_nsec = do_div(delta, NSEC_PER_SEC); pvclock_read_wallclock()
|
H A D | tsc.c | 399 do_div(tmp, 1000000); calc_hpet_ref() 400 do_div(deltatsc, tmp); calc_hpet_ref() 419 do_div(tmp, PMTMR_TICKS_PER_SEC); calc_pmtimer_ref() 420 do_div(deltatsc, tmp); calc_pmtimer_ref() 489 do_div(delta, ms); pit_calibrate_tsc() 639 do_div(delta, i*256*1000); quick_pit_calibrate() 733 do_div(delta, tsc_ref_min); native_calibrate_tsc() 1213 do_div(lpj, HZ);
|
H A D | kvmclock.c | 124 do_div(lpj, HZ); kvm_get_preset_lpj()
|
/linux-4.1.27/fs/ntfs/ |
H A D | time.h | 26 #include <asm/div64.h> /* For do_div(). */ 95 ts.tv_nsec = do_div(t, 10000000) * 100; ntfs2utc()
|
/linux-4.1.27/fs/omfs/ |
H A D | bitmap.c | 100 bit = do_div(tmp, bits_per_entry); omfs_allocate_block() 183 bit = do_div(tmp, bits_per_entry); omfs_clear_range()
|
/linux-4.1.27/fs/ufs/ |
H A D | ufs.h | 164 do_div(b, uspi->s_fpg); ufs_dtog() 170 return do_div(b, uspi->s_fpg); ufs_dtogd()
|
/linux-4.1.27/kernel/ |
H A D | tsacct.c | 42 do_div(delta, NSEC_PER_USEC); bacct_add_tsk() 45 do_div(delta, USEC_PER_SEC); bacct_add_tsk()
|
H A D | acct.c | 111 do_div(suspend, 100); check_free_space() 118 do_div(resume, 100); check_free_space() 447 do_div(elapsed, AHZ); fill_ac()
|
/linux-4.1.27/drivers/oprofile/ |
H A D | nmi_timer_int.c | 132 do_div(period, HZ); nmi_timer_setup()
|
/linux-4.1.27/arch/s390/lib/ |
H A D | delay.c | 122 do_div(nsecs, 125); __ndelay()
|
/linux-4.1.27/arch/mips/netlogic/xlp/ |
H A D | nlm_hal.c | 267 do_div(num, denom); nlm_xlp2_get_core_frequency() 288 do_div(num, denom); nlm_xlp_get_core_frequency() 433 do_div(pll_out_freq_num, pll_out_freq_den); nlm_xlp2_get_pic_frequency() 442 do_div(pll_out_freq_num, 1 << pic_div); nlm_xlp2_get_pic_frequency()
|
/linux-4.1.27/arch/arm/common/ |
H A D | icst.c | 35 do_div(dividend, divisor); icst_hz()
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
H A D | cmd.c | 194 do_div(info->time, 1000); carl9170_collect_tally() 195 do_div(info->time_busy, 1000); carl9170_collect_tally() 196 do_div(info->time_tx, 1000); carl9170_collect_tally()
|
/linux-4.1.27/arch/powerpc/boot/ |
H A D | stdio.c | 26 # define do_div(n, base) ({ \ macro 42 # define do_div(n,base) ({ \ macro 110 tmp[i++] = digits[do_div(num, base)]; number()
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | comedi_test.c | 101 do_div(binary_amplitude, krange->max - krange->min); fake_sawtooth() 106 do_div(value, devpriv->usec_period); fake_sawtooth() 126 do_div(value, krange->max - krange->min); fake_squarewave()
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/ |
H A D | linux-time.h | 105 do_div(t, HZ); cfs_duration_usec()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
H A D | osdep_service.c | 125 return do_div(x, y); rtw_modular64()
|
/linux-4.1.27/drivers/clk/socfpga/ |
H A D | clk-pll.c | 65 do_div(vco_freq, (1 + divq)); clk_pll_recalc_rate()
|
/linux-4.1.27/drivers/clk/berlin/ |
H A D | berlin2-pll.c | 85 do_div(rate, rfdiv * vcodiv); berlin2_pll_recalc_rate()
|
H A D | berlin2-avpll.c | 179 do_div(freq, refdiv); berlin2_avpll_vco_recalc_rate() 347 do_div(freq, divider); berlin2_avpll_channel_recalc_rate()
|
/linux-4.1.27/drivers/clk/ |
H A D | clk-cdce706.c | 180 do_div(res, hwd->div); cdce706_pll_recalc_rate() 212 do_div(res, hwd->div); cdce706_pll_round_rate() 333 do_div(div_rate64, m); cdce706_divider_round_rate() 334 do_div(div_rate64, div); cdce706_divider_round_rate()
|
H A D | clk-fixed-factor.c | 35 do_div(rate, fix->div); clk_factor_recalc_rate()
|
H A D | clk-fractional-divider.c | 43 do_div(ret, n); clk_fd_recalc_rate()
|
H A D | clk-si5351.c | 438 do_div(rate, 128 * hwdata->params.p3); si5351_pll_recalc_rate() 474 do_div(lltmp, *parent_rate); si5351_pll_round_rate() 493 do_div(lltmp, c); si5351_pll_round_rate() 631 do_div(rate, m); si5351_msynth_recalc_rate() 673 do_div(lltmp, rate); si5351_msynth_round_rate() 704 do_div(lltmp, rate); si5351_msynth_round_rate() 718 do_div(lltmp, a * c + b); si5351_msynth_round_rate()
|
H A D | clk-axi-clkgen.c | 440 do_div(tmp, dout); axi_clkgen_recalc_rate()
|
/linux-4.1.27/drivers/md/persistent-data/ |
H A D | dm-space-map-common.c | 284 b = do_div(index, ll->entries_per_block); sm_ll_lookup_bitmap() 338 begin = do_div(index_begin, ll->entries_per_block); sm_ll_find_free_block() 339 end = do_div(end, ll->entries_per_block); sm_ll_find_free_block() 399 bit = do_div(index, ll->entries_per_block); sm_ll_mutate()
|
/linux-4.1.27/include/linux/mtd/ |
H A D | mtd.h | 326 do_div(sz, mtd->erasesize); mtd_div_by_eb() 334 return do_div(sz, mtd->erasesize); mtd_mod_by_eb() 341 do_div(sz, mtd->writesize); mtd_div_by_ws() 349 return do_div(sz, mtd->writesize); mtd_mod_by_ws()
|
/linux-4.1.27/arch/powerpc/platforms/85xx/ |
H A D | p1022_rdk.c | 66 do_div(temp, pixclock); p1022rdk_set_pixel_clock()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
H A D | div64.h | 36 #define do_div(n, base) \ macro
|
/linux-4.1.27/sound/soc/pxa/ |
H A D | brownstone.c | 90 do_div(sspa_div, sspa_mclk); brownstone_wm8994_hw_params()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
H A D | vivid-kthread-out.c | 169 do_div(buffers_since_start, HZ * numerator); vivid_thread_vid_out() 206 do_div(next_jiffies_since_start, denominator); vivid_thread_vid_out()
|
H A D | vivid-sdr-cap.c | 147 do_div(buffers_since_start, HZ * SDR_CAP_SAMPLES_PER_BUF); vivid_thread_sdr_cap() 182 do_div(next_jiffies_since_start, dev->sdr_adc_freq); vivid_thread_sdr_cap()
|
/linux-4.1.27/drivers/firmware/efi/ |
H A D | efi-pstore.c | 331 do_div(id, 1000); efi_pstore_erase() 332 part = do_div(id, 100); efi_pstore_erase()
|
/linux-4.1.27/fs/nfs/filelayout/ |
H A D | filelayoutdev.c | 230 do_div(tmp, flseg->stripe_unit); nfs4_fl_calc_j_index() 232 return do_div(tmp, flseg->dsaddr->stripe_count); nfs4_fl_calc_j_index()
|
/linux-4.1.27/arch/arm/vfp/ |
H A D | vfp.h | 124 do_div(z, mh); vfp_estimate_div128to64() 138 do_div(remh, mh); vfp_estimate_div128to64()
|
/linux-4.1.27/arch/alpha/boot/ |
H A D | stdio.c | 21 # define do_div(n, base) ({ \ macro 84 tmp[i++] = digits[do_div(num, base)]; number()
|
/linux-4.1.27/fs/cachefiles/ |
H A D | bind.c | 171 do_div(stats.f_files, 100); cachefiles_daemon_add_cache() 182 do_div(stats.f_blocks, 100); cachefiles_daemon_add_cache()
|
/linux-4.1.27/net/ipv4/ |
H A D | tcp_illinois.c | 122 do_div(t, ca->cnt_rtt); avg_delay() 317 do_div(t, info->vegas.tcpv_rttcnt); tcp_illinois_info()
|
H A D | tcp_cubic.c | 283 do_div(t, HZ); bictcp_update() 510 do_div(cube_factor, bic_scale * 10); cubictcp_register()
|
H A D | tcp_veno.c | 149 do_div(target_cwnd, rtt); tcp_veno_cong_avoid()
|
H A D | tcp_yeah.c | 152 do_div(bw, rtt); tcp_yeah_cong_avoid()
|
/linux-4.1.27/drivers/iio/frequency/ |
H A D | adf4350.c | 180 do_div(tmp, st->fpfd); /* Div round closest (n + d/2)/d */ adf4350_set_freq() 181 st->r0_fract = do_div(tmp, st->r1_mod); adf4350_set_freq() 320 do_div(val, st->r1_mod * (1 << st->r4_rf_div_sel)); adf4350_read()
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | mt9v011.c | 217 do_div(frames_per_ms, t_time); calc_fps() 251 do_div(t_time, denominator); calc_speed() 254 do_div(speed, row_time * line_time); calc_speed()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
H A D | class_obd.c | 476 if (do_div(div64val, 256) != (u64val & 255)) { obd_init_checks() 477 CERROR("do_div(%#llx,256) != %llu\n", u64val, u64val &255); obd_init_checks() 481 CERROR("do_div(%#llx,256) %llu != %llu\n", obd_init_checks()
|
H A D | lprocfs_status.c | 750 /* first argument to do_div MUST be __u64 */ lprocfs_rd_import() 752 do_div(sum, ret.lc_count); lprocfs_rd_import() 796 /* first argument to do_div MUST be __u64 */ lprocfs_rd_import() 798 do_div(sum, ret.lc_count); lprocfs_rd_import() 811 /* first argument to do_div MUST be __u64 */ lprocfs_rd_import() 813 do_div(sum, ret.lc_count); lprocfs_rd_import() 1923 do_div(frac, frac_d); lprocfs_write_frac_u64_helper()
|
/linux-4.1.27/kernel/sched/ |
H A D | debug.c | 43 do_div(nsec, 1000000); nsec_high() 46 do_div(nsec, 1000000); nsec_high() 56 return do_div(nsec, 1000000); nsec_low()
|
/linux-4.1.27/drivers/leds/ |
H A D | leds-pwm.c | 71 do_div(duty, max); led_pwm_set()
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtdconcat.c | 175 if (do_div(__to, mtd->writesize) || (total_len % mtd->writesize)) concat_writev() 880 do_div(tmp64, curr_erasesize); mtd_concat_create() 899 do_div(tmp64, curr_erasesize); mtd_concat_create() 918 do_div(tmp64, curr_erasesize); mtd_concat_create()
|
/linux-4.1.27/drivers/mtd/tests/ |
H A D | readtest.c | 155 do_div(tmp, mtd->erasesize); mtd_readtest_init()
|
H A D | speedtest.c | 189 do_div(k, ms); calc_speed() 228 do_div(tmp, mtd->erasesize); mtd_speedtest_init()
|
H A D | stresstest.c | 180 do_div(tmp, mtd->erasesize); mtd_stresstest_init()
|
H A D | pagetest.c | 362 do_div(tmp, mtd->erasesize); mtd_pagetest_init()
|
H A D | subpagetest.c | 312 do_div(tmp, mtd->erasesize); mtd_subpagetest_init()
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | puv3-core.c | 42 * do_div(v, CLOCK_TICK_RATE >> 12); sched_clock()
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
H A D | mdp_ppp.c | 230 do_div(n, d); scale_params() 240 do_div(n, d); scale_params() 252 do_div(tmp, dim_in); scale_params() 267 do_div(tmp, dim_in); scale_params()
|
/linux-4.1.27/drivers/watchdog/ |
H A D | davinci_wdt.c | 138 do_div(timer_counter, freq); davinci_wdt_get_timeleft()
|
H A D | kempld_wdt.c | 153 remainder = do_div(stage_timeout64, prescaler); kempld_wdt_set_stage_timeout() 195 remainder = do_div(stage_timeout, pld->pld_clock); kempld_wdt_get_timeout()
|
H A D | booke_wdt.c | 69 do_div(tmp, tmp2); period_to_sec()
|
/linux-4.1.27/kernel/bpf/ |
H A D | core.c | 367 DST = do_div(tmp, (u32) SRC); __bpf_prog_run() 375 DST = do_div(tmp, (u32) IMM); __bpf_prog_run() 386 do_div(tmp, (u32) SRC); __bpf_prog_run() 394 do_div(tmp, (u32) IMM); __bpf_prog_run()
|
/linux-4.1.27/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_gpt.c | 417 do_div(clocks, 1000000000); /* Scale it down to ns range */ mpc52xx_gpt_do_start() 436 do_div(clocks, prescale); mpc52xx_gpt_do_start() 517 do_div(period, (u64)gpt->ipb_freq); mpc52xx_gpt_timer_period() 604 do_div(real_timeout, 1000000000ULL); mpc52xx_wdt_ioctl()
|
/linux-4.1.27/arch/blackfin/mach-common/ |
H A D | pm.c | 277 do_div(usec64, get_cclk() / USEC_PER_SEC); bfin_pm_end()
|
/linux-4.1.27/kernel/power/ |
H A D | process.c | 83 do_div(elapsed_msecs64, NSEC_PER_MSEC);
|
H A D | wakelock.c | 221 do_div(timeout_ms, NSEC_PER_MSEC); pm_wake_lock()
|
/linux-4.1.27/include/acpi/platform/ |
H A D | aclinuxex.h | 55 (r32) = do_div ((__n), (d32)); \
|
/linux-4.1.27/include/drm/ |
H A D | drm_fixed.h | 66 do_div(tmp, B.full); dfixed_div()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
H A D | lov_internal.h | 64 __rem = do_div(n, (base) >> LOV_MIN_STRIPE_BITS); \ 68 __rem = do_div(n, base); \
|
/linux-4.1.27/arch/mips/ath79/ |
H A D | clock.c | 225 do_div(t, ref_div); ar934x_get_pll_freq() 230 do_div(t, ref_div * frac); ar934x_get_pll_freq()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | clkt_dpll.c | 117 do_div(num, n); _dpll_compute_new_rate() 264 do_div(dpll_clk, dpll_div + 1); omap2_get_dpll_rate()
|
/linux-4.1.27/drivers/media/i2c/cx25840/ |
H A D | cx25840-ir.c | 250 rem = do_div(n, CX25840_IR_REFCLK_FREQ / 1000000); /* / MHz => ns */ pulse_width_count_to_ns() 270 rem = do_div(n, d); 292 rem = do_div(n, CX25840_IR_REFCLK_FREQ / 1000000); /* / MHz => us */ pulse_width_count_to_us() 311 rem = do_div(clocks, 1000); /* /1000 = cycles */ ns_to_pulse_clocks() 319 do_div(count, (FIFO_RXTX << 2) | 0x3); pulse_clocks_to_clock_divider()
|
/linux-4.1.27/drivers/media/pci/cx88/ |
H A D | cx88-core.c | 741 do_div(pll,xtal); set_pll() 932 do_div(tmp64, vdec_clock); cx88_set_tvnorm() 939 do_div(tmp64, vdec_clock); cx88_set_tvnorm() 946 do_div(tmp64, vdec_clock); cx88_set_tvnorm() 960 do_div(tmp64, fsc8); cx88_set_tvnorm()
|
H A D | cx88-dsp.c | 121 do_div(tmp, divisor); int_goertzel()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | gf110.c | 1000 do_div(value, pclk); gf110_disp_intr_unk2_2_tu() 1007 do_div(value, pclk); gf110_disp_intr_unk2_2_tu() 1019 do_div(ratio, link_nr * link_bw); gf110_disp_intr_unk2_2_tu() 1023 do_div(value, symbol); gf110_disp_intr_unk2_2_tu() 1024 do_div(value, symbol); gf110_disp_intr_unk2_2_tu()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4/ |
H A D | softfloat.c | 665 do_div(tmp, b0); estimateDiv128To64() 677 do_div(tmp, b0); estimateDiv128To64() 815 do_div(zSig, bSig); float32_div()
|
/linux-4.1.27/drivers/staging/iio/impedance-analyzer/ |
H A D | ad5933.c | 226 do_div(freqreg, st->mclk_hz / 4); ad5933_set_freq() 311 do_div(freqreg, 1 << 27); ad5933_show_frequency()
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_rd.c | 423 prot_offset = do_div(tmp, PAGE_SIZE); rd_do_prot_rw() 498 rd_offset = do_div(tmp, PAGE_SIZE); rd_execute_rw()
|
/linux-4.1.27/drivers/staging/media/lirc/ |
H A D | lirc_parallel.c | 295 do_div(helper, timer); lirc_lirc_irq_handler() 402 do_div(helper, 1000000); lirc_write()
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 347 do_div(scale, mode->vtotal); ch7006_setup_properties() 350 do_div(aspect, ch_mode->enc_vdisp); ch7006_setup_properties()
|
/linux-4.1.27/drivers/clk/ti/ |
H A D | fapll.c | 181 do_div(rate, fapll_p); ti_fapll_recalc_rate() 345 do_div(rate, synth_div_freq); ti_fapll_synth_recalc_rate()
|
/linux-4.1.27/drivers/cpufreq/ |
H A D | s5pv210-cpufreq.c | 215 do_div(tmp, freq); s5pv210_set_refresh() 219 do_div(tmp1, tmp); s5pv210_set_refresh()
|
H A D | qoriq-cpufreq.c | 272 do_div(u64temp, get_bus_freq()); qoriq_cpufreq_cpu_init()
|
/linux-4.1.27/drivers/clk/qcom/ |
H A D | clk-rcg2.c | 145 do_div(tmp, n); calc_rate() 207 do_div(tmp, f->m); _freq_tbl_determine_rate()
|
H A D | clk-pll.c | 112 do_div(tmp, n); clk_pll_recalc_rate()
|
H A D | clk-rcg.c | 342 do_div(tmp, n); calc_rate() 432 do_div(tmp, f->m); _freq_tbl_determine_rate()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | ar933x_uart.c | 198 do_div(t, div); ar933x_uart_get_baud() 221 do_div(tstep, clk); ar933x_uart_get_scale_step()
|
/linux-4.1.27/drivers/video/fbdev/matrox/ |
H A D | matroxfb_g450.c | 259 do_div(piic, outd->h_vis); computeRegs() 275 do_div(piic, mt->pixclock); computeRegs()
|
/linux-4.1.27/net/sched/ |
H A D | sch_tbf.c | 130 do_div(len, NSEC_PER_SEC); psched_ns_t2l() 133 do_div(len, 53); psched_ns_t2l()
|
H A D | sch_hfsc.c | 428 do_div(sm, PSCHED_TICKS_PER_SEC); m2sm() 443 do_div(ism, m); m2ism() 456 do_div(dx, USEC_PER_SEC); d2dx() 477 do_div(d, PSCHED_TICKS_PER_SEC); dx2d() 602 do_div(dx, dsm); rtsc_min()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_clock.c | 282 do_div(ns, NSEC_PER_SEC / 2 / HZ); mlx4_en_init_timestamp()
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
H A D | cx23888-ir.c | 284 rem = do_div(n, CX23888_IR_REFCLK_FREQ / 1000000); /* / MHz => ns */ pulse_width_count_to_ns() 300 rem = do_div(n, CX23888_IR_REFCLK_FREQ / 1000000); /* / MHz => us */ pulse_width_count_to_us() 319 rem = do_div(clocks, 1000); /* /1000 = cycles */ ns_to_pulse_clocks() 327 do_div(count, (FIFO_RXTX << 2) | 0x3); pulse_clocks_to_clock_divider()
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
H A D | vp702x-fe.c | 159 do_div(sr,88000); vp702x_fe_set_frontend()
|
/linux-4.1.27/drivers/memory/tegra/ |
H A D | mc.c | 73 do_div(tick, NSEC_PER_SEC); tegra_mc_setup_latency_allowance()
|
/linux-4.1.27/drivers/misc/ |
H A D | ds1682.c | 104 do_div(val, 250); ds1682_store()
|
/linux-4.1.27/drivers/staging/iio/frequency/ |
H A D | ad9832.c | 29 do_div(freqreg, mclk); ad9832_calc_freqreg()
|
H A D | ad9834.c | 32 do_div(freqreg, mclk); ad9834_calc_freqreg()
|
/linux-4.1.27/drivers/staging/iio/trigger/ |
H A D | iio-trig-bfin-timer.c | 233 do_div(val, NSEC_PER_SEC); iio_bfin_tmr_trigger_probe()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
H A D | gf100.c | 188 ret = do_div(tag_base, tag_align); gf100_ltc_init_tag_ram()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | fan.c | 159 do_div(tach, (end - start)); nvkm_therm_fan_sense()
|
/linux-4.1.27/drivers/block/rsxx/ |
H A D | dev.c | 97 do_div(blocks, (geo->heads * geo->sectors)); rsxx_getgeo()
|
/linux-4.1.27/drivers/clk/mvebu/ |
H A D | common.c | 87 do_div(freq_swing_half, (2 * 96 * high_bound)); kirkwood_fix_sscg_deviation()
|
/linux-4.1.27/drivers/clk/pistachio/ |
H A D | clk-pll.c | 73 do_div(dividend, divisor); do_div_round_closest()
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_dquot_buf.c | 42 do_div(ndquots, sizeof(xfs_dqblk_t)); xfs_calc_dquots_per_chunk()
|
/linux-4.1.27/arch/powerpc/platforms/86xx/ |
H A D | mpc8610_hpcd.c | 252 do_div(temp, pixclock); mpc8610hpcd_set_pixel_clock()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | time.c | 798 do_div(new_stamp_xsec, 1000000000); update_vsyscall_old() 1092 rb = ((u64) do_div(ra, divisor) << 32) + c; div128_by_32() 1095 rc = ((u64) do_div(rb, divisor) << 32) + d; div128_by_32() 1098 do_div(rc, divisor); div128_by_32()
|
/linux-4.1.27/arch/arm/lib/ |
H A D | div64.S | 35 * This is meant to be used by do_div() from include/asm/div64.h only.
|
/linux-4.1.27/fs/ceph/ |
H A D | ioctl.c | 210 dl.block_offset = do_div(tmp, dl.block_size); ceph_ioctl_get_dataloc()
|
/linux-4.1.27/net/dccp/ |
H A D | timer.c | 263 do_div(delta, 10); dccp_timestamp()
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | max9850.c | 147 do_div(lrclk_div, max9850->sysclk); max9850_hw_params()
|
/linux-4.1.27/sound/soc/fsl/ |
H A D | fsl_spdif.c | 809 do_div(tmpval64, gainsel_multi[gainsel] * 1024); spdif_get_rxclk_rate() 810 do_div(tmpval64, 128 * 1024); spdif_get_rxclk_rate() 1082 do_div(sub, rate[index]); fsl_spdif_txclk_caldiv() 1092 do_div(sub, rate[index]); fsl_spdif_txclk_caldiv()
|
/linux-4.1.27/drivers/iio/adc/ |
H A D | ad7793.c | 335 st->scale_avail[i][1] = do_div(scale_uv, 100000000) * 10; ad7793_setup() 511 do_div(offset, 1444); ad7793_read_raw()
|
/linux-4.1.27/drivers/net/can/softing/ |
H A D | softing_fw.c | 391 do_div(ovf, card->pdat->freq ?: 16); softing_initialize_timestamp() 408 do_div(rawl, card->pdat->freq ?: 16); softing_raw2ktime()
|
/linux-4.1.27/drivers/mfd/ |
H A D | db8500-prcmu.c | 1523 (void)do_div(rate, div); pll_rate() 1560 (void)do_div(r, 25); clock_rate() 1708 (void)do_div(r, 25); round_clock_rate() 1762 (void)do_div(d, src_rate); round_plldsi_rate() 1771 (void)do_div(d, r); round_plldsi_rate() 1858 (void)do_div(r, 25); set_clock_rate() 1911 (void)do_div(d, src_rate); set_plldsi_rate() 1920 (void)do_div(hwrate, r); set_plldsi_rate()
|
/linux-4.1.27/drivers/soc/tegra/ |
H A D | pmc.c | 610 do_div(ticks, USEC_PER_SEC); tegra_pmc_enter_suspend_mode() 614 do_div(ticks, USEC_PER_SEC); tegra_pmc_enter_suspend_mode()
|
/linux-4.1.27/drivers/cpuidle/governors/ |
H A D | menu.c | 225 do_div(avg, divisor); get_typical_interval() 239 do_div(stddev, divisor); get_typical_interval()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | tvmodesnv17.c | 329 do_div(rs[0], overscan * tv_norm->tv_enc_mode.hdisplay); tv_setup_filter() 330 do_div(rs[1], overscan * tv_norm->tv_enc_mode.vdisplay); tv_setup_filter()
|
/linux-4.1.27/drivers/thermal/ |
H A D | intel_powerclamp.c | 350 do_div(val64, (tsc_now-tsc_last)); powerclamp_adjust_controls() 494 do_div(val64, (tsc_now - tsc_last)); poll_pkg_cstate()
|
/linux-4.1.27/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.c | 247 do_div(div_result, videomode->pixclock); fbmode_to_mmpmode() 273 do_div(div_result, mode->pixclock_freq); mmpmode_to_fbmode()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | pxa168fb.c | 275 do_div(div_result, m->pixclock); set_clock_divider() 597 do_div(div_result, total_w * total_h * refresh); pxa168fb_init_mode()
|
/linux-4.1.27/drivers/iio/dac/ |
H A D | ad5791.c | 273 do_div(val64, st->vref_mv); ad5791_read_raw()
|
/linux-4.1.27/drivers/net/wan/ |
H A D | hdlc_cisco.c | 117 /* we will need do_div here if 1000 % HZ != 0 */ cisco_keepalive_send()
|
/linux-4.1.27/drivers/media/rc/ |
H A D | ir-lirc-codec.c | 85 do_div(lirc->gap_duration, 1000); ir_lirc_decode()
|
/linux-4.1.27/drivers/media/tuners/ |
H A D | msi001.c | 205 m = do_div(tmp64, F_REF * R_REF); msi001_set_tuner()
|
/linux-4.1.27/drivers/regulator/ |
H A D | ltc3589.c | 444 do_div(tmp, r2); ltc3589_scale()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | rv740_dpm.c | 145 do_div(tmp, reference_clock); rv740_populate_sclk_value()
|
/linux-4.1.27/include/net/ |
H A D | codel.h | 115 do_div(valns, NSEC_PER_USEC); codel_time_to_us()
|
/linux-4.1.27/arch/mips/ralink/ |
H A D | mt7620.c | 237 do_div(t, div); mt7620_calc_rate()
|