/linux-4.4.14/arch/powerpc/include/asm/ |
D | cputime.h | 78 do_div(ct, HZ); in jiffies_to_cputime() 100 do_div(ct, HZ); in jiffies64_to_cputime64() 132 do_div(ct, 1000000); in usecs_to_cputime() 164 frac = do_div(x, tb_ticks_per_sec); in cputime_to_timespec() 167 do_div(x, tb_ticks_per_sec); in cputime_to_timespec() 176 do_div(ct, 1000000000); in timespec_to_cputime() 188 frac = do_div(x, tb_ticks_per_sec); in cputime_to_timeval() 191 do_div(x, tb_ticks_per_sec); in cputime_to_timeval() 200 do_div(ct, 1000000); in timeval_to_cputime() 224 do_div(ct, USER_HZ); in clock_t_to_cputime()
|
/linux-4.4.14/include/linux/ |
D | acct.h | 80 do_div(tmp, (NSEC_PER_SEC / AHZ)); in jiffies_to_AHZ() 88 do_div(x, (NSEC_PER_SEC / AHZ)); in nsec_to_AHZ() 91 do_div(x, (NSEC_PER_SEC / 512)); in nsec_to_AHZ() 99 do_div(x, (unsigned long)((9ull * NSEC_PER_SEC + (AHZ/2)) in nsec_to_AHZ()
|
D | math64.h | 66 *remainder = do_div(dividend, divisor); in div_u64_rem() 236 rl.l.high = do_div(rh.ll, divisor); in mul_u64_u32_div() 239 do_div(rl.ll, divisor); in mul_u64_u32_div()
|
D | clocksource.h | 135 do_div(tmp, khz); in clocksource_khz2mult() 161 do_div(tmp, hz); in clocksource_hz2mult()
|
D | clockchips.h | 175 do_div(tmp, nsec); in div_sc()
|
D | kernel.h | 69 ({ unsigned long long _tmp = (ll)+(d)-1; do_div(_tmp, d); _tmp; }) 114 do_div(_tmp, __d); \ 137 # define sector_div(a, b) do_div(a, b)
|
D | ktime.h | 181 do_div(tmp, div); in ktime_divns()
|
/linux-4.4.14/kernel/trace/ |
D | trace_benchmark.c | 99 do_div(stddev, (u32)bm_cnt); in trace_do_benchmark() 100 do_div(stddev, (u32)bm_cnt - 1); in trace_do_benchmark() 105 do_div(delta, bm_cnt); in trace_do_benchmark() 127 do_div(seed, last_seed); in trace_do_benchmark() 129 do_div(seed, 2); in trace_do_benchmark()
|
D | trace_mmiotrace.c | 177 unsigned long usec_rem = do_div(t, USEC_PER_SEC); in mmio_print_rw() 222 unsigned long usec_rem = do_div(t, USEC_PER_SEC); in mmio_print_map() 256 unsigned long usec_rem = do_div(t, USEC_PER_SEC); in mmio_print_mark()
|
D | ring_buffer_benchmark.c | 336 do_div(time, USEC_PER_MSEC); in ring_buffer_producer()
|
D | trace_output.c | 492 unsigned long abs_usec = do_div(abs_ts, USEC_PER_MSEC); in lat_print_timestamp() 494 unsigned long rel_usec = do_div(rel_ts, USEC_PER_MSEC); in lat_print_timestamp() 540 usec_rem = do_div(t, USEC_PER_SEC); in trace_print_context()
|
/linux-4.4.14/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-4.4.14/drivers/clk/mxs/ |
D | clk-ref.c | 61 do_div(tmp, frac); in clk_ref_recalc_rate() 74 do_div(tmp, rate); in clk_ref_round_rate() 84 do_div(tmp, frac); in clk_ref_round_rate() 99 do_div(tmp, rate); in clk_ref_set_rate()
|
D | clk-frac.c | 66 do_div(tmp, parent_rate); in clk_frac_round_rate() 92 do_div(tmp, parent_rate); in clk_frac_set_rate()
|
/linux-4.4.14/drivers/clk/imx/ |
D | clk-pfd.c | 65 do_div(tmp, frac); in clk_pfd_recalc_rate() 77 do_div(tmp, rate); in clk_pfd_round_rate() 85 do_div(tmp, frac); in clk_pfd_round_rate() 98 do_div(tmp, rate); in clk_pfd_set_rate()
|
D | clk-pllv2.c | 99 do_div(temp, mfd + 1); in __clk_pllv2_recalc_rate() 142 do_div(temp64, quad_parent_rate / 1000000); in __clk_pllv2_set_rate()
|
D | clk-pllv3.c | 230 do_div(temp64, parent_rate); in clk_pllv3_av_round_rate() 252 do_div(temp64, parent_rate); in clk_pllv3_av_set_rate()
|
D | clk-pllv1.c | 99 do_div(ull, mfd + 1); in clk_pllv1_recalc_rate()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_linux.h | 287 mod = do_div(*(__u64 *)a, b); in xfs_do_div() 304 return do_div(c, b); in xfs_do_mod() 313 #undef do_div 314 #define do_div(a, b) xfs_do_div(&(a), (b), sizeof(a)) macro 320 do_div(x, y); in roundup_64() 327 do_div(x, y); in howmany_64()
|
D | xfs_mount.h | 256 do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agno() 264 return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agbno()
|
D | xfs_mount.c | 443 do_div(icount, 100); in xfs_set_maxicount() 444 do_div(icount, mp->m_ialloc_blks); in xfs_set_maxicount() 503 do_div(space, 100); in xfs_set_low_space_thresholds() 611 do_div(resblks, 20); in xfs_default_resblks()
|
D | xfs_fsops.c | 183 nb_mod = do_div(new, mp->m_sb.sb_agblocks); in xfs_growfs_data_private() 503 do_div(icount, 100); in xfs_growfs_data_private()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | ves1820.c | 141 fptmp = fpxin; do_div(fptmp, 123); in ves1820_set_symbolrate() 144 fptmp = fpxin; do_div(fptmp, 160); in ves1820_set_symbolrate() 147 fptmp = fpxin; do_div(fptmp, 246); in ves1820_set_symbolrate() 150 fptmp = fpxin; do_div(fptmp, 320); in ves1820_set_symbolrate() 153 fptmp = fpxin; do_div(fptmp, 492); in ves1820_set_symbolrate() 156 fptmp = fpxin; do_div(fptmp, 640); in ves1820_set_symbolrate() 159 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()
|
D | atbm8830.c | 108 do_div(t, 30400); in set_osc_freq() 130 do_div(t, fs); in set_if_freq() 131 do_div(t, 1000); in set_if_freq()
|
D | zl10353.c | 138 do_div(value, adc_clock); in zl10353_calc_nominal_rate() 167 do_div(value, adc_clock); in zl10353_calc_input_freq()
|
D | tda10086.c | 352 do_div(big, (SACLK/1000ULL)); in tda10086_set_symbol_rate() 482 do_div(tmp64, (1ULL<<15) * (1ULL<<1)); in tda10086_get_frontend()
|
D | s921.c | 289 do_div(offset, 6000000); in s921_pll_tune()
|
D | itd1000.c | 239 do_div(tmp, 1000000); in itd1000_set_lo()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | cputime.h | 46 do_div(jif, CPUTIME_PER_SEC / HZ); in cputime64_to_jiffies64() 125 do_div(clock, CPUTIME_PER_SEC / USER_HZ); in cputime_to_clock_t() 140 do_div(clock, CPUTIME_PER_SEC / USER_HZ); in cputime64_to_clock_t()
|
/linux-4.4.14/drivers/staging/goldfish/ |
D | goldfish_nand.c | 106 rem = do_div(ofs, mtd->writesize); in goldfish_nand_erase() 144 rem = do_div(ofs, mtd->writesize); in goldfish_nand_read_oob() 176 rem = do_div(ofs, mtd->writesize); in goldfish_nand_write_oob() 204 rem = do_div(from, mtd->writesize); in goldfish_nand_read() 226 rem = do_div(to, mtd->writesize); in goldfish_nand_write() 247 rem = do_div(ofs, mtd->erasesize); in goldfish_nand_block_isbad() 268 rem = do_div(ofs, mtd->erasesize); in goldfish_nand_block_markbad() 322 do_div(mtd->size, mtd->writesize + mtd->oobsize); in goldfish_nand_init_device()
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | timing.c | 152 do_div(min, tb_ticks_per_usec); in kvmppc_exit_timing_show() 154 do_div(max, tb_ticks_per_usec); in kvmppc_exit_timing_show() 156 do_div(sum, tb_ticks_per_usec); in kvmppc_exit_timing_show() 158 do_div(sum_quad, tb_ticks_per_usec); in kvmppc_exit_timing_show()
|
D | emulate.c | 74 do_div(dec_time, decrementer_clockevent.mult); in kvmppc_emulate_dec() 75 dec_nsec = do_div(dec_time, NSEC_PER_SEC); in kvmppc_emulate_dec()
|
/linux-4.4.14/arch/x86/kernel/ |
D | tsc.c | 408 do_div(tmp, 1000000); in calc_hpet_ref() 409 do_div(deltatsc, tmp); in calc_hpet_ref() 428 do_div(tmp, PMTMR_TICKS_PER_SEC); in calc_pmtimer_ref() 429 do_div(deltatsc, tmp); in calc_pmtimer_ref() 498 do_div(delta, ms); in pit_calibrate_tsc() 657 do_div(delta, i*256*1000); in quick_pit_calibrate() 751 do_div(delta, tsc_ref_min); in native_calibrate_tsc() 1231 do_div(lpj, HZ); in tsc_init()
|
D | pvclock.c | 38 do_div(pv_tsc_khz, src->tsc_to_system_mul); in pvclock_tsc_khz() 138 now.tv_nsec = do_div(delta, NSEC_PER_SEC); in pvclock_read_wallclock()
|
D | kvmclock.c | 149 do_div(lpj, HZ); in kvm_get_preset_lpj()
|
D | nmi.c | 105 remainder_ns = do_div(whole_msecs, (1000 * 1000)); in nmi_max_handler()
|
/linux-4.4.14/kernel/time/ |
D | jiffies.c | 126 do_div(shift_hz, cycles_per_tick); in register_refined_jiffies() 130 do_div(nsec_per_tick, (u32)shift_hz); in register_refined_jiffies()
|
D | clocksource.c | 85 do_div(tmp, from); in clocks_calc_mult_shift() 465 do_div(ret,100); in clocksource_max_adjustment() 493 do_div(max_cycles, mult+maxadj); in clocks_calc_max_nsecs() 680 do_div(sec, freq); in __clocksource_update_freq_scale() 681 do_div(sec, scale); in __clocksource_update_freq_scale()
|
D | test_udelay.c | 65 do_div(avg, iters); in udelay_test_single()
|
D | clockevents.c | 78 do_div(clc, evt->mult); in cev_delta2ns() 484 do_div(sec, freq); in clockevents_config()
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-rcar.c | 83 do_div(max, clk_rate); in rcar_pwm_get_clock_division() 116 do_div(one_cycle, clk_rate); in rcar_pwm_set_counter() 119 do_div(tmp, one_cycle); in rcar_pwm_set_counter() 123 do_div(tmp, one_cycle); in rcar_pwm_set_counter()
|
D | pwm-berlin.c | 68 do_div(cycles, NSEC_PER_SEC); in berlin_pwm_config() 72 do_div(tmp, prescaler_table[prescale]); in berlin_pwm_config() 83 do_div(cycles, period_ns); in berlin_pwm_config()
|
D | pwm-fsl-ftm.c | 133 do_div(ratio, sys_rate); in fsl_pwm_calculate_default_ps() 138 do_div(ratio, sys_rate); in fsl_pwm_calculate_default_ps() 155 do_div(c, 1000000000UL); in fsl_pwm_calculate_cycles() 159 do_div(c0, (1 << fpc->clk_ps)); in fsl_pwm_calculate_cycles() 228 do_div(duty, period_ns); in fsl_pwm_calculate_duty()
|
D | pwm-sun4i.c | 119 do_div(div, NSEC_PER_SEC); in sun4i_pwm_config() 130 do_div(div, prescaler_table[prescaler]); in sun4i_pwm_config() 132 do_div(div, NSEC_PER_SEC); in sun4i_pwm_config() 145 do_div(div, period_ns); in sun4i_pwm_config()
|
D | pwm-atmel-hlcdc.c | 71 do_div(clk_period_ns, clk_freq); in atmel_hlcdc_pwm_config() 83 do_div(clk_period_ns, clk_freq); in atmel_hlcdc_pwm_config() 120 do_div(pwmcval, period_ns); in atmel_hlcdc_pwm_config()
|
D | pwm-bfin.c | 73 do_div(val, NSEC_PER_SEC); in bfin_pwm_config() 77 do_div(val, period_ns); in bfin_pwm_config()
|
D | pwm-brcmstb.c | 133 do_div(rate, 1 << CWORD_BIT_SIZE); in brcmstb_pwm_config() 136 do_div(tmp, NSEC_PER_SEC); in brcmstb_pwm_config() 140 do_div(tmp, NSEC_PER_SEC); in brcmstb_pwm_config()
|
D | pwm-lpss.c | 91 do_div(freq, period_ns); in pwm_lpss_config() 100 do_div(base_unit, c); in pwm_lpss_config()
|
D | pwm-lpc32xx.c | 44 do_div(c, NSEC_PER_SEC); in lpc32xx_pwm_config() 67 do_div(c, period_ns); in lpc32xx_pwm_config()
|
D | pwm-jz4740.c | 119 do_div(tmp, 1000000000); in jz4740_pwm_config() 131 do_div(tmp, period_ns); in jz4740_pwm_config()
|
D | pwm-mxs.c | 63 do_div(c, 1000000000); in mxs_pwm_config() 73 do_div(c, period_ns); in mxs_pwm_config()
|
D | pwm-ep93xx.c | 93 do_div(c, 1000000000); in ep93xx_pwm_config() 98 do_div(c, period_ns); in ep93xx_pwm_config()
|
D | pwm-lpc18xx-sct.c | 154 do_div(val, NSEC_PER_SEC); in lpc18xx_pwm_config_period() 173 do_div(val, NSEC_PER_SEC); in lpc18xx_pwm_config_duty() 368 do_div(val, lpc18xx_pwm->clk_rate); in lpc18xx_pwm_probe()
|
D | pwm-rockchip.c | 117 do_div(div, pc->data->prescaler * NSEC_PER_SEC); in rockchip_pwm_config() 121 do_div(div, pc->data->prescaler * NSEC_PER_SEC); in rockchip_pwm_config()
|
D | pwm-vt8500.c | 97 do_div(c, 1000000000); in vt8500_pwm_config() 113 do_div(c, period_ns); in vt8500_pwm_config()
|
D | pwm-img.c | 243 do_div(val, clk_rate); in img_pwm_probe() 247 do_div(val, clk_rate); in img_pwm_probe()
|
D | pwm-imx.c | 154 do_div(c, 1000000000); in imx_pwm_config_v2() 161 do_div(c, period_ns); in imx_pwm_config_v2()
|
D | pwm-tiecap.c | 78 do_div(c, NSEC_PER_SEC); in ecap_pwm_config() 87 do_div(c, NSEC_PER_SEC); in ecap_pwm_config()
|
D | pwm-puv3.c | 50 do_div(c, 1000000000); in puv3_pwm_config()
|
D | pwm-atmel.c | 124 do_div(div, NSEC_PER_SEC); in atmel_pwm_config() 139 do_div(div, period_ns); in atmel_pwm_config()
|
D | pwm-tegra.c | 81 do_div(c, period_ns); in tegra_pwm_config()
|
D | pwm-pxa.c | 76 do_div(c, 1000000000); in pxa_pwm_config()
|
D | pwm-tiehrpwm.c | 250 do_div(c, NSEC_PER_SEC); in ehrpwm_pwm_config() 259 do_div(c, NSEC_PER_SEC); in ehrpwm_pwm_config()
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | cmd.c | 194 do_div(info->time, 1000); in carl9170_collect_tally() 195 do_div(info->time_busy, 1000); in carl9170_collect_tally() 196 do_div(info->time_tx, 1000); in carl9170_collect_tally()
|
/linux-4.4.14/drivers/clk/samsung/ |
D | clk-pll.c | 88 do_div(fvco, (pdiv + 2) << sdiv); in samsung_pll2126_recalc_rate() 121 do_div(fvco, pdiv << sdiv); in samsung_pll3000_recalc_rate() 158 do_div(fvco, (pdiv << sdiv)); in samsung_pll35xx_recalc_rate() 264 do_div(fvco, (pdiv << sdiv)); in samsung_pll36xx_recalc_rate() 378 do_div(fvco, (pdiv << sdiv)); in samsung_pll45xx_recalc_rate() 528 do_div(fvco, (pdiv << sdiv)); in samsung_pll46xx_recalc_rate() 670 do_div(fvco, (pdiv << sdiv)); in samsung_pll6552_recalc_rate() 707 do_div(fvco, (pdiv << sdiv)); in samsung_pll6553_recalc_rate() 743 do_div(fvco, (pdiv + 2) << sdiv); in samsung_s3c2410_pll_recalc_rate() 761 do_div(fvco, (pdiv + 2) << sdiv); in samsung_s3c2440_mpll_recalc_rate() [all …]
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | vmware.c | 63 do_div(tsc_hz, 1000); in vmware_get_tsc_khz() 71 do_div(lpj, HZ); in vmware_get_tsc_khz()
|
/linux-4.4.14/arch/mips/netlogic/xlp/ |
D | nlm_hal.c | 269 do_div(num, denom); in nlm_xlp2_get_core_frequency() 290 do_div(num, denom); in nlm_xlp_get_core_frequency() 435 do_div(pll_out_freq_num, pll_out_freq_den); in nlm_xlp2_get_pic_frequency() 444 do_div(pll_out_freq_num, 1 << pic_div); in nlm_xlp2_get_pic_frequency()
|
/linux-4.4.14/arch/arm/mach-s3c24xx/include/mach/ |
D | regs-s3c2443-clock.h | 166 do_div(fvco, pdiv << sdiv); in s3c2443_get_mpll() 186 do_div(fvco, (pdiv + 2) << sdiv); in s3c2443_get_epll()
|
/linux-4.4.14/lib/ |
D | string_helpers.c | 71 do_div(blk_size, divisor[units]); in string_get_size() 76 do_div(size, divisor[units]); in string_get_size() 86 remainder = do_div(size, divisor[units]); in string_get_size()
|
D | reciprocal_div.c | 19 do_div(m, d); in reciprocal_value()
|
D | test_rhashtable.c | 342 do_div(total_time, runs); in test_rht_init()
|
/linux-4.4.14/arch/powerpc/boot/ |
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)]; in number()
|
/linux-4.4.14/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-4.4.14/include/linux/mtd/ |
D | mtd.h | 326 do_div(sz, mtd->erasesize); in mtd_div_by_eb() 334 return do_div(sz, mtd->erasesize); in mtd_mod_by_eb() 341 do_div(sz, mtd->writesize); in mtd_div_by_ws() 349 return do_div(sz, mtd->writesize); in mtd_mod_by_ws()
|
/linux-4.4.14/fs/ufs/ |
D | ufs.h | 160 do_div(b, uspi->s_fpg); in ufs_dtog() 166 return do_div(b, uspi->s_fpg); in ufs_dtogd()
|
/linux-4.4.14/drivers/s390/scsi/ |
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.4.14/arch/m68k/include/asm/ |
D | div64.h | 12 #define do_div(n, base) ({ \ macro
|
/linux-4.4.14/fs/ntfs/ |
D | time.h | 95 ts.tv_nsec = do_div(t, 10000000) * 100; in ntfs2utc()
|
/linux-4.4.14/drivers/clk/ |
D | clk-fractional-divider.c | 49 do_div(ret, n); in clk_fd_recalc_rate() 79 do_div(ret, n); in clk_fd_round_rate()
|
D | clk-cdce706.c | 181 do_div(res, hwd->div); in cdce706_pll_recalc_rate() 213 do_div(res, hwd->div); in cdce706_pll_round_rate() 334 do_div(div_rate64, m); in cdce706_divider_round_rate() 335 do_div(div_rate64, div); in cdce706_divider_round_rate()
|
D | clk-si5351.c | 438 do_div(rate, 128 * hwdata->params.p3); in si5351_pll_recalc_rate() 474 do_div(lltmp, *parent_rate); in si5351_pll_round_rate() 493 do_div(lltmp, c); in si5351_pll_round_rate() 631 do_div(rate, m); in si5351_msynth_recalc_rate() 673 do_div(lltmp, rate); in si5351_msynth_round_rate() 712 do_div(lltmp, rate); in si5351_msynth_round_rate() 726 do_div(lltmp, a * c + b); in si5351_msynth_round_rate()
|
D | clk-fixed-factor.c | 35 do_div(rate, fix->div); in clk_factor_recalc_rate()
|
D | clk-si514.c | 180 do_div(m, FXO); in si514_calc_muldiv()
|
/linux-4.4.14/drivers/clk/tegra/ |
D | clk-divider.c | 50 do_div(divider_ux1, rate); in get_div() 82 do_div(rate, div); in clk_frac_div_recalc_rate()
|
D | clk-pll.c | 683 do_div(rate, cfg.m); in clk_pll_recalc_rate() 799 do_div(rate, divm); in clk_plle_recalc_rate() 1020 do_div(output_rate, cfg.m * p_div); in clk_pll_ramp_round_rate() 1217 do_div(output_rate, m); in _pllre_calc_rate() 1271 do_div(rate, cfg.m); in clk_pllre_recalc_rate()
|
/linux-4.4.14/arch/c6x/kernel/ |
D | time.c | 56 do_div(tmp, c6x_core_freq); in time_init()
|
D | setup.c | 114 do_div(tmp, 1000000); in get_cpuinfo()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | comedi_test.c | 102 do_div(binary_amplitude, krange->max - krange->min); in fake_sawtooth() 106 do_div(value, devpriv->wf_period); in fake_sawtooth() 133 do_div(value, krange->max - krange->min); in fake_squarewave() 380 devpriv->wf_current = do_div(wf_current, devpriv->wf_period); in waveform_ai_cmd() 446 do_div(scans_since, devpriv->ao_scan_period); in waveform_ao_timer()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | gf119.c | 266 do_div(value, pclk); in gf119_disp_intr_unk2_2_tu() 273 do_div(value, pclk); in gf119_disp_intr_unk2_2_tu() 285 do_div(ratio, link_nr * link_bw); in gf119_disp_intr_unk2_2_tu() 289 do_div(value, symbol); in gf119_disp_intr_unk2_2_tu() 290 do_div(value, symbol); in gf119_disp_intr_unk2_2_tu()
|
D | nv50.c | 514 do_div(value, pclk); in nv50_disp_intr_unk20_2_dp() 521 do_div(value, pclk); in nv50_disp_intr_unk20_2_dp() 534 do_div(link_ratio, link_bw); in nv50_disp_intr_unk20_2_dp() 595 do_div(unk, symbol); in nv50_disp_intr_unk20_2_dp() 596 do_div(unk, symbol); in nv50_disp_intr_unk20_2_dp()
|
/linux-4.4.14/fs/omfs/ |
D | bitmap.c | 100 bit = do_div(tmp, bits_per_entry); in omfs_allocate_block() 183 bit = do_div(tmp, bits_per_entry); in omfs_clear_range()
|
/linux-4.4.14/kernel/ |
D | tsacct.c | 42 do_div(delta, NSEC_PER_USEC); in bacct_add_tsk() 45 do_div(delta, USEC_PER_SEC); in bacct_add_tsk()
|
D | acct.c | 111 do_div(suspend, 100); in check_free_space() 118 do_div(resume, 100); in check_free_space() 447 do_div(elapsed, AHZ); in fill_ac()
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | div64.h | 36 #define do_div(n, base) \ macro
|
/linux-4.4.14/drivers/clk/ti/ |
D | clkt_dpll.c | 119 do_div(num, n); in _dpll_compute_new_rate() 266 do_div(dpll_clk, dpll_div + 1); in omap2_get_dpll_rate()
|
D | fapll.c | 182 do_div(rate, fapll_p); in ti_fapll_recalc_rate() 346 do_div(rate, synth_div_freq); in ti_fapll_synth_recalc_rate()
|
/linux-4.4.14/arch/alpha/boot/ |
D | stdio.c | 21 # define do_div(n, base) ({ \ macro 84 tmp[i++] = digits[do_div(num, base)]; in number()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | div64.h | 21 #define do_div(n, base) \ macro
|
/linux-4.4.14/include/acpi/platform/ |
D | aclinuxex.h | 55 (r32) = do_div ((__n), (d32)); \
|
/linux-4.4.14/drivers/cpuidle/governors/ |
D | menu.c | 225 do_div(avg, divisor); in get_typical_interval() 239 do_div(stddev, divisor); in get_typical_interval()
|
/linux-4.4.14/arch/powerpc/platforms/52xx/ |
D | mpc52xx_gpt.c | 417 do_div(clocks, 1000000000); /* Scale it down to ns range */ in mpc52xx_gpt_do_start() 436 do_div(clocks, prescale); in mpc52xx_gpt_do_start() 517 do_div(period, (u64)gpt->ipb_freq); in mpc52xx_gpt_timer_period() 604 do_div(real_timeout, 1000000000ULL); in mpc52xx_wdt_ioctl()
|
/linux-4.4.14/fs/nfs/filelayout/ |
D | filelayoutdev.c | 230 do_div(tmp, flseg->stripe_unit); in nfs4_fl_calc_j_index() 232 return do_div(tmp, flseg->dsaddr->stripe_count); in nfs4_fl_calc_j_index()
|
/linux-4.4.14/fs/cachefiles/ |
D | bind.c | 171 do_div(stats.f_files, 100); in cachefiles_daemon_add_cache() 182 do_div(stats.f_blocks, 100); in cachefiles_daemon_add_cache()
|
/linux-4.4.14/drivers/power/ |
D | da9150-fg.c | 255 do_div(div, 1000000); in da9150_fg_current_avg() 257 do_div(res, div); in da9150_fg_current_avg() 273 do_div(res, 10000); in da9150_fg_voltage_avg()
|
/linux-4.4.14/sound/drivers/pcsp/ |
D | pcsp.h | 43 do_div(__val, PIT_TICK_RATE); \
|
/linux-4.4.14/drivers/clk/sirf/ |
D | clk-atlas7.c | 376 do_div(rate, nr); in pll_clk_recalc_rate() 377 do_div(rate, (256 * ((ssdiv >> ssdepth) << ssdepth) in pll_clk_recalc_rate() 382 do_div(rate, nr); in pll_clk_recalc_rate() 531 do_div(rate, DTO_RESL_NORMAL); in dto_clk_recalc_rate() 533 do_div(rate, DTO_RESL_DOUBLE); in dto_clk_recalc_rate() 543 do_div(dividend, *parent_rate); in dto_clk_round_rate() 545 do_div(dividend, DTO_RESL_DOUBLE); in dto_clk_round_rate() 556 do_div(dividend, parent_rate); in dto_clk_set_rate()
|
/linux-4.4.14/arch/s390/lib/ |
D | delay.c | 121 do_div(nsecs, 125); in __ndelay()
|
/linux-4.4.14/arch/arm/common/ |
D | icst.c | 35 do_div(dividend, divisor); in icst_hz()
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-kthread-out.c | 169 do_div(buffers_since_start, HZ * numerator); in vivid_thread_vid_out() 206 do_div(next_jiffies_since_start, denominator); in vivid_thread_vid_out()
|
D | vivid-sdr-cap.c | 168 do_div(buffers_since_start, HZ * SDR_CAP_SAMPLES_PER_BUF); in vivid_thread_sdr_cap() 204 do_div(next_jiffies_since_start, dev->sdr_adc_freq); in vivid_thread_sdr_cap()
|
/linux-4.4.14/net/ipv4/ |
D | tcp_illinois.c | 122 do_div(t, ca->cnt_rtt); in avg_delay() 317 do_div(t, info->vegas.tcpv_rttcnt); in tcp_illinois_info()
|
D | tcp_cubic.c | 283 do_div(t, HZ); in bictcp_update() 510 do_div(cube_factor, bic_scale * 10); in cubictcp_register()
|
D | tcp_veno.c | 149 do_div(target_cwnd, rtt); in tcp_veno_cong_avoid()
|
D | tcp_yeah.c | 152 do_div(bw, rtt); in tcp_yeah_cong_avoid()
|
D | tcp_vegas.c | 220 do_div(target_cwnd, rtt); in tcp_vegas_cong_avoid()
|
D | tcp_dctcp.c | 218 do_div(bytes_ecn, max(1U, ca->acked_bytes_total)); in dctcp_update_alpha()
|
/linux-4.4.14/arch/powerpc/platforms/85xx/ |
D | p1022_rdk.c | 66 do_div(temp, pixclock); in p1022rdk_set_pixel_clock()
|
/linux-4.4.14/drivers/md/bcache/ |
D | writeback.h | 20 do_div(offset, d->stripe_size); in offset_to_stripe()
|
/linux-4.4.14/drivers/clk/berlin/ |
D | berlin2-pll.c | 78 do_div(rate, rfdiv * vcodiv); in berlin2_pll_recalc_rate()
|
D | berlin2-avpll.c | 179 do_div(freq, refdiv); in berlin2_avpll_vco_recalc_rate() 347 do_div(freq, divider); in berlin2_avpll_channel_recalc_rate()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | time.c | 799 do_div(new_stamp_xsec, 1000000000); in update_vsyscall_old() 1092 rb = ((u64) do_div(ra, divisor) << 32) + c; in div128_by_32() 1095 rc = ((u64) do_div(rb, divisor) << 32) + d; in div128_by_32() 1098 do_div(rc, divisor); in div128_by_32()
|
/linux-4.4.14/drivers/md/persistent-data/ |
D | dm-space-map-common.c | 282 b = do_div(index, ll->entries_per_block); in sm_ll_lookup_bitmap() 338 begin = do_div(index_begin, ll->entries_per_block); in sm_ll_find_free_block() 339 end = do_div(end, ll->entries_per_block); in sm_ll_find_free_block() 397 bit = do_div(index, ll->entries_per_block); in sm_ll_mutate()
|
/linux-4.4.14/sound/soc/pxa/ |
D | brownstone.c | 67 do_div(sspa_div, sspa_mclk); in brownstone_wm8994_hw_params()
|
/linux-4.4.14/drivers/clk/zte/ |
D | clk.c | 183 do_div(tmp64, rate); in calc_reg() 215 do_div(tmp64, tmp); in calc_rate()
|
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
D | lov_internal.h | 64 __rem = do_div(n, (base) >> LOV_MIN_STRIPE_BITS); \ 68 __rem = do_div(n, base); \
|
/linux-4.4.14/drivers/media/i2c/ |
D | mt9v011.c | 217 do_div(frames_per_ms, t_time); in calc_fps() 251 do_div(t_time, denominator); in calc_speed() 254 do_div(speed, row_time * line_time); in calc_speed()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-core.c | 743 do_div(pll,xtal); in set_pll() 934 do_div(tmp64, vdec_clock); in cx88_set_tvnorm() 941 do_div(tmp64, vdec_clock); in cx88_set_tvnorm() 948 do_div(tmp64, vdec_clock); in cx88_set_tvnorm() 962 do_div(tmp64, fsc8); in cx88_set_tvnorm()
|
D | cx88-dsp.c | 121 do_div(tmp, divisor); in int_goertzel()
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
D | osdep_service.c | 125 return do_div(x, y); in rtw_modular64()
|
/linux-4.4.14/arch/arm/vfp/ |
D | vfp.h | 124 do_div(z, mh); in vfp_estimate_div128to64() 138 do_div(remh, mh); in vfp_estimate_div128to64()
|
/linux-4.4.14/drivers/mtd/tests/ |
D | speedtest.c | 189 do_div(k, ms); in calc_speed() 228 do_div(tmp, mtd->erasesize); in mtd_speedtest_init()
|
D | stresstest.c | 180 do_div(tmp, mtd->erasesize); in mtd_stresstest_init()
|
D | readtest.c | 155 do_div(tmp, mtd->erasesize); in mtd_readtest_init()
|
/linux-4.4.14/drivers/firmware/efi/ |
D | efi-pstore.c | 331 do_div(id, 1000); in efi_pstore_erase() 332 part = do_div(id, 100); in efi_pstore_erase()
|
/linux-4.4.14/drivers/block/ |
D | null_blk.c | 498 do_div(size, bs); /* convert size to pages */ in null_lnvm_id() 499 do_div(size, 256); /* concert size to pgs pr blk */ in null_lnvm_id() 506 do_div(size, (1 << 16)); in null_lnvm_id() 508 do_div(blksize, grp->num_lun); in null_lnvm_id()
|
/linux-4.4.14/kernel/bpf/ |
D | core.c | 378 DST = do_div(tmp, (u32) SRC); in __bpf_prog_run() 386 DST = do_div(tmp, (u32) IMM); in __bpf_prog_run() 397 do_div(tmp, (u32) SRC); in __bpf_prog_run() 405 do_div(tmp, (u32) IMM); in __bpf_prog_run()
|
/linux-4.4.14/drivers/oprofile/ |
D | nmi_timer_int.c | 132 do_div(period, HZ); in nmi_timer_setup()
|
/linux-4.4.14/drivers/clk/socfpga/ |
D | clk-pll.c | 64 do_div(vco_freq, (1 + divq)); in clk_pll_recalc_rate()
|
D | clk-pll-a10.c | 57 do_div(vco_freq, (1 + divq)); in clk_pll_recalc_rate()
|
/linux-4.4.14/drivers/iio/frequency/ |
D | adf4350.c | 179 do_div(tmp, st->fpfd); /* Div round closest (n + d/2)/d */ in adf4350_set_freq() 180 st->r0_fract = do_div(tmp, st->r1_mod); in adf4350_set_freq() 319 do_div(val, st->r1_mod * (1 << st->r4_rf_div_sel)); in adf4350_read()
|
/linux-4.4.14/drivers/media/i2c/cx25840/ |
D | cx25840-ir.c | 250 rem = do_div(n, CX25840_IR_REFCLK_FREQ / 1000000); /* / MHz => ns */ in pulse_width_count_to_ns() 270 rem = do_div(n, d); 292 rem = do_div(n, CX25840_IR_REFCLK_FREQ / 1000000); /* / MHz => us */ in pulse_width_count_to_us() 311 rem = do_div(clocks, 1000); /* /1000 = cycles */ in ns_to_pulse_clocks() 319 do_div(count, (FIFO_RXTX << 2) | 0x3); in pulse_clocks_to_clock_divider()
|
/linux-4.4.14/drivers/mtd/ |
D | mtdconcat.c | 175 if (do_div(__to, mtd->writesize) || (total_len % mtd->writesize)) in concat_writev() 880 do_div(tmp64, curr_erasesize); in mtd_concat_create() 899 do_div(tmp64, curr_erasesize); in mtd_concat_create() 918 do_div(tmp64, curr_erasesize); in mtd_concat_create()
|
/linux-4.4.14/drivers/staging/sm750fb/ |
D | sm750.h | 180 do_div(numerator, psvalue); in ps_to_hz()
|
/linux-4.4.14/drivers/watchdog/ |
D | booke_wdt.c | 69 do_div(tmp, tmp2); in period_to_sec()
|
D | kempld_wdt.c | 153 remainder = do_div(stage_timeout64, prescaler); in kempld_wdt_set_stage_timeout() 195 remainder = do_div(stage_timeout, pld->pld_clock); in kempld_wdt_get_timeout()
|
D | davinci_wdt.c | 138 do_div(timer_counter, freq); in davinci_wdt_get_timeleft()
|
D | imgpdc_wdt.c | 246 do_div(div, clk_rate); in pdc_wdt_probe()
|
/linux-4.4.14/kernel/power/ |
D | process.c | 83 do_div(elapsed_msecs64, NSEC_PER_MSEC); in try_to_freeze_tasks()
|
D | wakelock.c | 233 do_div(timeout_ms, NSEC_PER_MSEC); in pm_wake_lock()
|
/linux-4.4.14/kernel/sched/ |
D | debug.c | 43 do_div(nsec, 1000000); in nsec_high() 46 do_div(nsec, 1000000); in nsec_high() 56 return do_div(nsec, 1000000); in nsec_low()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_mm.c | 130 rem = do_div(tmp, alignment); in drm_mm_insert_helper() 280 rem = do_div(tmp, alignment); in drm_mm_insert_helper_range() 405 rem = do_div(tmp, alignment); in check_free_hole()
|
/linux-4.4.14/drivers/clk/rockchip/ |
D | clk-pll.c | 167 do_div(rate64, cur.nr); in rockchip_rk3066_pll_recalc_rate() 168 do_div(rate64, cur.no); in rockchip_rk3066_pll_recalc_rate()
|
/linux-4.4.14/arch/blackfin/mach-common/ |
D | pm.c | 277 do_div(usec64, get_cclk() / USEC_PER_SEC); in bfin_pm_end()
|
/linux-4.4.14/arch/mips/ath79/ |
D | clock.c | 229 do_div(t, ref_div); in ar934x_get_pll_freq() 234 do_div(t, ref_div * frac); in ar934x_get_pll_freq()
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
D | cx23888-ir.c | 284 rem = do_div(n, CX23888_IR_REFCLK_FREQ / 1000000); /* / MHz => ns */ in pulse_width_count_to_ns() 300 rem = do_div(n, CX23888_IR_REFCLK_FREQ / 1000000); /* / MHz => us */ in pulse_width_count_to_us() 319 rem = do_div(clocks, 1000); /* /1000 = cycles */ in ns_to_pulse_clocks() 327 do_div(count, (FIFO_RXTX << 2) | 0x3); in pulse_clocks_to_clock_divider()
|
/linux-4.4.14/drivers/misc/ |
D | ds1682.c | 104 do_div(val, 250); in ds1682_store()
|
D | ioc4.c | 210 do_div(ns, IOC4_EXTINT_COUNT_DIVISOR); in ioc4_clock_calibrate()
|
/linux-4.4.14/include/drm/ |
D | drm_fixed.h | 66 do_div(tmp, B.full); in dfixed_div()
|
/linux-4.4.14/drivers/staging/media/lirc/ |
D | lirc_parallel.c | 295 do_div(helper, timer); in lirc_lirc_irq_handler() 402 do_div(helper, 1000000); in lirc_write()
|
/linux-4.4.14/arch/powerpc/platforms/86xx/ |
D | mpc8610_hpcd.c | 252 do_div(temp, pixclock); in mpc8610hpcd_set_pixel_clock()
|
/linux-4.4.14/net/dccp/ |
D | timer.c | 263 do_div(delta, 10); in dccp_timestamp()
|
/linux-4.4.14/drivers/thermal/ |
D | intel_powerclamp.c | 350 do_div(val64, (tsc_now-tsc_last)); in powerclamp_adjust_controls() 494 do_div(val64, (tsc_now - tsc_last)); in poll_pkg_cstate()
|
/linux-4.4.14/net/sched/ |
D | sch_tbf.c | 130 do_div(len, NSEC_PER_SEC); in psched_ns_t2l() 133 do_div(len, 53); in psched_ns_t2l()
|
D | sch_hfsc.c | 428 do_div(sm, PSCHED_TICKS_PER_SEC); in m2sm() 443 do_div(ism, m); in m2ism() 456 do_div(dx, USEC_PER_SEC); in d2dx() 477 do_div(d, PSCHED_TICKS_PER_SEC); in dx2d() 602 do_div(dx, dsm); in rtsc_min()
|
/linux-4.4.14/drivers/mfd/ |
D | db8500-prcmu.c | 1523 (void)do_div(rate, div); in pll_rate() 1560 (void)do_div(r, 25); in clock_rate() 1708 (void)do_div(r, 25); in round_clock_rate() 1762 (void)do_div(d, src_rate); in round_plldsi_rate() 1771 (void)do_div(d, r); in round_plldsi_rate() 1858 (void)do_div(r, 25); in set_clock_rate() 1911 (void)do_div(d, src_rate); in set_plldsi_rate() 1920 (void)do_div(hwrate, r); in set_plldsi_rate()
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_dquot_buf.c | 42 do_div(ndquots, sizeof(xfs_dqblk_t)); in xfs_calc_dquots_per_chunk()
|
/linux-4.4.14/sound/soc/codecs/ |
D | max9850.c | 146 do_div(lrclk_div, max9850->sysclk); in max9850_hw_params()
|
/linux-4.4.14/drivers/leds/ |
D | leds-pwm.c | 71 do_div(duty, max); in led_pwm_set()
|
/linux-4.4.14/drivers/net/can/ |
D | dev.c | 178 do_div(v64, priv->clock.freq); in can_calc_bittiming() 234 do_div(brp64, btc->brp_inc); in can_fixup_bittiming() 236 do_div(brp64, 1000000000UL); /* the practicable BRP */ in can_fixup_bittiming()
|
/linux-4.4.14/drivers/char/ |
D | hpet.c | 572 do_div(m, dis); in hpet_time_div() 905 do_div(temp, period); in hpet_alloc() 916 remainder = do_div(temp, 1000000); in hpet_alloc()
|
/linux-4.4.14/drivers/video/fbdev/matrox/ |
D | matroxfb_g450.c | 259 do_div(piic, outd->h_vis); in computeRegs() 275 do_div(piic, mt->pixclock); in computeRegs()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvmodesnv17.c | 329 do_div(rs[0], overscan * tv_norm->tv_enc_mode.hdisplay); in tv_setup_filter() 330 do_div(rs[1], overscan * tv_norm->tv_enc_mode.vdisplay); in tv_setup_filter()
|
/linux-4.4.14/sound/soc/fsl/ |
D | fsl_spdif.c | 824 do_div(tmpval64, gainsel_multi[gainsel] * 1024); in spdif_get_rxclk_rate() 825 do_div(tmpval64, 128 * 1024); in spdif_get_rxclk_rate() 1129 do_div(sub, rate[index]); in fsl_spdif_txclk_caldiv() 1139 do_div(sub, rate[index]); in fsl_spdif_txclk_caldiv()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
D | gf100.c | 199 do_div(tag_base, tag_align); in gf100_ltc_oneinit_tag_ram()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4/ |
D | softfloat.c | 665 do_div(tmp, b0); in estimateDiv128To64() 677 do_div(tmp, b0); in estimateDiv128To64() 815 do_div(zSig, bSig); in float32_div()
|
/linux-4.4.14/drivers/target/ |
D | target_core_rd.c | 415 prot_offset = do_div(tmp, PAGE_SIZE); in rd_do_prot_rw() 463 rd_offset = do_div(tmp, PAGE_SIZE); in rd_execute_rw()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 289 do_div(ns, NSEC_PER_SEC / 2 / HZ); in mlx4_en_init_timestamp()
|
/linux-4.4.14/drivers/clk/mvebu/ |
D | common.c | 87 do_div(freq_swing_half, (2 * 96 * high_bound)); in kirkwood_fix_sscg_deviation()
|
/linux-4.4.14/drivers/tty/serial/ |
D | ar933x_uart.c | 198 do_div(t, div); in ar933x_uart_get_baud() 221 do_div(tstep, clk); in ar933x_uart_get_scale_step()
|
/linux-4.4.14/drivers/staging/iio/impedance-analyzer/ |
D | ad5933.c | 226 do_div(freqreg, st->mclk_hz / 4); in ad5933_set_freq() 311 do_div(freqreg, 1 << 27); in ad5933_show_frequency()
|
/linux-4.4.14/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 347 do_div(scale, mode->vtotal); in ch7006_setup_properties() 350 do_div(aspect, ch_mode->enc_vdisp); in ch7006_setup_properties()
|
/linux-4.4.14/drivers/net/wireless/p54/ |
D | txrx.c | 594 do_div(survey->time, 1024); in p54_rx_stats() 595 do_div(survey->time_tx, 1024); in p54_rx_stats() 596 do_div(survey->time_busy, 1024); in p54_rx_stats()
|
/linux-4.4.14/drivers/clk/bcm/ |
D | clk-bcm2835.c | 833 do_div(div, parent_rate); in bcm2835_pll_choose_ndiv_and_fdiv() 848 do_div(rate, pdiv); in bcm2835_pll_rate_from_divisors() 1175 do_div(temp, rate); in bcm2835_clock_choose_div() 1212 do_div(temp, div); in bcm2835_clock_rate_from_divisor()
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | lprocfs_status.c | 691 do_div(sum, ret.lc_count); in lprocfs_rd_import() 738 do_div(sum, ret.lc_count); in lprocfs_rd_import() 754 do_div(sum, ret.lc_count); in lprocfs_rd_import() 1377 do_div(frac, frac_d); in lprocfs_write_frac_u64_helper()
|
/linux-4.4.14/include/net/ |
D | codel.h | 115 do_div(valns, NSEC_PER_USEC); in codel_time_to_us()
|
/linux-4.4.14/drivers/staging/iio/trigger/ |
D | iio-trig-bfin-timer.c | 234 do_div(val, NSEC_PER_SEC); in iio_bfin_tmr_trigger_probe()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | fan.c | 162 do_div(tach, (end - start)); in nvkm_therm_fan_sense()
|
/linux-4.4.14/drivers/block/rsxx/ |
D | dev.c | 97 do_div(blocks, (geo->heads * geo->sectors)); in rsxx_getgeo()
|
/linux-4.4.14/drivers/soc/tegra/ |
D | pmc.c | 614 do_div(ticks, USEC_PER_SEC); in tegra_pmc_enter_suspend_mode() 618 do_div(ticks, USEC_PER_SEC); in tegra_pmc_enter_suspend_mode()
|
/linux-4.4.14/drivers/clk/qcom/ |
D | clk-rcg2.c | 145 do_div(tmp, n); in calc_rate() 206 do_div(tmp, f->m); in _freq_tbl_determine_rate()
|
/linux-4.4.14/drivers/net/can/softing/ |
D | softing_fw.c | 391 do_div(ovf, card->pdat->freq ?: 16); in softing_initialize_timestamp() 408 do_div(rawl, card->pdat->freq ?: 16); in softing_raw2ktime()
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-st-lpc.c | 101 do_div(lpt, rtc->clkrate); in st_rtc_read_time()
|
/linux-4.4.14/drivers/cpufreq/ |
D | qoriq-cpufreq.c | 279 do_div(u64temp, get_bus_freq()); in qoriq_cpufreq_cpu_init()
|
/linux-4.4.14/fs/ocfs2/ |
D | aops.c | 702 (do_div(s, osb->s_clustersize) >> 9); in ocfs2_direct_IO_zero_extend() 728 offset_div = do_div(o, osb->s_clustersize); in ocfs2_direct_IO_extend_no_holes() 729 size_div = do_div(s, osb->s_clustersize); in ocfs2_direct_IO_extend_no_holes() 815 zero_len_head = do_div(o, 1 << osb->s_clustersize_bits); in ocfs2_direct_IO_write() 819 do_div(s, osb->s_clustersize); in ocfs2_direct_IO_write()
|
/linux-4.4.14/drivers/media/rc/ |
D | ir-lirc-codec.c | 82 do_div(lirc->gap_duration, 1000); in ir_lirc_decode()
|
/linux-4.4.14/fs/ceph/ |
D | ioctl.c | 210 dl.block_offset = do_div(tmp, dl.block_size); in ceph_ioctl_get_dataloc()
|
/linux-4.4.14/drivers/media/usb/dvb-usb/ |
D | vp702x-fe.c | 160 do_div(sr,88000); in vp702x_fe_set_frontend()
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | pmc.c | 316 do_div(idx, pmc->descriptor_size); in wil_pmc_read()
|
/linux-4.4.14/drivers/iio/adc/ |
D | ad7793.c | 335 st->scale_avail[i][1] = do_div(scale_uv, 100000000) * 10; in ad7793_setup() 511 do_div(offset, 1444); in ad7793_read_raw()
|