do_div 80 arch/alpha/boot/stdio.c tmp[i++] = digits[do_div(num, base)]; do_div 519 arch/arm/mach-ep93xx/clock.c do_div(rate, (config_word & 0x1f) + 1); /* X2IPD */ do_div 162 arch/arm/mach-s3c24xx/include/mach/regs-s3c2443-clock.h do_div(fvco, pdiv << sdiv); do_div 182 arch/arm/mach-s3c24xx/include/mach/regs-s3c2443-clock.h do_div(fvco, (pdiv + 2) << sdiv); do_div 1330 arch/arm/nwfpe/softfloat.c do_div( tmp, bSig ); do_div 1399 arch/arm/nwfpe/softfloat.c do_div( tmp, bSig ); do_div 121 arch/arm/vfp/vfp.h do_div(z, mh); do_div 135 arch/arm/vfp/vfp.h do_div(remh, mh); do_div 311 arch/arm/vfp/vfpsingle.c do_div(v, z); do_div 1122 arch/arm/vfp/vfpsingle.c do_div(significand, vsm.significand); do_div 110 arch/c6x/kernel/setup.c do_div(tmp, 1000000); do_div 53 arch/c6x/kernel/time.c do_div(tmp, c6x_core_freq); do_div 220 arch/mips/ath79/clock.c do_div(t, ref_div); do_div 225 arch/mips/ath79/clock.c do_div(t, ref_div * frac); do_div 269 arch/mips/netlogic/xlp/nlm_hal.c do_div(num, denom); do_div 290 arch/mips/netlogic/xlp/nlm_hal.c do_div(num, denom); do_div 435 arch/mips/netlogic/xlp/nlm_hal.c do_div(pll_out_freq_num, pll_out_freq_den); do_div 444 arch/mips/netlogic/xlp/nlm_hal.c do_div(pll_out_freq_num, 1 << pic_div); do_div 374 arch/mips/ralink/mt7620.c do_div(t, div); do_div 116 arch/powerpc/boot/stdio.c tmp[i++] = digits[do_div(num, base)]; do_div 919 arch/powerpc/kernel/time.c do_div(frac_sec, NSEC_PER_SEC); do_div 1166 arch/powerpc/kernel/time.c rb = ((u64) do_div(ra, divisor) << 32) + c; do_div 1169 arch/powerpc/kernel/time.c rc = ((u64) do_div(rb, divisor) << 32) + d; do_div 1172 arch/powerpc/kernel/time.c do_div(rc, divisor); do_div 570 arch/powerpc/kvm/booke.c if (do_div(nr_jiffies, tb_ticks_per_jiffy)) do_div 57 arch/powerpc/kvm/emulate.c dec_nsec = do_div(dec_time, NSEC_PER_SEC); do_div 140 arch/powerpc/kvm/timing.c do_div(min, tb_ticks_per_usec); do_div 142 arch/powerpc/kvm/timing.c do_div(max, tb_ticks_per_usec); do_div 144 arch/powerpc/kvm/timing.c do_div(sum, tb_ticks_per_usec); do_div 146 arch/powerpc/kvm/timing.c do_div(sum_quad, tb_ticks_per_usec); do_div 408 arch/powerpc/platforms/52xx/mpc52xx_gpt.c do_div(clocks, 1000000000); /* Scale it down to ns range */ do_div 427 arch/powerpc/platforms/52xx/mpc52xx_gpt.c do_div(clocks, prescale); do_div 508 arch/powerpc/platforms/52xx/mpc52xx_gpt.c do_div(period, (u64)gpt->ipb_freq); do_div 595 arch/powerpc/platforms/52xx/mpc52xx_gpt.c do_div(real_timeout, 1000000000ULL); do_div 396 arch/powerpc/platforms/85xx/p1022_ds.c do_div(temp, pixclock); do_div 66 arch/powerpc/platforms/85xx/p1022_rdk.c do_div(temp, pixclock); do_div 101 arch/powerpc/platforms/85xx/t1042rdb_diu.c do_div(temp, pixclock); do_div 248 arch/powerpc/platforms/86xx/mpc8610_hpcd.c do_div(temp, pixclock); do_div 88 arch/riscv/lib/delay.c do_div(n, 1000000); do_div 1451 arch/s390/kernel/debug.c usec = do_div(sec, USEC_PER_SEC); do_div 131 arch/s390/kernel/time.c rem = do_div(sec, 1000000); do_div 122 arch/s390/lib/delay.c do_div(nsecs, 125); do_div 665 arch/sh/kernel/cpu/sh4/softfloat.c do_div(tmp, b0); do_div 677 arch/sh/kernel/cpu/sh4/softfloat.c do_div(tmp, b0); do_div 815 arch/sh/kernel/cpu/sh4/softfloat.c do_div(zSig, bSig); do_div 71 arch/x86/events/amd/power.c do_div(delta, tdelta); do_div 782 arch/x86/kernel/apic/apic.c do_div(res, 1000000); do_div 788 arch/x86/kernel/apic/apic.c do_div(res, deltapm); do_div 796 arch/x86/kernel/apic/apic.c do_div(res, deltapm); do_div 1026 arch/x86/kernel/cpu/microcode/intel.c do_div(llc_size, c->x86_max_cores); do_div 182 arch/x86/kernel/cpu/vmware.c do_div(tsc_khz, 1000); do_div 189 arch/x86/kernel/cpu/vmware.c do_div(lpj, HZ); do_div 839 arch/x86/kernel/hpet.c do_div(freq, hpet_period); do_div 1192 arch/x86/kernel/hpet.c do_div(clc, freq); do_div 142 arch/x86/kernel/kvmclock.c do_div(lpj, HZ); do_div 117 arch/x86/kernel/nmi.c remainder_ns = do_div(whole_msecs, (1000 * 1000)); do_div 31 arch/x86/kernel/pvclock.c do_div(pv_tsc_khz, src->tsc_to_system_mul); do_div 140 arch/x86/kernel/pvclock.c now.tv_nsec = do_div(delta, NSEC_PER_SEC); do_div 339 arch/x86/kernel/tsc.c do_div(tmp, 1000000); do_div 359 arch/x86/kernel/tsc.c do_div(tmp, PMTMR_TICKS_PER_SEC); do_div 360 arch/x86/kernel/tsc.c do_div(deltatsc, tmp); do_div 443 arch/x86/kernel/tsc.c do_div(delta, ms); do_div 605 arch/x86/kernel/tsc.c do_div(delta, i*256*1000); do_div 782 arch/x86/kernel/tsc.c do_div(delta, tsc_ref_min); do_div 1222 arch/x86/kernel/tsc.c rem = do_div(art, art_to_tsc_denominator); do_div 1227 arch/x86/kernel/tsc.c do_div(tmp, art_to_tsc_denominator); do_div 1260 arch/x86/kernel/tsc.c rem = do_div(art_ns, USEC_PER_SEC); do_div 1265 arch/x86/kernel/tsc.c do_div(tmp, USEC_PER_SEC); do_div 1443 arch/x86/kernel/tsc.c do_div(lpj, HZ); do_div 928 arch/x86/kvm/hyperv.c do_div(tsc_ref->tsc_offset, 100); do_div 1473 arch/x86/kvm/lapic.c do_div(delay_ns, vcpu->arch.virtual_tsc_khz); do_div 1493 arch/x86/kvm/lapic.c do_div(ns, vcpu->arch.virtual_tsc_khz); do_div 1498 arch/x86/kvm/lapic.c do_div(ns, vcpu->arch.virtual_tsc_khz); do_div 1589 arch/x86/kvm/lapic.c do_div(ns, this_tsc_khz); do_div 1956 arch/x86/kvm/vmx/nested.c do_div(preemption_timeout, vcpu->arch.virtual_tsc_khz); do_div 3531 arch/x86/kvm/vmx/nested.c do_div(value, 1000000); do_div 1756 arch/x86/kvm/x86.c do_div(v, 1000000); do_div 976 block/bfq-iosched.c do_div(dur, bfqd->peak_rate); do_div 282 block/bfq-wf2q.c do_div(d, weight); do_div 851 block/blk-throttle.c do_div(tmp, HZ); do_div 899 block/blk-throttle.c do_div(tmp, HZ); do_div 937 block/blk-throttle.c do_div(tmp, HZ); do_div 1984 block/blk-throttle.c do_div(bps, elapsed_time); do_div 1991 block/blk-throttle.c do_div(bps, elapsed_time); do_div 688 drivers/acpi/apei/ghes.c do_div(period, (count + 1)); do_div 462 drivers/base/power/main.c do_div(usecs64, NSEC_PER_USEC); do_div 128 drivers/base/power/sysfs.c do_div(tmp, NSEC_PER_MSEC); do_div 140 drivers/base/power/sysfs.c do_div(tmp, NSEC_PER_MSEC); do_div 83 drivers/block/rsxx/dev.c do_div(blocks, (geo->heads * geo->sectors)); do_div 95 drivers/block/rsxx/dma.c do_div(tgt_addr8, RSXX_HW_BLK_SIZE); do_div 897 drivers/char/hpet.c do_div(temp, period); do_div 908 drivers/char/hpet.c remainder = do_div(temp, 1000000); do_div 53 drivers/clk/actions/owl-factor.c do_div(calc_rate, clkt->div); do_div 169 drivers/clk/actions/owl-factor.c do_div(rate, div); do_div 227 drivers/clk/at91/clk-audio-pll.c rem = do_div(tmp, parent_rate); do_div 151 drivers/clk/axs10x/pll_clock.c do_div(rate, idiv * odiv); do_div 535 drivers/clk/bcm/clk-bcm2835.c do_div(div, parent_rate); do_div 550 drivers/clk/bcm/clk-bcm2835.c do_div(rate, pdiv); do_div 930 drivers/clk/bcm/clk-bcm2835.c rem = do_div(temp, rate); do_div 981 drivers/clk/bcm/clk-bcm2835.c do_div(temp, div); do_div 156 drivers/clk/bcm/clk-raspberrypi.c do_div(div, req->best_parent_rate); do_div 168 drivers/clk/berlin/berlin2-avpll.c do_div(freq, refdiv); do_div 336 drivers/clk/berlin/berlin2-avpll.c do_div(freq, divider); do_div 67 drivers/clk/berlin/berlin2-pll.c do_div(rate, rfdiv * vcodiv); do_div 175 drivers/clk/clk-cdce706.c do_div(res, hwd->div); do_div 207 drivers/clk/clk-cdce706.c do_div(res, hwd->div); do_div 328 drivers/clk/clk-cdce706.c do_div(div_rate64, m); do_div 329 drivers/clk/clk-cdce706.c do_div(div_rate64, div); do_div 203 drivers/clk/clk-cs2000-cp.c do_div(ratio, rate_in); do_div 29 drivers/clk/clk-fixed-factor.c do_div(rate, fix->div); do_div 66 drivers/clk/clk-fractional-divider.c do_div(ret, n); do_div 108 drivers/clk/clk-fractional-divider.c do_div(ret, n); do_div 191 drivers/clk/clk-hsdk-pll.c do_div(rate, idiv * odiv); do_div 59 drivers/clk/clk-npcm7xx.c do_div(ret, indv * otdv1 * otdv2); do_div 941 drivers/clk/clk-qoriq.c do_div(pct80_rate, 10); do_div 62 drivers/clk/clk-scmi.c do_div(ftmp, clk->info->range.step_size); do_div 198 drivers/clk/clk-si514.c do_div(m, FXO); do_div 382 drivers/clk/clk-si5341.c do_div(res, (m_den >> shift)); do_div 388 drivers/clk/clk-si5341.c do_div(res, 1000); do_div 508 drivers/clk/clk-si5341.c do_div(f, SI5341_SYNTH_N_MAX); do_div 513 drivers/clk/clk-si5341.c do_div(f, SI5341_SYNTH_N_MIN); do_div 552 drivers/clk/clk-si5341.c r = do_div(n_num, rate); do_div 434 drivers/clk/clk-si5351.c do_div(rate, 128 * hwdata->params.p3); do_div 470 drivers/clk/clk-si5351.c do_div(lltmp, *parent_rate); do_div 489 drivers/clk/clk-si5351.c do_div(lltmp, c); do_div 632 drivers/clk/clk-si5351.c do_div(rate, m); do_div 674 drivers/clk/clk-si5351.c do_div(lltmp, rate); do_div 713 drivers/clk/clk-si5351.c do_div(lltmp, rate); do_div 727 drivers/clk/clk-si5351.c do_div(lltmp, a * c + b); do_div 249 drivers/clk/clk-si544.c do_div(vco, ls_freq); do_div 261 drivers/clk/clk-si544.c tmp = do_div(vco, FXO); do_div 267 drivers/clk/clk-si544.c do_div(vco, FXO); do_div 292 drivers/clk/clk-si544.c do_div(vco, d); do_div 348 drivers/clk/clk-si544.c do_div(num, DELTA_M_FRAC_DEN); do_div 764 drivers/clk/clk-stm32h7.c do_div(rate, m); do_div 769 drivers/clk/clk-stm32h7.c do_div(rate1, (m * 8191)); do_div 835 drivers/clk/clk-stm32mp1.c do_div(rate, divm); do_div 840 drivers/clk/clk-stm32mp1.c do_div(rate_frac, (divm * 8192)); do_div 438 drivers/clk/clk-versaclock5.c do_div(div_frc, *parent_rate); do_div 520 drivers/clk/clk-versaclock5.c do_div(div_frc, rate); do_div 266 drivers/clk/clk-xgene.c do_div(ret, fd->denom); do_div 288 drivers/clk/clk-xgene.c do_div(ret, fd->denom); do_div 111 drivers/clk/imx/clk-frac-pll.c do_div(temp64, PLL_FRAC_DENOM); do_div 112 drivers/clk/imx/clk-frac-pll.c do_div(temp64, divq); do_div 115 drivers/clk/imx/clk-frac-pll.c do_div(rate, divq); do_div 131 drivers/clk/imx/clk-frac-pll.c do_div(temp64, parent_rate); do_div 135 drivers/clk/imx/clk-frac-pll.c do_div(temp64, parent_rate); do_div 140 drivers/clk/imx/clk-frac-pll.c do_div(temp64, PLL_FRAC_DENOM); do_div 168 drivers/clk/imx/clk-frac-pll.c do_div(temp64, parent_rate); do_div 59 drivers/clk/imx/clk-pfd.c do_div(tmp, frac); do_div 71 drivers/clk/imx/clk-pfd.c do_div(tmp, rate); do_div 79 drivers/clk/imx/clk-pfd.c do_div(tmp, frac); do_div 92 drivers/clk/imx/clk-pfd.c do_div(tmp, rate); do_div 96 drivers/clk/imx/clk-pfdv2.c do_div(tmp, frac); do_div 108 drivers/clk/imx/clk-pfdv2.c do_div(tmp, rate); do_div 118 drivers/clk/imx/clk-pfdv2.c do_div(tmp, frac); do_div 143 drivers/clk/imx/clk-pfdv2.c do_div(tmp, rate); do_div 86 drivers/clk/imx/clk-pll14xx.c do_div(fvco, pdiv << sdiv); do_div 110 drivers/clk/imx/clk-pll14xx.c do_div(fvco, pdiv << sdiv); do_div 100 drivers/clk/imx/clk-pllv1.c do_div(ull, mfd + 1); do_div 100 drivers/clk/imx/clk-pllv2.c do_div(temp, mfd + 1); do_div 143 drivers/clk/imx/clk-pllv2.c do_div(temp64, quad_parent_rate / 1000000); do_div 226 drivers/clk/imx/clk-pllv3.c do_div(temp64, mfd); do_div 253 drivers/clk/imx/clk-pllv3.c do_div(temp64, parent_rate); do_div 258 drivers/clk/imx/clk-pllv3.c do_div(temp64, mfd); do_div 283 drivers/clk/imx/clk-pllv3.c do_div(temp64, parent_rate); do_div 318 drivers/clk/imx/clk-pllv3.c do_div(temp64, mf.mfd); do_div 340 drivers/clk/imx/clk-pllv3.c do_div(temp64, parent_rate); do_div 82 drivers/clk/imx/clk-pllv4.c do_div(temp64, mfd); do_div 115 drivers/clk/imx/clk-pllv4.c do_div(temp64, parent_rate); do_div 129 drivers/clk/imx/clk-pllv4.c do_div(temp64, mfd); do_div 164 drivers/clk/imx/clk-pllv4.c do_div(temp64, parent_rate); do_div 139 drivers/clk/imx/clk-sccg-pll.c do_div(temp_setup->vco2, temp_setup->divr2 + 1); do_div 145 drivers/clk/imx/clk-sccg-pll.c do_div(temp_setup->fout, 2 * (temp_setup->divq + 1)); do_div 181 drivers/clk/imx/clk-sccg-pll.c do_div(temp_setup->ref_div2, temp_setup->divr2 + 1); do_div 218 drivers/clk/imx/clk-sccg-pll.c do_div(vco1, temp_setup->divr1 + 1); do_div 240 drivers/clk/imx/clk-sccg-pll.c do_div(temp_setup->ref_div1, temp_setup->divr1 + 1); do_div 357 drivers/clk/imx/clk-sccg-pll.c do_div(temp64, (divr2 + 1) * (divq + 1)); do_div 361 drivers/clk/imx/clk-sccg-pll.c do_div(temp64, (divr1 + 1) * (divr2 + 1) * (divq + 1)); do_div 191 drivers/clk/mediatek/clk-pll.c do_div(_pcw, fin); do_div 50 drivers/clk/meson/clk-mpll.c uint64_t frac = do_div(div, requested_rate); do_div 306 drivers/clk/microchip/clk-core.c do_div(rate64, rodiv); do_div 342 drivers/clk/microchip/clk-core.c do_div(frac, rate); do_div 612 drivers/clk/microchip/clk-core.c do_div(rate64, 1 << div); do_div 661 drivers/clk/microchip/clk-core.c do_div(rate64, div); do_div 85 drivers/clk/mvebu/common.c do_div(freq_swing_half, (2 * 96 * high_bound)); do_div 60 drivers/clk/mxs/clk-frac.c do_div(tmp, parent_rate); do_div 86 drivers/clk/mxs/clk-frac.c do_div(tmp, parent_rate); do_div 55 drivers/clk/mxs/clk-ref.c do_div(tmp, frac); do_div 68 drivers/clk/mxs/clk-ref.c do_div(tmp, rate); do_div 78 drivers/clk/mxs/clk-ref.c do_div(tmp, frac); do_div 93 drivers/clk/mxs/clk-ref.c do_div(tmp, rate); do_div 420 drivers/clk/qcom/clk-alpha-pll.c remainder = do_div(quotient, prate); do_div 431 drivers/clk/qcom/clk-alpha-pll.c remainder = do_div(quotient, prate); do_div 626 drivers/clk/qcom/clk-alpha-pll.c remainder = do_div(quotient, prate); do_div 635 drivers/clk/qcom/clk-alpha-pll.c remainder = do_div(quotient, prate); do_div 692 drivers/clk/qcom/clk-alpha-pll.c do_div(tmp, alpha_n); do_div 696 drivers/clk/qcom/clk-alpha-pll.c do_div(tmp, alpha_n); do_div 99 drivers/clk/qcom/clk-pll.c do_div(tmp, n); do_div 334 drivers/clk/qcom/clk-rcg.c do_div(tmp, n); do_div 422 drivers/clk/qcom/clk-rcg.c do_div(tmp, f->m); do_div 157 drivers/clk/qcom/clk-rcg2.c do_div(tmp, n); do_div 235 drivers/clk/qcom/clk-rcg2.c do_div(tmp, f->m); do_div 1326 drivers/clk/qcom/gcc-ipq4019.c do_div(rate, pre_div); do_div 1402 drivers/clk/qcom/gcc-ipq4019.c do_div(rate, pre_div); do_div 162 drivers/clk/rockchip/clk-pll.c do_div(rate64, cur.refdiv); do_div 168 drivers/clk/rockchip/clk-pll.c do_div(frac_rate64, cur.refdiv); do_div 172 drivers/clk/rockchip/clk-pll.c do_div(rate64, cur.postdiv1); do_div 173 drivers/clk/rockchip/clk-pll.c do_div(rate64, cur.postdiv2); do_div 405 drivers/clk/rockchip/clk-pll.c do_div(rate64, cur.nr); do_div 406 drivers/clk/rockchip/clk-pll.c do_div(rate64, cur.no); do_div 639 drivers/clk/rockchip/clk-pll.c do_div(rate64, cur.refdiv); do_div 645 drivers/clk/rockchip/clk-pll.c do_div(frac_rate64, cur.refdiv); do_div 649 drivers/clk/rockchip/clk-pll.c do_div(rate64, cur.postdiv1); do_div 650 drivers/clk/rockchip/clk-pll.c do_div(rate64, cur.postdiv2); do_div 118 drivers/clk/samsung/clk-pll.c do_div(fvco, (pdiv + 2) << sdiv); do_div 151 drivers/clk/samsung/clk-pll.c do_div(fvco, pdiv << sdiv); do_div 188 drivers/clk/samsung/clk-pll.c do_div(fvco, (pdiv << sdiv)); do_div 298 drivers/clk/samsung/clk-pll.c do_div(fvco, (pdiv << sdiv)); do_div 416 drivers/clk/samsung/clk-pll.c do_div(fvco, (pdiv << sdiv)); do_div 566 drivers/clk/samsung/clk-pll.c do_div(fvco, (pdiv << sdiv)); do_div 708 drivers/clk/samsung/clk-pll.c do_div(fvco, (pdiv << sdiv)); do_div 745 drivers/clk/samsung/clk-pll.c do_div(fvco, (pdiv << sdiv)); do_div 781 drivers/clk/samsung/clk-pll.c do_div(fvco, (pdiv + 2) << sdiv); do_div 799 drivers/clk/samsung/clk-pll.c do_div(fvco, (pdiv + 2) << sdiv); do_div 947 drivers/clk/samsung/clk-pll.c do_div(fvco, (p << s)); do_div 985 drivers/clk/samsung/clk-pll.c do_div(fvco, (pdiv << sdiv)); do_div 1094 drivers/clk/samsung/clk-pll.c do_div(fout, (pdiv << sdiv)); do_div 1189 drivers/clk/samsung/clk-pll.c do_div(fvco, (pdiv << sdiv)); do_div 375 drivers/clk/sirf/clk-atlas7.c do_div(rate, nr); do_div 376 drivers/clk/sirf/clk-atlas7.c do_div(rate, (256 * ((ssdiv >> ssdepth) << ssdepth) do_div 381 drivers/clk/sirf/clk-atlas7.c do_div(rate, nr); do_div 530 drivers/clk/sirf/clk-atlas7.c do_div(rate, DTO_RESL_NORMAL); do_div 532 drivers/clk/sirf/clk-atlas7.c do_div(rate, DTO_RESL_DOUBLE); do_div 542 drivers/clk/sirf/clk-atlas7.c do_div(dividend, *parent_rate); do_div 544 drivers/clk/sirf/clk-atlas7.c do_div(dividend, DTO_RESL_DOUBLE); do_div 555 drivers/clk/sirf/clk-atlas7.c do_div(dividend, parent_rate); do_div 121 drivers/clk/sirf/clk-common.c do_div(dividend, nr * od); do_div 46 drivers/clk/socfpga/clk-pll-a10.c do_div(vco_freq, (1 + divq)); do_div 54 drivers/clk/socfpga/clk-pll.c do_div(vco_freq, (1 + divq)); do_div 190 drivers/clk/sprd/pll.c nint = do_div(fvco, refin * CLK_PLL_1M); do_div 202 drivers/clk/sprd/pll.c tmp = do_div(tmp, 10000) * ((mask >> shift) + 1); do_div 27 drivers/clk/sunxi-ng/ccu_nkmp.c do_div(rate, m * p); do_div 25 drivers/clk/sunxi-ng/ccu_nm.c do_div(rate, m); do_div 51 drivers/clk/tegra/clk-divider.c do_div(rate, div); do_div 58 drivers/clk/tegra/clk-periph-fixed.c do_div(rate, fixed->div); do_div 886 drivers/clk/tegra/clk-pll.c do_div(rate, cfg.m); do_div 1007 drivers/clk/tegra/clk-pll.c do_div(rate, divm); do_div 1330 drivers/clk/tegra/clk-pll.c do_div(output_rate, cfg.m * p_div); do_div 1496 drivers/clk/tegra/clk-pll.c do_div(output_rate, m); do_div 1550 drivers/clk/tegra/clk-pll.c do_div(rate, cfg.m); do_div 102 drivers/clk/tegra/clk-sdmmc-mux.c do_div(rate, div); do_div 1444 drivers/clk/tegra/clk-tegra210.c do_div(s, cf); do_div 29 drivers/clk/tegra/clk-utils.c do_div(divider_ux1, rate); do_div 472 drivers/clk/ti/adpll.c do_div(rate, divider); do_div 116 drivers/clk/ti/clkt_dpll.c do_div(num, n); do_div 263 drivers/clk/ti/clkt_dpll.c do_div(dpll_clk, dpll_div + 1); do_div 183 drivers/clk/ti/fapll.c do_div(rate, fapll_p); do_div 347 drivers/clk/ti/fapll.c do_div(rate, synth_div_freq); do_div 32 drivers/clk/versatile/icst.c do_div(dividend, divisor); do_div 194 drivers/clk/zte/clk.c do_div(tmp64, rate); do_div 226 drivers/clk/zte/clk.c do_div(tmp64, tmp); do_div 216 drivers/cpufreq/qoriq-cpufreq.c do_div(u64temp, get_bus_freq()); do_div 232 drivers/cpuidle/governors/menu.c do_div(variance, divisor); do_div 848 drivers/crypto/marvell/hash.c cache_ptr = do_div(len, blocksize); do_div 481 drivers/dma/dmatest.c do_div(per_sec, runtime); do_div 1992 drivers/edac/i7core_edac.c do_div(scrub_interval, new_bw); do_div 2044 drivers/edac/i7core_edac.c do_div(scrub_rate, scrubval); do_div 767 drivers/gpio/gpio-aspeed.c r = do_div(n, 1000000); do_div 663 drivers/gpio/gpio-mvebu.c do_div(val, mvpwm->clk_rate); do_div 674 drivers/gpio/gpio-mvebu.c do_div(val, mvpwm->clk_rate); do_div 706 drivers/gpio/gpio-mvebu.c do_div(val, NSEC_PER_SEC); do_div 716 drivers/gpio/gpio-mvebu.c do_div(val, NSEC_PER_SEC); do_div 696 drivers/gpu/drm/amd/amdgpu/atom.c do_div(val64, src); do_div 5271 drivers/gpu/drm/amd/amdgpu/si_dpm.c do_div(tmp, reference_clock); do_div 6489 drivers/gpu/drm/amd/amdgpu/si_dpm.c do_div(tmp64, 10000); do_div 6580 drivers/gpu/drm/amd/amdgpu/si_dpm.c do_div(tmp64, duty100); do_div 6613 drivers/gpu/drm/amd/amdgpu/si_dpm.c do_div(tmp64, 100); do_div 74 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c do_div(tmp64, duty100); do_div 218 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c do_div(tmp64, 100); do_div 275 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c do_div(tmp64, 100); do_div 157 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c do_div(tmp64, 100); do_div 1441 drivers/gpu/drm/amd/powerplay/smu_v11_0.c do_div(tmp64, 100); do_div 2156 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c do_div(tmp64, 10000); do_div 2168 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c do_div(tmp64, 10000); do_div 2118 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c do_div(tmp64, 10000); do_div 884 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c do_div(temp, ref_clock); do_div 899 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c do_div(temp, ref_clock); do_div 2103 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c do_div(tmp64, 10000); do_div 2499 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c do_div(tmp64, 10000); do_div 761 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c do_div(temp, ref_clock); do_div 780 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c do_div(temp, ref_clock); do_div 590 drivers/gpu/drm/bridge/cdns-dsi.c if (do_div(dlane_bps, lanes * dpi_htotal)) do_div 615 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c do_div(tmp, 128 * sample_rate); do_div 492 drivers/gpu/drm/bridge/tc358767.c do_div(tmp, refclk); do_div 322 drivers/gpu/drm/drm_modes.c do_div(tmp, hperiod); do_div 560 drivers/gpu/drm/exynos/exynos_drm_dsi.c do_div(tmp, fin); do_div 566 drivers/gpu/drm/exynos/exynos_drm_dsi.c do_div(tmp, _p); do_div 572 drivers/gpu/drm/exynos/exynos_drm_dsi.c do_div(tmp, _p << _s); do_div 964 drivers/gpu/drm/gma500/cdv_intel_dp.c m = do_div(value, *den); do_div 347 drivers/gpu/drm/i2c/ch7006_mode.c do_div(scale, mode->vtotal); do_div 350 drivers/gpu/drm/i2c/ch7006_mode.c do_div(aspect, ch_mode->enc_vdisp); do_div 2734 drivers/gpu/drm/i915/display/intel_dpll_mgr.c do_div(tmp, refclk_khz * m1div); do_div 2793 drivers/gpu/drm/i915/display/intel_dpll_mgr.c do_div(tmp, refclk_khz * m1div * 10000); do_div 2937 drivers/gpu/drm/i915/i915_perf.c do_div(tmp, oa_period); do_div 8222 drivers/gpu/drm/i915/intel_pm.c do_div(diffms, NSEC_PER_MSEC); do_div 490 drivers/gpu/drm/mcde/mcde_dsi.c do_div(bpl, 1000000); /* microseconds */ do_div 491 drivers/gpu/drm/mcde/mcde_dsi.c do_div(bpl, 1000000); /* seconds */ do_div 1553 drivers/gpu/drm/mgag200/mgag200_mode.c do_div(pixels_per_second, total_area); do_div 1556 drivers/gpu/drm/mgag200/mgag200_mode.c do_div(bandwidth, divisor); do_div 1366 drivers/gpu/drm/msm/adreno/a5xx_gpu.c do_div(busy_time, clk_get_rate(gpu->core_clk) / 1000000); do_div 811 drivers/gpu/drm/msm/adreno/a6xx_gpu.c do_div(busy_time, 192); do_div 692 drivers/gpu/drm/msm/dsi/dsi_host.c do_div(pclk_bpp, (8 * lanes)); do_div 724 drivers/gpu/drm/msm/dsi/dsi_host.c do_div(pclk_bpp, 8); do_div 330 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c do_div(pll_comp_val, 10); do_div 362 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c do_div(data, 1000000); do_div 369 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c do_div(data, 10); do_div 373 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c do_div(data, 1000000); do_div 150 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c rem = do_div(dividend, divisor); do_div 161 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c do_div(fdata, HDMI_PLL_CMP_CNT); do_div 250 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c do_div(dec_start, pll_divisor); do_div 254 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c rem = do_div(frac_start, pll_divisor); do_div 266 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c do_div(fdata, pd.vco_ratio); do_div 659 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c do_div(fdata, 10); do_div 663 drivers/gpu/drm/msm/msm_gpu.c do_div(elapsed, 192); do_div 668 drivers/gpu/drm/msm/msm_gpu.c do_div(clock, elapsed); do_div 328 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c do_div(rs[0], overscan * tv_norm->tv_enc_mode.hdisplay); do_div 329 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c do_div(rs[1], overscan * tv_norm->tv_enc_mode.vdisplay); do_div 156 drivers/gpu/drm/nouveau/nouveau_bo.c do_div(x, y); do_div 340 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c do_div(h, khz); do_div 346 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c do_div(v, khz); do_div 356 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c do_div(link_ratio, linkKBps); do_div 423 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c do_div(unk, symbol); do_div 424 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c do_div(unk, symbol); do_div 197 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c do_div(tag_base, tag_align); do_div 162 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c do_div(tach, (end - start)); do_div 2210 drivers/gpu/drm/omapdrm/dss/dispc.c do_div(tmp, 2 * out_height * ppl); do_div 2218 drivers/gpu/drm/omapdrm/dss/dispc.c do_div(tmp, 2 * out_height * (ppl - out_width)); do_div 2225 drivers/gpu/drm/omapdrm/dss/dispc.c do_div(tmp, out_width); do_div 981 drivers/gpu/drm/radeon/ci_dpm.c do_div(tmp64, 10000); do_div 1091 drivers/gpu/drm/radeon/ci_dpm.c do_div(tmp64, duty100); do_div 1123 drivers/gpu/drm/radeon/ci_dpm.c do_div(tmp64, 100); do_div 2026 drivers/gpu/drm/radeon/ni_dpm.c do_div(tmp, reference_clock); do_div 1104 drivers/gpu/drm/radeon/radeon_display.c mod = do_div(n, d); do_div 981 drivers/gpu/drm/radeon/radeon_uvd.c do_div(fb_div, ref_freq); do_div 70 drivers/gpu/drm/radeon/rv730_dpm.c do_div(tmp, reference_clock); do_div 144 drivers/gpu/drm/radeon/rv740_dpm.c do_div(tmp, reference_clock); do_div 518 drivers/gpu/drm/radeon/rv770_dpm.c do_div(tmp, reference_clock); do_div 4809 drivers/gpu/drm/radeon/si_dpm.c do_div(tmp, reference_clock); do_div 6054 drivers/gpu/drm/radeon/si_dpm.c do_div(tmp64, 10000); do_div 6152 drivers/gpu/drm/radeon/si_dpm.c do_div(tmp64, duty100); do_div 6184 drivers/gpu/drm/radeon/si_dpm.c do_div(tmp64, 100); do_div 662 drivers/gpu/drm/rockchip/cdn-dp-reg.c do_div(symbol, dp->link.num_lanes * link_rate * 8); do_div 663 drivers/gpu/drm/rockchip/cdn-dp-reg.c rem = do_div(symbol, 1000); do_div 523 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c do_div(tmp, fin); do_div 536 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c do_div(tmp, _prediv); do_div 124 drivers/gpu/drm/sun4i/sun4i_rgb.c do_div(lowest, 1000); do_div 129 drivers/gpu/drm/sun4i/sun4i_rgb.c do_div(highest, 1000); do_div 149 drivers/gpu/drm/sun4i/sun8i_vi_layer.c do_div(ability, mode->vdisplay * fps * max(src_w, dst_w)); do_div 385 drivers/gpu/drm/tegra/hdmi.c do_div(aval_f, afreq); do_div 392 drivers/gpu/drm/tegra/hdmi.c do_div(cts_f, afreq); do_div 745 drivers/gpu/drm/vc4/vc4_hdmi.c do_div(tmp, 128 * samplerate); do_div 249 drivers/hwmon/fam15h_power.c do_div(jdelta[cu], tdelta); do_div 63 drivers/hwmon/pwm-fan.c do_div(tmp, ctx->pulses_per_revolution * 1000); do_div 61 drivers/hwmon/scpi-hwmon.c do_div(*value, sensor->scale); do_div 283 drivers/ide/ide-disk.c do_div(n, 1000000); /* make it MB */ do_div 908 drivers/iio/accel/bmc150-accel-core.c do_div(sample_period, count); do_div 334 drivers/iio/adc/ad7793.c st->scale_avail[i][1] = do_div(scale_uv, 100000000) * 10; do_div 452 drivers/iio/adc/ad7793.c do_div(offset, 1444); do_div 787 drivers/iio/adc/mxs-lradc-adc.c do_div(scale_uv, 100000000) * 10; do_div 233 drivers/iio/adc/qcom-vadc-common.c do_div(temp, prescale->num * 2); do_div 63 drivers/iio/afe/iio-rescale.c do_div(tmp, rescale->denominator); do_div 65 drivers/iio/afe/iio-rescale.c do_div(tmp, 1000000000LL); do_div 419 drivers/iio/dac/ad5758.c do_div(sr_step, ad5758_sr_clk[i]); do_div 420 drivers/iio/dac/ad5758.c do_div(sr_step, st->slew_time); do_div 430 drivers/iio/dac/ad5758.c do_div(calc_slew_time, ad5758_sr_step[res]); do_div 431 drivers/iio/dac/ad5758.c do_div(calc_slew_time, ad5758_sr_clk[i]); do_div 272 drivers/iio/dac/ad5791.c do_div(val64, st->vref_mv); do_div 69 drivers/iio/dac/dpot-dac.c do_div(tmp, dac->max_ohms); do_div 71 drivers/iio/dac/dpot-dac.c do_div(tmp, 1000000000LL); do_div 151 drivers/iio/dac/dpot-dac.c do_div(tmp, val2); do_div 155 drivers/iio/dac/dpot-dac.c do_div(tmp, 1000000000LL); do_div 178 drivers/iio/frequency/adf4350.c do_div(tmp, st->fpfd); /* Div round closest (n + d/2)/d */ do_div 179 drivers/iio/frequency/adf4350.c st->r0_fract = do_div(tmp, st->r1_mod); do_div 318 drivers/iio/frequency/adf4350.c do_div(val, st->r1_mod * (1 << st->r4_rf_div_sel)); do_div 189 drivers/iio/frequency/adf4371.c do_div(tmp, st->mod2); do_div 197 drivers/iio/frequency/adf4371.c do_div(val, ADF4371_MODULUS1 * (1 << ref_div_sel)); do_div 217 drivers/iio/frequency/adf4371.c tmp = do_div(vco, pfd); do_div 219 drivers/iio/frequency/adf4371.c *fract2 = do_div(tmp, pfd); do_div 765 drivers/iio/proximity/isl29501.c do_div(freq, 450 * (sample_time + 1)); do_div 767 drivers/iio/proximity/isl29501.c temp = do_div(freq, 1000000); do_div 873 drivers/iio/proximity/isl29501.c do_div(sample_time, freq); do_div 114 drivers/iio/trigger/stm32-timer-trigger.c do_div(div, frequency); do_div 125 drivers/iio/trigger/stm32-timer-trigger.c do_div(div, (prescaler + 1)); do_div 231 drivers/iio/trigger/stm32-timer-trigger.c do_div(freq, psc + 1); do_div 232 drivers/iio/trigger/stm32-timer-trigger.c do_div(freq, arr + 1); do_div 1636 drivers/infiniband/ulp/isert/ib_isert.c do_div(sec_offset_err, block_size); do_div 2520 drivers/infiniband/ulp/srp/ib_srp.c do_div(max_compl_time_ms, NSEC_PER_MSEC); do_div 4135 drivers/infiniband/ulp/srp/ib_srp.c do_div(max_pages_per_mr, srp_dev->mr_page_size); do_div 390 drivers/interconnect/qcom/qcs404.c do_div(rate, qn->buswidth); do_div 605 drivers/interconnect/qcom/sdm845.c do_div(temp, bcm->nodes[i]->buswidth * bcm->nodes[i]->channels); do_div 609 drivers/interconnect/qcom/sdm845.c do_div(temp, bcm->nodes[i]->buswidth); do_div 614 drivers/interconnect/qcom/sdm845.c do_div(temp, bcm->aux_data.unit); do_div 618 drivers/interconnect/qcom/sdm845.c do_div(temp, bcm->aux_data.unit); do_div 56 drivers/leds/leds-pwm.c do_div(duty, max); do_div 1060 drivers/md/bcache/sysfs.c do_div(sum, n); do_div 39 drivers/md/bcache/writeback.h do_div(offset, d->stripe_size); do_div 734 drivers/md/dm-cache-target.c do_div(b, n); do_div 3503 drivers/md/dm-cache-target.c do_div(io_opt_sectors, cache->sectors_per_block)) { do_div 2106 drivers/md/dm-clone-target.c do_div(io_opt_sectors, clone->region_size)) { do_div 1684 drivers/md/dm-era-target.c do_div(io_opt_sectors, era->sectors_per_block)) { do_div 2937 drivers/md/dm-integrity.c do_div(watermark_percentage, ic->journal_entries); do_div 3963 drivers/md/dm-integrity.c do_div(threshold, 100); do_div 994 drivers/md/dm-stats.c if (do_div(step, divisor)) do_div 37 drivers/md/dm-verity-fec.c mod = do_div(offset, v->fec->rsn); do_div 1755 drivers/md/dm-writecache.c do_div(n_blocks, block_size + sizeof(struct wc_memory_entry)); do_div 2236 drivers/md/dm-writecache.c do_div(x, 100); do_div 2240 drivers/md/dm-writecache.c do_div(x, 100); do_div 2305 drivers/md/dm-writecache.c do_div(x, (size_t)wc->n_blocks); do_div 2311 drivers/md/dm-writecache.c do_div(x, (size_t)wc->n_blocks); do_div 284 drivers/md/persistent-data/dm-space-map-common.c b = do_div(index, ll->entries_per_block); do_div 340 drivers/md/persistent-data/dm-space-map-common.c begin = do_div(index_begin, ll->entries_per_block); do_div 341 drivers/md/persistent-data/dm-space-map-common.c end = do_div(end, ll->entries_per_block); do_div 422 drivers/md/persistent-data/dm-space-map-common.c bit = do_div(index, ll->entries_per_block); do_div 265 drivers/media/common/siano/smsdvb-main.c do_div(tmp, p->ts_packets + p->ets_packets); do_div 95 drivers/media/dvb-frontends/atbm8830.c do_div(t, 30400); do_div 117 drivers/media/dvb-frontends/atbm8830.c do_div(t, fs); do_div 118 drivers/media/dvb-frontends/atbm8830.c do_div(t, 1000); do_div 338 drivers/media/dvb-frontends/cx24113.c do_div(dividend, state->config->xtal_khz * 1000 * factor * 2); do_div 844 drivers/media/dvb-frontends/cx24120.c do_div(tmp, 256); do_div 849 drivers/media/dvb-frontends/cx24120.c do_div(tmp, state->bitrate); do_div 477 drivers/media/dvb-frontends/cx24123.c do_div(tmp, sample_rate); do_div 316 drivers/media/dvb-frontends/cxd2841er.c do_div(tmp, ((xtal == SONY_XTAL_24000) ? 48000000 : 41000000)); do_div 1789 drivers/media/dvb-frontends/dib7000p.c do_div(tmp64, dx); do_div 1885 drivers/media/dvb-frontends/dib7000p.c do_div(tmp64, guard); do_div 1888 drivers/media/dvb-frontends/dib7000p.c do_div(time_us, denom); do_div 1957 drivers/media/dvb-frontends/dib7000p.c do_div(blocks, time_us * 8 * 204); do_div 1990 drivers/media/dvb-frontends/dib7000p.c do_div(blocks, time_us * 8 * 204); do_div 3977 drivers/media/dvb-frontends/dib8000.c do_div(tmp64, dx); do_div 4086 drivers/media/dvb-frontends/dib8000.c do_div(tmp64, guard); do_div 4089 drivers/media/dvb-frontends/dib8000.c do_div(time_us, denom); do_div 4166 drivers/media/dvb-frontends/dib8000.c do_div(blocks, time_us * 8 * 204); do_div 4229 drivers/media/dvb-frontends/dib8000.c do_div(blocks, time_us * 8 * 204); do_div 12053 drivers/media/dvb-frontends/drx39xyj/drxj.c do_div(tmp64, 10); do_div 220 drivers/media/dvb-frontends/drxd_hard.c do_div(tmp64, c); do_div 164 drivers/media/dvb-frontends/drxk_hard.c do_div(tmp64, c); do_div 226 drivers/media/dvb-frontends/itd1000.c do_div(tmp, 1000000); do_div 512 drivers/media/dvb-frontends/lgdt3305.c do_div(nco, 625); do_div 517 drivers/media/dvb-frontends/lgdt3305.c do_div(nco, 625); do_div 154 drivers/media/dvb-frontends/lgs8gxx.c do_div(val, if_clk); do_div 165 drivers/media/dvb-frontends/m88rs2000.c do_div(temp, mclk); do_div 1377 drivers/media/dvb-frontends/mb86a20s.c do_div(tmp64, dx); do_div 1803 drivers/media/dvb-frontends/mb86a20s.c do_div(pll, 63 * fclk); do_div 1822 drivers/media/dvb-frontends/mb86a20s.c do_div(pll, 1628571429L); do_div 475 drivers/media/dvb-frontends/s5h1420.c do_div(val, (state->fclk / 1000)); do_div 281 drivers/media/dvb-frontends/s921.c do_div(offset, 6000000); do_div 836 drivers/media/dvb-frontends/si2165.c do_div(oversamp, dvb_rate); do_div 864 drivers/media/dvb-frontends/si2165.c do_div(if_freq_shift, fe_clk); do_div 19 drivers/media/dvb-frontends/stb0899_algo.c do_div(n, d); do_div 225 drivers/media/dvb-frontends/stv0299.c do_div(big, state->config->mclk); do_div 72 drivers/media/dvb-frontends/stv0910.c do_div(tmp64, c); do_div 299 drivers/media/dvb-frontends/stv6111.c do_div(tmp64, c); do_div 202 drivers/media/dvb-frontends/tda10023.c do_div(BDRX, state->sysclk); /* BDRX/=SYSCLK; */ do_div 307 drivers/media/dvb-frontends/tda10048.c do_div(t, sample_freq_hz); do_div 309 drivers/media/dvb-frontends/tda10048.c do_div(t, 10); do_div 315 drivers/media/dvb-frontends/tda10048.c do_div(t, sample_freq_hz); do_div 317 drivers/media/dvb-frontends/tda10048.c do_div(t, 10); do_div 345 drivers/media/dvb-frontends/tda10048.c do_div(t, z); do_div 347 drivers/media/dvb-frontends/tda10048.c do_div(t, 10); do_div 373 drivers/media/dvb-frontends/tda10048.c do_div(t, bw); do_div 375 drivers/media/dvb-frontends/tda10048.c do_div(t, 10); do_div 339 drivers/media/dvb-frontends/tda10086.c do_div(big, (SACLK/1000ULL)); do_div 469 drivers/media/dvb-frontends/tda10086.c do_div(tmp64, (1ULL<<15) * (1ULL<<1)); do_div 334 drivers/media/dvb-frontends/tda18271c2dd.c do_div(OscFreq, (u64)16000000); do_div 358 drivers/media/dvb-frontends/tda18271c2dd.c do_div(OscFreq, (u64)16000000); do_div 129 drivers/media/dvb-frontends/ves1820.c fptmp = fpxin; do_div(fptmp, 123); do_div 132 drivers/media/dvb-frontends/ves1820.c fptmp = fpxin; do_div(fptmp, 160); do_div 135 drivers/media/dvb-frontends/ves1820.c fptmp = fpxin; do_div(fptmp, 246); do_div 138 drivers/media/dvb-frontends/ves1820.c fptmp = fpxin; do_div(fptmp, 320); do_div 141 drivers/media/dvb-frontends/ves1820.c fptmp = fpxin; do_div(fptmp, 492); do_div 144 drivers/media/dvb-frontends/ves1820.c fptmp = fpxin; do_div(fptmp, 640); do_div 147 drivers/media/dvb-frontends/ves1820.c fptmp = fpxin; do_div(fptmp, 984); do_div 236 drivers/media/i2c/cx25840/cx25840-ir.c rem = do_div(n, CX25840_IR_REFCLK_FREQ / 1000000); /* / MHz => ns */ do_div 256 drivers/media/i2c/cx25840/cx25840-ir.c rem = do_div(n, d); do_div 278 drivers/media/i2c/cx25840/cx25840-ir.c rem = do_div(n, CX25840_IR_REFCLK_FREQ / 1000000); /* / MHz => us */ do_div 297 drivers/media/i2c/cx25840/cx25840-ir.c rem = do_div(clocks, 1000); /* /1000 = cycles */ do_div 305 drivers/media/i2c/cx25840/cx25840-ir.c do_div(count, (FIFO_RXTX << 2) | 0x3); do_div 524 drivers/media/i2c/imx258.c do_div(f, 10); do_div 2063 drivers/media/i2c/imx319.c do_div(pixel_rate, 10); do_div 2292 drivers/media/i2c/imx319.c do_div(pixel_rate, 10); do_div 1364 drivers/media/i2c/imx355.c do_div(pixel_rate, 10); do_div 1592 drivers/media/i2c/imx355.c do_div(pixel_rate, 10); do_div 219 drivers/media/i2c/mt9v011.c do_div(frames_per_ms, t_time); do_div 253 drivers/media/i2c/mt9v011.c do_div(t_time, denominator); do_div 256 drivers/media/i2c/mt9v011.c do_div(speed, row_time * line_time); do_div 950 drivers/media/i2c/ov13858.c do_div(f, 10); do_div 498 drivers/media/i2c/ov5675.c do_div(pixel_rate, OV5675_RGB_DEPTH); do_div 507 drivers/media/i2c/ov5675.c do_div(ppl, OV5675_SCLK); do_div 590 drivers/media/i2c/ov8856.c do_div(pixel_rate, OV8856_RGB_DEPTH); do_div 599 drivers/media/i2c/ov8856.c do_div(ppl, OV8856_SCLK); do_div 1130 drivers/media/i2c/ov9650.c do_div(req_int, fi->interval.denominator); do_div 778 drivers/media/i2c/saa7115.c do_div(f, state->crystal_freq); do_div 441 drivers/media/pci/bt8xx/dst.c do_div(sval, 88000); do_div 462 drivers/media/pci/cx18/cx18-av-core.c do_div(tmp, src_decimation); do_div 275 drivers/media/pci/cx23885/cx23888-ir.c rem = do_div(n, CX23888_IR_REFCLK_FREQ / 1000000); /* / MHz => ns */ do_div 291 drivers/media/pci/cx23885/cx23888-ir.c rem = do_div(n, CX23888_IR_REFCLK_FREQ / 1000000); /* / MHz => us */ do_div 310 drivers/media/pci/cx23885/cx23888-ir.c rem = do_div(clocks, 1000); /* /1000 = cycles */ do_div 318 drivers/media/pci/cx23885/cx23888-ir.c do_div(count, (FIFO_RXTX << 2) | 0x3); do_div 753 drivers/media/pci/cx88/cx88-core.c do_div(pll, xtal); do_div 945 drivers/media/pci/cx88/cx88-core.c do_div(tmp64, vdec_clock); do_div 952 drivers/media/pci/cx88/cx88-core.c do_div(tmp64, vdec_clock); do_div 959 drivers/media/pci/cx88/cx88-core.c do_div(tmp64, vdec_clock); do_div 975 drivers/media/pci/cx88/cx88-core.c do_div(tmp64, fsc8); do_div 122 drivers/media/pci/cx88/cx88-dsp.c do_div(tmp, divisor); do_div 154 drivers/media/pci/saa7134/saa7134-tvaudio.c do_div(a,12288); do_div 486 drivers/media/platform/qcom/venus/helpers.c do_div(ts_us, NSEC_PER_USEC); do_div 530 drivers/media/platform/qcom/venus/helpers.c do_div(fdata.timestamp, NSEC_PER_USEC); do_div 417 drivers/media/platform/qcom/venus/vdec.c do_div(us_per_frame, timeperframe->denominator); do_div 423 drivers/media/platform/qcom/venus/vdec.c do_div(fps, us_per_frame); do_div 515 drivers/media/platform/qcom/venus/venc.c do_div(us_per_frame, timeperframe->denominator); do_div 521 drivers/media/platform/qcom/venus/venc.c do_div(fps, us_per_frame); do_div 474 drivers/media/platform/rcar-vin/rcar-csi2.c do_div(mbps, priv->lanes * 1000000); do_div 132 drivers/media/platform/sti/hva/hva-debugfs.c do_div(div, 100); do_div 153 drivers/media/platform/sti/hva/hva-debugfs.c do_div(div, dbg->window_duration); do_div 188 drivers/media/platform/sti/hva/hva-debugfs.c do_div(div, 1000); do_div 201 drivers/media/platform/sti/hva/hva-debugfs.c do_div(div, 100); do_div 226 drivers/media/platform/sti/hva/hva-debugfs.c do_div(div, dbg->cnt_duration); do_div 234 drivers/media/platform/sti/hva/hva-debugfs.c do_div(div, dbg->total_duration); do_div 242 drivers/media/platform/sti/hva/hva-debugfs.c do_div(div, dbg->cnt_period); do_div 250 drivers/media/platform/sti/hva/hva-debugfs.c do_div(div, dbg->total_period); do_div 263 drivers/media/platform/sti/hva/hva-debugfs.c do_div(div, dbg->total_period); do_div 663 drivers/media/platform/vivid/vivid-kthread-cap.c do_div(f_period, dev->timeperframe_vid_cap.denominator); do_div 671 drivers/media/platform/vivid/vivid-kthread-cap.c do_div(dev->cap_frame_eof_offset, 10); do_div 758 drivers/media/platform/vivid/vivid-kthread-cap.c do_div(vbi_period, 100); do_div 825 drivers/media/platform/vivid/vivid-kthread-cap.c do_div(buffers_since_start, HZ * numerator); do_div 862 drivers/media/platform/vivid/vivid-kthread-cap.c do_div(next_jiffies_since_start, denominator); do_div 169 drivers/media/platform/vivid/vivid-kthread-out.c do_div(buffers_since_start, HZ * numerator); do_div 206 drivers/media/platform/vivid/vivid-kthread-out.c do_div(next_jiffies_since_start, denominator); do_div 162 drivers/media/platform/vivid/vivid-sdr-cap.c do_div(buffers_since_start, HZ * SDR_CAP_SAMPLES_PER_BUF); do_div 198 drivers/media/platform/vivid/vivid-sdr-cap.c do_div(next_jiffies_since_start, dev->sdr_adc_freq); do_div 80 drivers/media/rc/lirc_dev.c do_div(dev->gap_duration, 1000); do_div 216 drivers/media/rc/tango-ir.c do_div(clkdiv, 1000000); do_div 222 drivers/media/rc/tango-ir.c do_div(clkdiv, 1000000); do_div 229 drivers/media/rc/tango-ir.c do_div(clkdiv, RC6_CARRIER); do_div 1584 drivers/media/usb/cx231xx/cx231xx-avcore.c do_div(pll_freq_u64, 50000000); do_div 395 drivers/media/usb/dvb-usb/af9005-fe.c state->ber = do_div(numerator, denominator); do_div 156 drivers/media/usb/dvb-usb/vp702x-fe.c do_div(sr,88000); do_div 1780 drivers/media/v4l2-core/v4l2-ctrls.c do_div(offset, ctrl->step); do_div 286 drivers/memory/tegra/mc.c do_div(tick, NSEC_PER_SEC); do_div 682 drivers/memstick/core/mspro_block.c do_div(offset, msb->page_size); do_div 1501 drivers/mfd/db8500-prcmu.c (void)do_div(rate, div); do_div 1538 drivers/mfd/db8500-prcmu.c (void)do_div(r, 25); do_div 1688 drivers/mfd/db8500-prcmu.c (void)do_div(r, 25); do_div 1757 drivers/mfd/db8500-prcmu.c (void)do_div(d, src_rate); do_div 1766 drivers/mfd/db8500-prcmu.c (void)do_div(d, r); do_div 1853 drivers/mfd/db8500-prcmu.c (void)do_div(r, 25); do_div 1918 drivers/mfd/db8500-prcmu.c (void)do_div(d, src_rate); do_div 1927 drivers/mfd/db8500-prcmu.c (void)do_div(hwrate, r); do_div 118 drivers/misc/ds1682.c do_div(val, 250); do_div 250 drivers/misc/habanalabs/mmu.c do_div(num_of_hop3, prop->dram_page_size); do_div 251 drivers/misc/habanalabs/mmu.c do_div(num_of_hop3, PTE_ENTRIES_IN_HOP); do_div 350 drivers/misc/habanalabs/mmu.c do_div(num_of_hop3, prop->dram_page_size); do_div 351 drivers/misc/habanalabs/mmu.c do_div(num_of_hop3, PTE_ENTRIES_IN_HOP); do_div 524 drivers/mmc/core/mmc_test.c do_div(bytes, (uint32_t)ns); do_div 1005 drivers/mmc/host/mmci.c do_div(clks, NSEC_PER_SEC); do_div 1315 drivers/mmc/host/omap_hsmmc.c do_div(timeout, cycle_ns); do_div 176 drivers/mmc/host/pxamci.c do_div(clks, 1000000000UL); do_div 862 drivers/mmc/host/sdhci.c if (do_div(val, host->clock)) do_div 890 drivers/mmc/host/sdhci.c do_div(transfer_time, freq); do_div 161 drivers/mtd/mtdconcat.c if (do_div(__to, mtd->writesize) || (total_len % mtd->writesize)) do_div 799 drivers/mtd/mtdconcat.c do_div(tmp64, curr_erasesize); do_div 818 drivers/mtd/mtdconcat.c do_div(tmp64, curr_erasesize); do_div 837 drivers/mtd/mtdconcat.c do_div(tmp64, curr_erasesize); do_div 437 drivers/mtd/mtdpart.c remainder = do_div(tmp, wr_alignment); do_div 517 drivers/mtd/mtdpart.c remainder = do_div(tmp, wr_alignment); do_div 528 drivers/mtd/mtdpart.c remainder = do_div(tmp, wr_alignment); do_div 210 drivers/mtd/sm_ftl.c *boffset = do_div(offset, ftl->block_size); do_div 211 drivers/mtd/sm_ftl.c *block = do_div(offset, ftl->max_lba); do_div 2697 drivers/mtd/spi-nor/spi-nor.c page_offset = do_div(aux, nor->page_size); do_div 368 drivers/mtd/tests/oobtest.c do_div(tmp, mtd->erasesize); do_div 349 drivers/mtd/tests/pagetest.c do_div(tmp, mtd->erasesize); do_div 143 drivers/mtd/tests/readtest.c do_div(tmp, mtd->erasesize); do_div 170 drivers/mtd/tests/speedtest.c do_div(k, ms); do_div 209 drivers/mtd/tests/speedtest.c do_div(tmp, mtd->erasesize); do_div 168 drivers/mtd/tests/stresstest.c do_div(tmp, mtd->erasesize); do_div 299 drivers/mtd/tests/subpagetest.c do_div(tmp, mtd->erasesize); do_div 195 drivers/mtd/ubi/block.c offset = do_div(pos, dev->leb_size); do_div 186 drivers/net/can/dev.c do_div(v64, bt->bitrate); do_div 204 drivers/net/can/dev.c do_div(v64, priv->clock.freq); do_div 261 drivers/net/can/dev.c do_div(brp64, btc->brp_inc); do_div 263 drivers/net/can/dev.c do_div(brp64, 1000000000UL); /* the practicable BRP */ do_div 380 drivers/net/can/softing/softing_fw.c do_div(ovf, card->pdat->freq ?: 16); do_div 397 drivers/net/can/softing/softing_fw.c do_div(rawl, card->pdat->freq ?: 16); do_div 1578 drivers/net/ethernet/cavium/liquidio/lio_main.c do_div(delta, oct->coproc_clock_rate); do_div 1711 drivers/net/ethernet/cavium/liquidio/lio_main.c do_div(clock_comp, oct->coproc_clock_rate); do_div 312 drivers/net/ethernet/chelsio/cxgb/sge.c do_div(drain, (p->mtu + 50) * 1000); do_div 748 drivers/net/ethernet/hisilicon/hns/hns_enet.c do_div(total_bytes, time_passed_ms); do_div 3021 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c do_div(ring_group->total_packets, time_passed_ms); do_div 3024 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c do_div(ring_group->total_bytes, time_passed_ms); do_div 1106 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c rem_nsec = do_div(stats.time, HCLGE_BILLION_NANO_SECONDS); do_div 4349 drivers/net/ethernet/intel/e1000e/netdev.c rem = incvalue ? do_div(temp, incvalue) : (time_delta != 0); do_div 5537 drivers/net/ethernet/intel/i40e/i40e_main.c do_div(credits, I40E_BW_CREDIT_DIVISOR); do_div 6224 drivers/net/ethernet/intel/i40e/i40e_main.c do_div(credits, I40E_BW_CREDIT_DIVISOR); do_div 6273 drivers/net/ethernet/intel/i40e/i40e_main.c do_div(max_rate, I40E_BW_MBPS_DIVISOR); do_div 6843 drivers/net/ethernet/intel/i40e/i40e_main.c do_div(max_rate, I40E_BW_MBPS_DIVISOR); do_div 7480 drivers/net/ethernet/intel/i40e/i40e_main.c do_div(max_tx_rate, I40E_BW_MBPS_DIVISOR); do_div 7485 drivers/net/ethernet/intel/i40e/i40e_main.c do_div(credits, I40E_BW_CREDIT_DIVISOR); do_div 9769 drivers/net/ethernet/intel/i40e/i40e_main.c do_div(credits, I40E_BW_CREDIT_DIVISOR); do_div 10121 drivers/net/ethernet/intel/i40e/i40e_main.c do_div(max_tx_rate, I40E_BW_MBPS_DIVISOR); do_div 10127 drivers/net/ethernet/intel/i40e/i40e_main.c do_div(credits, I40E_BW_CREDIT_DIVISOR); do_div 1369 drivers/net/ethernet/marvell/mv643xx_eth.c do_div(temp, mp->t_clk); do_div 1381 drivers/net/ethernet/marvell/mv643xx_eth.c do_div(temp, 64000000); do_div 1406 drivers/net/ethernet/marvell/mv643xx_eth.c do_div(temp, mp->t_clk); do_div 1417 drivers/net/ethernet/marvell/mv643xx_eth.c do_div(temp, 64000000); do_div 2181 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c do_div(tmp, USEC_PER_SEC); do_div 2190 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c do_div(tmp, clk_hz); do_div 846 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c do_div(link_speed64, 50000); do_div 552 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c do_div(ns, NSEC_PER_SEC / HZ); do_div 1938 drivers/net/ethernet/mscc/ocelot.c do_div(adj, scaled_ppm); do_div 1939 drivers/net/ethernet/mscc/ocelot.c do_div(adj, 1000); do_div 1944 drivers/net/ethernet/mscc/ocelot.c do_div(adj, 1000); do_div 1929 drivers/net/ethernet/renesas/ravb_main.c do_div(inc, rate); do_div 536 drivers/net/ethernet/stmicro/stmmac/dwmac5.c do_div(period, sub_second_inc); do_div 1115 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c do_div(period, sub_second_inc); do_div 510 drivers/net/ethernet/ti/cpts.c do_div(maxsec, freq); do_div 1193 drivers/net/wan/ixp4xx_hss.c do_div(new_rate, a * (c + 1) + b + 1); do_div 1226 drivers/net/wan/ixp4xx_hss.c do_div(c, ixp4xx_timer_freq - rate * a); do_div 194 drivers/net/wireless/ath/carl9170/cmd.c do_div(info->time, 1000); do_div 195 drivers/net/wireless/ath/carl9170/cmd.c do_div(info->time_busy, 1000); do_div 196 drivers/net/wireless/ath/carl9170/cmd.c do_div(info->time_tx, 1000); do_div 170 drivers/net/wireless/ath/wil6210/debugfs.c do_div(idle, total); do_div 1776 drivers/net/wireless/ath/wil6210/debugfs.c do_div(tx_latency_avg, num_packets); do_div 357 drivers/net/wireless/ath/wil6210/pmc.c do_div(idx, pmc->descriptor_size); do_div 956 drivers/net/wireless/broadcom/b43/dma.c do_div(__a, b); \ do_div 962 drivers/net/wireless/broadcom/b43/dma.c do_div(__a, b); \ do_div 3665 drivers/net/wireless/intel/iwlegacy/common.c rem = do_div(tsf, interval_tm); do_div 330 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c rem = do_div(tsf, interval_tm); do_div 518 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c do_div(curr_os, NSEC_PER_USEC); do_div 4723 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c do_div(survey->time, USEC_PER_MSEC); do_div 4727 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c do_div(survey->time_rx, USEC_PER_MSEC); do_div 4731 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c do_div(survey->time_tx, USEC_PER_MSEC); do_div 4735 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c do_div(survey->time_scan, USEC_PER_MSEC); do_div 1180 drivers/net/wireless/intel/iwlwifi/mvm/utils.c do_div(tpt, elapsed); do_div 1194 drivers/net/wireless/intel/iwlwifi/mvm/utils.c do_div(tpt, elapsed * 100); do_div 600 drivers/net/wireless/intersil/p54/txrx.c do_div(survey->time, 1024); do_div 601 drivers/net/wireless/intersil/p54/txrx.c do_div(survey->time_tx, 1024); do_div 602 drivers/net/wireless/intersil/p54/txrx.c do_div(survey->time_busy, 1024); do_div 822 drivers/net/wireless/mac80211_hwsim.c data->bcn_delta = do_div(delta, bcn_int); do_div 825 drivers/net/wireless/mac80211_hwsim.c data->bcn_delta = -(s64)do_div(delta, bcn_int); do_div 1681 drivers/net/wireless/mac80211_hwsim.c u64 until_tbtt = bcn_int - do_div(tsf, bcn_int); do_div 1755 drivers/net/wireless/mac80211_hwsim.c until_tbtt = bcn_int - do_div(tsf, bcn_int); do_div 2341 drivers/nvme/host/core.c do_div(transition_ms, 20); do_div 1906 drivers/nvme/host/pci.c do_div(tmp, chunk_size); do_div 1088 drivers/opp/of.c do_div(tmp, 1000000000); do_div 123 drivers/oprofile/nmi_timer_int.c do_div(period, HZ); do_div 211 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c do_div(tmp, dphy_opts->lp_clk_rate); /* ps */ do_div 231 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c do_div(tmp, lp_t); do_div 34 drivers/phy/phy-core-mipi-dphy.c do_div(hs_clk_rate, lanes); do_div 37 drivers/phy/phy-core-mipi-dphy.c do_div(ui, hs_clk_rate); do_div 94 drivers/phy/phy-core-mipi-dphy.c do_div(ui, cfg->hs_clk_rate); do_div 580 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c do_div(vco, nd * 5); do_div 590 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c do_div(vco, (nd * (no_a == 1 ? no_b : no_a) * no_d * 2)); do_div 734 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c do_div(vco, nd * 5); do_div 745 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c do_div(vco, (nd * (no_a == 1 ? no_b : no_a) * no_d * 2)); do_div 104 drivers/phy/st/phy-stm32-usbphyc.c do_div(ndiv, (clk_rate * 2)); do_div 108 drivers/phy/st/phy-stm32-usbphyc.c do_div(frac, (clk_rate * 2)); do_div 823 drivers/platform/x86/intel_ips.c do_div(total, IPS_SAMPLE_COUNT); do_div 921 drivers/platform/x86/intel_ips.c do_div(total, IPS_SAMPLE_COUNT); do_div 746 drivers/platform/x86/intel_pmc_core.c do_div(pcstate_count, tsc_khz); do_div 60 drivers/platform/x86/intel_pmc_ipc.c do_div(result, 192); \ do_div 1016 drivers/power/supply/ab8500_fg.c div_rem = do_div(div_res, 1000); do_div 248 drivers/power/supply/cpcap-battery.c do_div(tmp, divider); do_div 251 drivers/power/supply/da9150-fg.c do_div(div, 1000000); do_div 253 drivers/power/supply/da9150-fg.c do_div(res, div); do_div 269 drivers/power/supply/da9150-fg.c do_div(res, 10000); do_div 327 drivers/power/supply/max17042_battery.c do_div(data64, chip->pdata->r_sns); do_div 336 drivers/power/supply/max17042_battery.c do_div(data64, chip->pdata->r_sns); do_div 345 drivers/power/supply/max17042_battery.c do_div(data64, chip->pdata->r_sns); do_div 888 drivers/powercap/intel_rapl_common.c do_div(value, rp->time_unit); do_div 597 drivers/pwm/core.c do_div(dutycycle, state.period); do_div 63 drivers/pwm/pwm-atmel-hlcdc.c do_div(clk_period_ns, clk_freq); do_div 75 drivers/pwm/pwm-atmel-hlcdc.c do_div(clk_period_ns, clk_freq); do_div 115 drivers/pwm/pwm-atmel-hlcdc.c do_div(pwmcval, state->period); do_div 121 drivers/pwm/pwm-atmel.c do_div(cycles, NSEC_PER_SEC); do_div 142 drivers/pwm/pwm-atmel.c do_div(cycles, state->period); do_div 100 drivers/pwm/pwm-berlin.c do_div(cycles, NSEC_PER_SEC); do_div 112 drivers/pwm/pwm-berlin.c do_div(cycles, period_ns); do_div 124 drivers/pwm/pwm-brcmstb.c do_div(rate, 1 << CWORD_BIT_SIZE); do_div 127 drivers/pwm/pwm-brcmstb.c do_div(tmp, NSEC_PER_SEC); do_div 131 drivers/pwm/pwm-brcmstb.c do_div(tmp, NSEC_PER_SEC); do_div 84 drivers/pwm/pwm-ep93xx.c do_div(c, 1000000000); do_div 89 drivers/pwm/pwm-ep93xx.c do_div(c, period_ns); do_div 128 drivers/pwm/pwm-fsl-ftm.c do_div(exval, rate >> fpc->period.clk_ps); do_div 143 drivers/pwm/pwm-fsl-ftm.c do_div(c, 1000000000UL); do_div 199 drivers/pwm/pwm-fsl-ftm.c do_div(duty, period_ns); do_div 296 drivers/pwm/pwm-img.c do_div(val, clk_rate); do_div 300 drivers/pwm/pwm-img.c do_div(val, clk_rate); do_div 227 drivers/pwm/pwm-imx27.c do_div(c, 1000000000); do_div 234 drivers/pwm/pwm-imx27.c do_div(c, state->period); do_div 100 drivers/pwm/pwm-jz4740.c do_div(tmp, 1000000000); do_div 112 drivers/pwm/pwm-jz4740.c do_div(tmp, state->period); do_div 151 drivers/pwm/pwm-lpc18xx-sct.c do_div(val, NSEC_PER_SEC); do_div 170 drivers/pwm/pwm-lpc18xx-sct.c do_div(val, NSEC_PER_SEC); do_div 367 drivers/pwm/pwm-lpc18xx-sct.c do_div(val, lpc18xx_pwm->clk_rate); do_div 90 drivers/pwm/pwm-lpss.c do_div(freq, period_ns); do_div 102 drivers/pwm/pwm-lpss.c do_div(on_time_div, period_ns); do_div 177 drivers/pwm/pwm-lpss.c do_div(freq, base_unit_range); do_div 184 drivers/pwm/pwm-lpss.c do_div(on_time_div, 255); do_div 136 drivers/pwm/pwm-mediatek.c do_div(resolution, clk_get_rate(pc->clk_pwms[pwm->hwpwm])); do_div 57 drivers/pwm/pwm-mxs.c do_div(c, 1000000000); do_div 67 drivers/pwm/pwm-mxs.c do_div(c, period_ns); do_div 47 drivers/pwm/pwm-puv3.c do_div(c, 1000000000); do_div 73 drivers/pwm/pwm-pxa.c do_div(c, 1000000000); do_div 111 drivers/pwm/pwm-rcar.c do_div(one_cycle, clk_rate); do_div 114 drivers/pwm/pwm-rcar.c do_div(tmp, one_cycle); do_div 118 drivers/pwm/pwm-rcar.c do_div(tmp, one_cycle); do_div 138 drivers/pwm/pwm-sprd.c do_div(tmp, NSEC_PER_SEC); do_div 61 drivers/pwm/pwm-stm32-lp.c do_div(div, NSEC_PER_SEC); do_div 81 drivers/pwm/pwm-stm32-lp.c do_div(dty, state->period); do_div 197 drivers/pwm/pwm-stm32.c do_div(div, MSEC_PER_SEC); do_div 202 drivers/pwm/pwm-stm32.c do_div(div, psc + 1); do_div 248 drivers/pwm/pwm-stm32.c do_div(prd, rate); do_div 329 drivers/pwm/pwm-stm32.c do_div(div, NSEC_PER_SEC); do_div 335 drivers/pwm/pwm-stm32.c do_div(div, prescaler + 1); do_div 363 drivers/pwm/pwm-stm32.c do_div(dty, period_ns); do_div 166 drivers/pwm/pwm-sun4i.c do_div(div, NSEC_PER_SEC); do_div 178 drivers/pwm/pwm-sun4i.c do_div(div, pval); do_div 180 drivers/pwm/pwm-sun4i.c do_div(div, NSEC_PER_SEC); do_div 191 drivers/pwm/pwm-sun4i.c do_div(div, state->period); do_div 63 drivers/pwm/pwm-tiecap.c do_div(c, NSEC_PER_SEC); do_div 72 drivers/pwm/pwm-tiecap.c do_div(c, NSEC_PER_SEC); do_div 232 drivers/pwm/pwm-tiehrpwm.c do_div(c, NSEC_PER_SEC); do_div 241 drivers/pwm/pwm-tiehrpwm.c do_div(c, NSEC_PER_SEC); do_div 89 drivers/pwm/pwm-vt8500.c do_div(c, 1000000000); do_div 105 drivers/pwm/pwm-vt8500.c do_div(c, period_ns); do_div 112 drivers/pwm/pwm-zx.c do_div(c, NSEC_PER_SEC); do_div 126 drivers/pwm/pwm-zx.c do_div(c, period_ns); do_div 187 drivers/regulator/ltc3589.c do_div(tmp, r2); do_div 141 drivers/regulator/ltc3676.c do_div(tmp, r2); do_div 48 drivers/rtc/rtc-goldfish.c do_div(rtc_alarm, NSEC_PER_SEC); do_div 134 drivers/rtc/rtc-goldfish.c do_div(time, NSEC_PER_SEC); do_div 97 drivers/rtc/rtc-st-lpc.c do_div(lpt, rtc->clkrate); do_div 254 drivers/rtc/rtc-st-lpc.c do_div(rtc->rtc_dev->range_max, rtc->clkrate); do_div 150 drivers/s390/cio/cmf.c do_div(ret, count); do_div 438 drivers/s390/scsi/zfcp_sysfs.c do_div(fsum, 1000); \ do_div 439 drivers/s390/scsi/zfcp_sysfs.c do_div(fmin, 1000); \ do_div 440 drivers/s390/scsi/zfcp_sysfs.c do_div(fmax, 1000); \ do_div 441 drivers/s390/scsi/zfcp_sysfs.c do_div(csum, 1000); \ do_div 442 drivers/s390/scsi/zfcp_sysfs.c do_div(cmin, 1000); \ do_div 443 drivers/s390/scsi/zfcp_sysfs.c do_div(cmax, 1000); \ do_div 365 drivers/scsi/csiostor/csio_attr.c do_div(seconds, 1000); do_div 5193 drivers/scsi/hpsa.c (void) do_div(tmpdiv, blocks_per_row); do_div 5196 drivers/scsi/hpsa.c (void) do_div(tmpdiv, blocks_per_row); do_div 5201 drivers/scsi/hpsa.c (void) do_div(tmpdiv, strip_size); do_div 5204 drivers/scsi/hpsa.c (void) do_div(tmpdiv, strip_size); do_div 5273 drivers/scsi/hpsa.c first_group = do_div(tmpdiv, stripesize); do_div 5275 drivers/scsi/hpsa.c (void) do_div(tmpdiv, r5or6_blocks_per_row); do_div 5278 drivers/scsi/hpsa.c last_group = do_div(tmpdiv, stripesize); do_div 5280 drivers/scsi/hpsa.c (void) do_div(tmpdiv, r5or6_blocks_per_row); do_div 5292 drivers/scsi/hpsa.c (void) do_div(tmpdiv, stripesize); do_div 5295 drivers/scsi/hpsa.c (void) do_div(tmpdiv, stripesize); do_div 5309 drivers/scsi/hpsa.c first_row_offset = do_div(tmpdiv, stripesize); do_div 5311 drivers/scsi/hpsa.c first_row_offset = (u32) do_div(tmpdiv, r5or6_blocks_per_row); do_div 5314 drivers/scsi/hpsa.c r5or6_last_row_offset = do_div(tmpdiv, stripesize); do_div 5316 drivers/scsi/hpsa.c r5or6_last_row_offset = do_div(tmpdiv, r5or6_blocks_per_row); do_div 5318 drivers/scsi/hpsa.c (void) do_div(tmpdiv, map->strip_size); do_div 5321 drivers/scsi/hpsa.c (void) do_div(tmpdiv, map->strip_size); do_div 3309 drivers/scsi/lpfc/lpfc_sli.c do_div(cnt, phba->eratt_poll_interval); do_div 78 drivers/scsi/megaraid/megaraid_sas_fp.c remainder = do_div(d, divisor); do_div 97 drivers/scsi/megaraid/megaraid_sas_fp.c remainder = do_div(d, divisor); do_div 1416 drivers/scsi/mpt3sas/mpt3sas_base.c remainder = do_div(dividend, divisor); do_div 1994 drivers/scsi/myrs.c do_div(percent_complete, ldev_info->cfg_devsize); do_div 1968 drivers/scsi/qedf/qedf_main.c do_div(fw_fcoe_stats->fcoe_rx_byte_cnt, 1000000); do_div 1970 drivers/scsi/qedf/qedf_main.c do_div(fw_fcoe_stats->fcoe_tx_byte_cnt, 1000000); do_div 2670 drivers/scsi/qla2xxx/qla_attr.c do_div(p->seconds_since_last_reset, HZ); do_div 732 drivers/scsi/scsi_debug.c lba = do_div(lba, sdebug_store_sectors); do_div 2499 drivers/scsi/scsi_debug.c block = do_div(lba, sdebug_store_sectors); do_div 2529 drivers/scsi/scsi_debug.c block = do_div(lba, store_blks); do_div 3265 drivers/scsi/scsi_debug.c block = do_div(lbaa, sdebug_store_sectors); do_div 3285 drivers/scsi/scsi_debug.c block = do_div(lbaa, sdebug_store_sectors); do_div 2372 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, blocks_per_row); do_div 2375 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, blocks_per_row); do_div 2380 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, strip_size); do_div 2383 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, strip_size); do_div 2468 drivers/scsi/smartpqi/smartpqi_init.c first_group = do_div(tmpdiv, stripesize); do_div 2470 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, r5or6_blocks_per_row); do_div 2473 drivers/scsi/smartpqi/smartpqi_init.c last_group = do_div(tmpdiv, stripesize); do_div 2475 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, r5or6_blocks_per_row); do_div 2487 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, stripesize); do_div 2490 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, stripesize); do_div 2503 drivers/scsi/smartpqi/smartpqi_init.c first_row_offset = do_div(tmpdiv, stripesize); do_div 2505 drivers/scsi/smartpqi/smartpqi_init.c first_row_offset = (u32)do_div(tmpdiv, r5or6_blocks_per_row); do_div 2508 drivers/scsi/smartpqi/smartpqi_init.c r5or6_last_row_offset = do_div(tmpdiv, stripesize); do_div 2510 drivers/scsi/smartpqi/smartpqi_init.c r5or6_last_row_offset = do_div(tmpdiv, r5or6_blocks_per_row); do_div 2512 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, strip_size); do_div 2515 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, strip_size); do_div 1458 drivers/soc/tegra/pmc.c do_div(ticks, USEC_PER_SEC); do_div 1462 drivers/soc/tegra/pmc.c do_div(ticks, USEC_PER_SEC); do_div 723 drivers/spi/spi-lantiq-ssc.c do_div(timeout, spi->speed_hz); do_div 879 drivers/spi/spi-pxa2xx.c do_div(fssp, 1 << 24); do_div 70 drivers/spi/spi-slave-time.c rem_us = do_div(ts, 1000000000) / 1000; do_div 1072 drivers/spi/spi.c do_div(ms, xfer->speed_hz); do_div 640 drivers/staging/comedi/drivers/amplc_pci230.c rem = do_div(div, timebase); do_div 115 drivers/staging/comedi/drivers/comedi_test.c do_div(binary_amplitude, krange->max - krange->min); do_div 119 drivers/staging/comedi/drivers/comedi_test.c do_div(value, devpriv->wf_period); do_div 146 drivers/staging/comedi/drivers/comedi_test.c do_div(value, krange->max - krange->min); do_div 389 drivers/staging/comedi/drivers/comedi_test.c devpriv->wf_current = do_div(wf_current, devpriv->wf_period); do_div 447 drivers/staging/comedi/drivers/comedi_test.c do_div(scans_since, devpriv->ao_scan_period); do_div 821 drivers/staging/comedi/drivers/ni_tio.c do_div(temp64, 1000); /* ps to ns */ do_div 158 drivers/staging/greybus/loopback.c rem = do_div(avg, count); \ do_div 160 drivers/staging/greybus/loopback.c do_div(rem, count); \ do_div 353 drivers/staging/greybus/loopback.c do_div(elapsed_nsecs, NSEC_PER_USEC); do_div 738 drivers/staging/greybus/loopback.c do_div(val, count); do_div 332 drivers/staging/iio/adc/ad7192.c st->scale_avail[i][1] = do_div(scale_uv, 100000000) * 10; do_div 125 drivers/staging/iio/frequency/ad9832.c do_div(freqreg, mclk); do_div 106 drivers/staging/iio/frequency/ad9834.c do_div(freqreg, mclk); do_div 199 drivers/staging/iio/impedance-analyzer/ad5933.c do_div(freqreg, st->mclk_hz / 4); do_div 286 drivers/staging/iio/impedance-analyzer/ad5933.c do_div(freqreg, BIT(27)); do_div 270 drivers/staging/pi433/rf69.c do_div(f_step, 524288); // 524288 = 2^19 do_div 274 drivers/staging/pi433/rf69.c do_div(f_reg, f_step); do_div 309 drivers/staging/pi433/rf69.c do_div(f_step, 524288); // 524288 = 2^19 do_div 320 drivers/staging/pi433/rf69.c do_div(f_reg, f_step); do_div 1301 drivers/staging/rtl8188eu/hal/usb_halinit.c tsf = pmlmeext->TSFValue - do_div(pmlmeext->TSFValue, (pmlmeinfo->bcn_interval * 1024)) - 1024; /* us */ do_div 1935 drivers/staging/rtl8723bs/core/rtw_wlan_util.c delay_ms = do_div(tsf, (pmlmeinfo->bcn_interval*1024)); do_div 3466 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tsf = pmlmeext->TSFValue-do_div(pmlmeext->TSFValue, (pmlmeinfo->bcn_interval*1024))-1024; /* us */ do_div 2813 drivers/staging/rts5208/ms.c do_div(ulltmp, total_progress); do_div 183 drivers/staging/sm750fb/sm750.h do_div(numerator, psvalue); do_div 950 drivers/staging/vt6655/card.c do_div(qwTSF, beacon_int); do_div 582 drivers/staging/vt6656/card.c do_div(tsf, beacon_int); do_div 489 drivers/target/target_core_alua.c start_lba = do_div(tmp, segment_size * segment_mult); do_div 392 drivers/target/target_core_rd.c prot_offset = do_div(tmp, PAGE_SIZE); do_div 438 drivers/target/target_core_rd.c rd_offset = do_div(tmp, PAGE_SIZE); do_div 185 drivers/thermal/cpu_cooling.c do_div(power, 1000000000); do_div 258 drivers/thermal/devfreq_cooling.c do_div(power, 1000000000); do_div 528 drivers/thermal/imx_thermal.c do_div(temp64, 15423 * n1 - 4148468); do_div 344 drivers/thermal/intel/intel_powerclamp.c do_div(val64, (tsc_now-tsc_last)); do_div 464 drivers/thermal/intel/intel_powerclamp.c do_div(val64, (tsc_now - tsc_last)); do_div 599 drivers/tty/mxser.c do_div(timeout, info->baud_base); do_div 190 drivers/tty/serial/ar933x_uart.c do_div(t, div); do_div 213 drivers/tty/serial/ar933x_uart.c do_div(tstep, clk); do_div 344 drivers/tty/serial/atmel_serial.c do_div(mck_rate, iso7816conf->clk); do_div 356 drivers/tty/serial/atmel_serial.c do_div(fidi, iso7816conf->sc_di); do_div 1687 drivers/tty/serial/imx.c do_div(tdiv64, denom * 16 * div); do_div 597 drivers/tty/serial/st-asc.c do_div(dividend, port->uartclk / 16); do_div 171 drivers/usb/typec/tcpm/fusb302.c rem_nsec = do_div(ts_nsec, 1000000000); do_div 458 drivers/usb/typec/tcpm/tcpm.c rem_nsec = do_div(ts_nsec, 1000000000); do_div 104 drivers/video/backlight/pwm_bl.c do_div(duty_cycle, pb->scale); do_div 677 drivers/video/fbdev/aty/radeon_base.c do_div(vclk, 1000 * num); do_div 389 drivers/video/fbdev/imxfb.c do_div(tmp, 1000000); do_div 391 drivers/video/fbdev/imxfb.c if (do_div(tmp, 1000000) > 500000) do_div 260 drivers/video/fbdev/matrox/matroxfb_g450.c do_div(piic, outd->h_vis); do_div 276 drivers/video/fbdev/matrox/matroxfb_g450.c do_div(piic, mt->pixclock); do_div 898 drivers/video/fbdev/matrox/matroxfb_maven.c do_div(f1, b); do_div 234 drivers/video/fbdev/mmp/fb/mmpfb.c do_div(div_result, videomode->pixclock); do_div 260 drivers/video/fbdev/mmp/fb/mmpfb.c do_div(div_result, mode->pixclock_freq); do_div 2206 drivers/video/fbdev/omap2/omapfb/dss/dispc.c do_div(tmp, 2 * out_height * ppl); do_div 2214 drivers/video/fbdev/omap2/omapfb/dss/dispc.c do_div(tmp, 2 * out_height * (ppl - out_width)); do_div 2221 drivers/video/fbdev/omap2/omapfb/dss/dispc.c do_div(tmp, out_width); do_div 275 drivers/video/fbdev/pxa168fb.c do_div(div_result, m->pixclock); do_div 594 drivers/video/fbdev/pxa168fb.c do_div(div_result, total_w * total_h * refresh); do_div 1028 drivers/video/fbdev/pxafb.c do_div(pcd, 100000000 * 2); do_div 358 drivers/video/fbdev/s3c-fb.c do_div(tmp, 1000000000UL); do_div 1068 drivers/video/fbdev/s3c-fb.c do_div(pixclk, div); do_div 110 drivers/video/fbdev/s3c2410fb.c do_div(div, 625 * 625UL * 625); /* div / 5^12 */ do_div 261 drivers/video/fbdev/sm501fb.c do_div(numerator, psvalue); do_div 443 drivers/virt/vboxguest/vboxguest_core.c do_div(req->interval_ns, 1000000); /* ns -> ms */ do_div 162 drivers/watchdog/armada_37xx_wdt.c do_div(res, dev->clk_rate); do_div 180 drivers/watchdog/armada_37xx_wdt.c do_div(dev->timeout, CNTR_CTRL_PRESCALE_MIN); do_div 65 drivers/watchdog/booke_wdt.c do_div(tmp, tmp2); do_div 137 drivers/watchdog/davinci_wdt.c do_div(timer_counter, freq); do_div 252 drivers/watchdog/imgpdc_wdt.c do_div(div, clk_rate); do_div 147 drivers/watchdog/kempld_wdt.c remainder = do_div(stage_timeout64, prescaler); do_div 189 drivers/watchdog/kempld_wdt.c remainder = do_div(stage_timeout, pld->pld_clock); do_div 147 drivers/watchdog/lantiq_wdt.c return do_div(timeout, priv->clk_rate); do_div 157 drivers/watchdog/sbsa_gwdt.c do_div(timeleft, gwdt->clk); do_div 128 fs/afs/yfsclient.c ts.tv_nsec = (time64_t)(do_div(abs_t, 10000000) * 100); do_div 133 fs/afs/yfsclient.c ts.tv_nsec = (time64_t)do_div(abs_t, 10000000) * 100; do_div 265 fs/afs/yfsclient.c do_div(creation, 10 * 1000 * 1000); do_div 167 fs/cachefiles/bind.c do_div(stats.f_files, 100); do_div 178 fs/cachefiles/bind.c do_div(stats.f_blocks, 100); do_div 1752 fs/ceph/file.c nearly -= do_div(t, object_set_size); do_div 206 fs/ceph/ioctl.c dl.block_offset = do_div(tmp, dl.block_size); do_div 921 fs/cifs/netmisc.c ts.tv_nsec = (time64_t)(do_div(abs_t, 10000000) * 100); do_div 926 fs/cifs/netmisc.c ts.tv_nsec = (time64_t)do_div(abs_t, 10000000) * 100; do_div 60 fs/ext4/balloc.c offset = do_div(blocknr, EXT4_BLOCKS_PER_GROUP(sb)) >> do_div 444 fs/ext4/ialloc.c do_div(avefreec, ngroups); do_div 1852 fs/ext4/mballoc.c if (do_div(start, sbi->s_stripe) == 0) { do_div 2012 fs/ext4/mballoc.c do_div(a, sbi->s_stripe); do_div 1405 fs/ext4/resize.c do_div(reserved_blocks, 100); do_div 3606 fs/ext4/super.c do_div(resv_clusters, 50); do_div 3672 fs/ext4/super.c offset = do_div(logical_sb_block, blocksize); do_div 4071 fs/ext4/super.c offset = do_div(logical_sb_block, blocksize); do_div 4241 fs/ext4/super.c do_div(blocks_count, EXT4_BLOCKS_PER_GROUP(sb)); do_div 245 fs/gfs2/bmap.c mp->mp_list[i] = do_div(block, sdp->sd_inptrs); do_div 546 fs/gfs2/bmap.c do_div(factor, sdp->sd_inptrs); do_div 184 fs/gfs2/dir.c o = do_div(lblock, sdp->sd_jbsize) + sizeof(struct gfs2_meta_header); do_div 287 fs/gfs2/dir.c o = do_div(lblock, sdp->sd_jbsize) + sizeof(struct gfs2_meta_header); do_div 336 fs/gfs2/ops_fstype.c m = do_div(d, sdp->sd_inptrs); do_div 1939 fs/gfs2/rgrp.c do_div(a_srttb, nonzero); do_div 82 fs/hfsplus/xattr.c do_div(tmp, node_size); do_div 1136 fs/hugetlbfs/inode.c do_div(size_opt, 100); do_div 1629 fs/jfs/jfs_dmap.c do_div(max_ranges, minlen); do_div 865 fs/nfs/filelayout/filelayout.c do_div(p_stripe, stripe_unit); do_div 866 fs/nfs/filelayout/filelayout.c do_div(r_stripe, stripe_unit); do_div 230 fs/nfs/filelayout/filelayoutdev.c do_div(tmp, flseg->stripe_unit); do_div 232 fs/nfs/filelayout/filelayoutdev.c return do_div(tmp, flseg->dsaddr->stripe_count); do_div 87 fs/nilfs2/alloc.c *offset = do_div(group, nilfs_palloc_entries_per_group(inode)); do_div 31 fs/nilfs2/cpfile.c do_div(tcno, nilfs_cpfile_checkpoints_per_block(cpfile)); do_div 41 fs/nilfs2/cpfile.c return do_div(tcno, nilfs_cpfile_checkpoints_per_block(cpfile)); do_div 438 fs/nilfs2/dat.c do_div(first, entries_per_block); do_div 1132 fs/nilfs2/ioctl.c do_div(minseg, segbytes); do_div 1134 fs/nilfs2/ioctl.c do_div(maxseg, segbytes); do_div 51 fs/nilfs2/sufile.c do_div(t, nilfs_sufile_segment_usages_per_block(sufile)); do_div 60 fs/nilfs2/sufile.c return do_div(t, nilfs_sufile_segment_usages_per_block(sufile)); do_div 414 fs/nilfs2/super.c do_div(newnsegs, nilfs->ns_blocks_per_segment); do_div 839 fs/nilfs2/super.c offset = do_div(sb_index, blocksize); do_div 84 fs/ntfs/time.h ts.tv_nsec = do_div(t, 10000000) * 100; do_div 101 fs/omfs/bitmap.c bit = do_div(tmp, bits_per_entry); do_div 184 fs/omfs/bitmap.c bit = do_div(tmp, bits_per_entry); do_div 231 fs/omfs/inode.c nsecs = do_div(ctime, 1000) * 1000L; do_div 45 fs/orangefs/devorangefs-req.c return do_div(tag, (unsigned int)table_size); do_div 542 fs/proc/task_mmu.c do_div(pss_delta, mapcount); do_div 157 fs/ufs/ufs.h do_div(b, uspi->s_fpg); do_div 163 fs/ufs/ufs.h return do_div(b, uspi->s_fpg); do_div 174 fs/xfs/libxfs/xfs_bmap.c do_div(len, maxrecs); do_div 4686 fs/xfs/libxfs/xfs_bmap.c do_div(resfactor, nres); do_div 4688 fs/xfs/libxfs/xfs_bmap.c do_div(len1, 100); do_div 4690 fs/xfs/libxfs/xfs_bmap.c do_div(len2, 100); do_div 4758 fs/xfs/libxfs/xfs_bmap.c do_div(rtexts, mp->m_sb.sb_rextsize); do_div 4841 fs/xfs/libxfs/xfs_btree.c do_div(len, maxrecs); do_div 2802 fs/xfs/libxfs/xfs_ialloc.c do_div(icount, 100); do_div 2803 fs/xfs/libxfs/xfs_ialloc.c do_div(icount, igeo->ialloc_blks); do_div 136 fs/xfs/scrub/rtbitmap.c do_div(startext, sc->mp->m_sb.sb_rextsize); do_div 137 fs/xfs/scrub/rtbitmap.c do_div(endext, sc->mp->m_sb.sb_rextsize); do_div 143 fs/xfs/xfs_bmap_util.c do_div(ap->blkno, mp->m_sb.sb_rextsize); do_div 909 fs/xfs/xfs_bmap_util.c do_div(s, extsz); do_div 262 fs/xfs/xfs_dquot.c do_div(dqp->q_prealloc_lo_wmark, 100); do_div 268 fs/xfs/xfs_dquot.c do_div(space, 100); do_div 520 fs/xfs/xfs_fsmap.c do_div(alow.ar_startext, tp->t_mountp->m_sb.sb_rextsize); do_div 521 fs/xfs/xfs_fsmap.c if (do_div(ahigh.ar_startext, tp->t_mountp->m_sb.sb_rextsize)) do_div 54 fs/xfs/xfs_fsops.c nb_mod = do_div(new, mp->m_sb.sb_agblocks); do_div 249 fs/xfs/xfs_fsops.c do_div(icount, 100); do_div 211 fs/xfs/xfs_linux.h do_div(x, y); do_div 218 fs/xfs/xfs_linux.h do_div(x, y); do_div 479 fs/xfs/xfs_mount.c do_div(space, 100); do_div 563 fs/xfs/xfs_mount.c do_div(resblks, 20); do_div 318 fs/xfs/xfs_mount.h do_div(ld, mp->m_sb.sb_agblocks); do_div 326 fs/xfs/xfs_mount.h return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks); do_div 929 fs/xfs/xfs_rtalloc.c do_div(nrextents, in->extsize); do_div 991 fs/xfs/xfs_rtalloc.c do_div(nsbp->sb_rextents, nsbp->sb_rextsize); do_div 576 fs/xfs/xfs_super.c do_div(icount, 100); do_div 578 fs/xfs/xfs_super.c do_div(icount, sbp->sb_agblocks); do_div 21 include/acpi/platform/aclinuxex.h (r32) = do_div ((__n), (d32)); \ do_div 66 include/drm/drm_fixed.h do_div(tmp, B.full); do_div 78 include/linux/acct.h do_div(tmp, (NSEC_PER_SEC / AHZ)); do_div 86 include/linux/acct.h do_div(x, (NSEC_PER_SEC / AHZ)); do_div 89 include/linux/acct.h do_div(x, (NSEC_PER_SEC / 512)); do_div 97 include/linux/acct.h do_div(x, (unsigned long)((9ull * NSEC_PER_SEC + (AHZ/2)) do_div 176 include/linux/clockchips.h do_div(tmp, nsec); do_div 139 include/linux/clocksource.h do_div(tmp, freq); do_div 515 include/linux/cpufreq.h do_div(result, div); do_div 96 include/linux/kernel.h ({ unsigned long long _tmp = (ll); do_div(_tmp, d); _tmp; }) do_div 161 include/linux/kernel.h do_div(_tmp, __d); \ do_div 182 include/linux/kernel.h #define sector_div(a, b) do_div(a, b) do_div 158 include/linux/ktime.h do_div(tmp, div); do_div 90 include/linux/math64.h *remainder = do_div(dividend, divisor); do_div 274 include/linux/math64.h rl.l.high = do_div(rh.ll, divisor); do_div 277 include/linux/math64.h do_div(rl.ll, divisor); do_div 468 include/linux/mtd/mtd.h do_div(sz, mtd->erasesize); do_div 476 include/linux/mtd/mtd.h return do_div(sz, mtd->erasesize); do_div 511 include/linux/mtd/mtd.h do_div(sz, mtd->writesize); do_div 519 include/linux/mtd/mtd.h return do_div(sz, mtd->writesize); do_div 461 include/linux/mtd/nand.h pageoffs = do_div(tmp, nand->memorg.pagesize); do_div 462 include/linux/mtd/nand.h pos->page = do_div(tmp, nand->memorg.pages_per_eraseblock); do_div 463 include/linux/mtd/nand.h pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); do_div 465 include/linux/mtd/nand.h pos->lun = do_div(tmp, nand->memorg.luns_per_target); do_div 94 include/net/codel.h do_div(valns, NSEC_PER_USEC); do_div 544 include/net/tcp.h do_div(val, TCP_SYNCOOKIE_PERIOD); do_div 114 kernel/acct.c do_div(suspend, 100); do_div 121 kernel/acct.c do_div(resume, 100); do_div 450 kernel/acct.c do_div(elapsed, AHZ); do_div 1388 kernel/bpf/core.c DST = do_div(AX, (u32) SRC); do_div 1396 kernel/bpf/core.c DST = do_div(AX, (u32) IMM); do_div 1403 kernel/bpf/core.c do_div(AX, (u32) SRC); do_div 1411 kernel/bpf/core.c do_div(AX, (u32) IMM); do_div 401 kernel/cgroup/rstat.c do_div(usage, NSEC_PER_USEC); do_div 402 kernel/cgroup/rstat.c do_div(utime, NSEC_PER_USEC); do_div 403 kernel/cgroup/rstat.c do_div(stime, NSEC_PER_USEC); do_div 73 kernel/locking/qspinlock_stat.h frac = 100ULL * do_div(sum, kicks); do_div 1570 kernel/power/snapshot.c do_div(x, base); do_div 241 kernel/power/wakelock.c do_div(timeout_ms, NSEC_PER_MSEC); do_div 740 kernel/printk/printk.c do_div(ts_usec, 1000); do_div 1297 kernel/printk/printk.c unsigned long rem_nsec = do_div(ts, 1000000000); do_div 222 kernel/rcu/rcutorture.c (void)do_div(ts, NSEC_PER_USEC); do_div 1210 kernel/relay.c size_t read_start = (size_t) do_div(pos, alloc_size); do_div 7478 kernel/sched/core.c do_div(quota_us, NSEC_PER_USEC); do_div 7501 kernel/sched/core.c do_div(cfs_period_us, NSEC_PER_USEC); do_div 7602 kernel/sched/core.c do_div(data.period, NSEC_PER_USEC); do_div 7603 kernel/sched/core.c do_div(data.quota, NSEC_PER_USEC); do_div 7726 kernel/sched/core.c do_div(throttled_usec, NSEC_PER_USEC); do_div 32 kernel/sched/debug.c do_div(nsec, 1000000); do_div 35 kernel/sched/debug.c do_div(nsec, 1000000); do_div 45 kernel/sched/debug.c return do_div(nsec, 1000000); do_div 2563 kernel/sched/rt.c do_div(rt_runtime_us, NSEC_PER_USEC); do_div 2585 kernel/sched/rt.c do_div(rt_period_us, NSEC_PER_USEC); do_div 234 kernel/taskstats.c do_div(delta, NSEC_PER_USEC); do_div 72 kernel/time/clockevents.c do_div(clc, evt->mult); do_div 485 kernel/time/clockevents.c do_div(sec, freq); do_div 67 kernel/time/clocksource.c do_div(tmp, from); do_div 647 kernel/time/clocksource.c do_div(ret,100); do_div 675 kernel/time/clocksource.c do_div(max_cycles, mult+maxadj); do_div 877 kernel/time/clocksource.c do_div(sec, freq); do_div 878 kernel/time/clocksource.c do_div(sec, scale); do_div 314 kernel/time/hrtimer.c do_div(tmp, (unsigned long) div); do_div 110 kernel/time/jiffies.c do_div(shift_hz, cycles_per_tick); do_div 114 kernel/time/jiffies.c do_div(nsec_per_tick, (u32)shift_hz); do_div 57 kernel/time/test_udelay.c do_div(avg, iters); do_div 1346 kernel/time/tick-sched.c do_div(offset, num_possible_cpus()); do_div 308 kernel/time/timekeeping.c do_div(tmp, clock->mult); do_div 1010 kernel/time/timekeeping.c do_div(rem, div); do_div 1285 kernel/trace/blktrace.c unsigned long nsec_rem = do_div(ts, NSEC_PER_SEC); do_div 338 kernel/trace/ring_buffer_benchmark.c do_div(time, USEC_PER_MSEC); do_div 247 kernel/trace/trace.c do_div(nsec, 1000); do_div 7136 kernel/trace/trace.c nsec = do_div(sec, NSEC_PER_SEC); do_div 7557 kernel/trace/trace.c usec_rem = do_div(t, USEC_PER_SEC); do_div 7562 kernel/trace/trace.c usec_rem = do_div(t, USEC_PER_SEC); do_div 102 kernel/trace/trace_benchmark.c do_div(stddev, (u32)bm_cnt); do_div 103 kernel/trace/trace_benchmark.c do_div(stddev, (u32)bm_cnt - 1); do_div 108 kernel/trace/trace_benchmark.c do_div(delta, bm_cnt); do_div 130 kernel/trace/trace_benchmark.c do_div(seed, last_seed); do_div 132 kernel/trace/trace_benchmark.c do_div(seed, 2); do_div 494 kernel/trace/trace_functions_graph.c usecs_rem = do_div(t, NSEC_PER_SEC); do_div 507 kernel/trace/trace_functions_graph.c do_div(usecs, NSEC_PER_USEC); do_div 563 kernel/trace/trace_functions_graph.c unsigned long nsecs_rem = do_div(duration, 1000); do_div 177 kernel/trace/trace_hwlat.c do_div(thresh, NSEC_PER_USEC); /* modifies interval value */ do_div 245 kernel/trace/trace_hwlat.c do_div(nmi_total_ts, NSEC_PER_USEC); do_div 332 kernel/trace/trace_hwlat.c do_div(interval, USEC_PER_MSEC); /* modifies interval value */ do_div 174 kernel/trace/trace_mmiotrace.c unsigned long usec_rem = do_div(t, USEC_PER_SEC); do_div 219 kernel/trace/trace_mmiotrace.c unsigned long usec_rem = do_div(t, USEC_PER_SEC); do_div 253 kernel/trace/trace_mmiotrace.c unsigned long usec_rem = do_div(t, USEC_PER_SEC); do_div 536 kernel/trace/trace_output.c unsigned long abs_usec = do_div(abs_ts, USEC_PER_MSEC); do_div 538 kernel/trace/trace_output.c unsigned long rel_usec = do_div(rel_ts, USEC_PER_MSEC); do_div 594 kernel/trace/trace_output.c usec_rem = do_div(t, USEC_PER_SEC); do_div 33 kernel/tsacct.c do_div(delta, NSEC_PER_USEC); do_div 36 kernel/tsacct.c do_div(delta, USEC_PER_SEC); do_div 89 kernel/tsacct.c do_div(stats->coremem, 1000 * KB); do_div 91 kernel/tsacct.c do_div(stats->virtmem, 1000 * KB); do_div 21 lib/math/reciprocal_div.c do_div(m, d); do_div 48 lib/math/reciprocal_div.c do_div(mlow, d); do_div 50 lib/math/reciprocal_div.c do_div(mhigh, d); do_div 76 lib/string_helpers.c do_div(blk_size, divisor[units]); do_div 81 lib/string_helpers.c do_div(size, divisor[units]); do_div 91 lib/string_helpers.c remainder = do_div(size, divisor[units]); do_div 6673 lib/test_bpf.c do_div(*duration, runs); do_div 750 lib/test_rhashtable.c do_div(total_time, runs); do_div 427 lib/test_vmalloc.c do_div(delta, (u32) test_repeat_count); do_div 256 lib/vsprintf.c buf = put_dec_full8(buf, do_div(n, 100*1000*1000)); do_div 259 lib/vsprintf.c buf = put_dec_full8(buf, do_div(n, 100*1000*1000)); do_div 780 mm/page-writeback.c do_div(wb_thresh, denominator); do_div 1105 mm/page-writeback.c do_div(bw, elapsed); do_div 7762 mm/page_alloc.c do_div(tmp, lowmem_pages); do_div 8132 mm/page_alloc.c do_div(max, bucketsize); do_div 3430 mm/shmem.c do_div(size, 100); do_div 494 mm/vmscan.c do_div(delta, shrinker->seeks); do_div 67 net/bpf/test_run.c do_div(time_spent, repeat); do_div 475 net/bpf/test_run.c do_div(time_spent, repeat); do_div 668 net/core/pktgen.c do_div(idle, NSEC_PER_USEC); do_div 3163 net/core/pktgen.c do_div(mbps, 1000000); do_div 263 net/dccp/timer.c do_div(delta, 10); do_div 398 net/ipv4/tcp.c do_div(rate64, intv); do_div 278 net/ipv4/tcp_bbr.c do_div(bw, rtt_us); do_div 753 net/ipv4/tcp_bbr.c do_div(bw, t); do_div 282 net/ipv4/tcp_cubic.c do_div(t, HZ); do_div 500 net/ipv4/tcp_cubic.c do_div(cube_factor, bic_scale * 10); do_div 124 net/ipv4/tcp_illinois.c do_div(t, ca->cnt_rtt); do_div 319 net/ipv4/tcp_illinois.c do_div(t, info->vegas.tcpv_rttcnt); do_div 642 net/ipv4/tcp_input.c do_div(grow, tp->rcvq_space.space); do_div 649 net/ipv4/tcp_input.c do_div(rcvwin, tp->advmss); do_div 823 net/ipv4/tcp_input.c do_div(rate, tp->srtt_us); do_div 289 net/ipv4/tcp_nv.c do_div(rate64, avg_rtt ?: 1); do_div 221 net/ipv4/tcp_vegas.c do_div(target_cwnd, rtt); do_div 151 net/ipv4/tcp_veno.c do_div(target_cwnd, rtt); do_div 154 net/ipv4/tcp_yeah.c do_div(bw, rtt); do_div 107 net/ipv6/addrconf.c do_div(tmp, 1000000); do_div 115 net/ipv6/addrconf.c do_div(tmp, 1000000); do_div 119 net/ipv6/addrconf.c do_div(tmp, 1000000); do_div 3800 net/mac80211/util.c do_div(tsf, beacon_int); do_div 3801 net/mac80211/util.c bcns_from_dtim = do_div(tsf, dtim_period); do_div 2512 net/sched/sch_cake.c do_div(t, USEC_PER_SEC / 4); do_div 913 net/sched/sch_fq.c do_div(ce_threshold, NSEC_PER_USEC); do_div 420 net/sched/sch_hfsc.c do_div(sm, PSCHED_TICKS_PER_SEC); do_div 435 net/sched/sch_hfsc.c do_div(ism, m); do_div 448 net/sched/sch_hfsc.c do_div(dx, USEC_PER_SEC); do_div 469 net/sched/sch_hfsc.c do_div(d, PSCHED_TICKS_PER_SEC); do_div 594 net/sched/sch_hfsc.c do_div(dx, dsm); do_div 1463 net/sched/sch_htb.c do_div(quantum, q->rate2quantum); do_div 125 net/sched/sch_tbf.c do_div(len, NSEC_PER_SEC); do_div 128 net/sched/sch_tbf.c do_div(len, 53); do_div 348 net/smc/smc_wr.c index = do_div(temp_wr_id, link->wr_rx_cnt); do_div 72 net/smc/smc_wr.h index = do_div(temp_wr_id, link->wr_rx_cnt); do_div 1290 net/wireless/util.c do_div(tmp, mcs_divisors[rate->mcs]); do_div 44 sound/drivers/pcsp/pcsp.h do_div(__val, PIT_TICK_RATE); \ do_div 357 sound/pci/hda/hda_controller.c rem = do_div(base, den); do_div 362 sound/pci/hda/hda_controller.c do_div(rem, den); do_div 1043 sound/soc/amd/acp-pcm-dma.c delay = do_div(bytescount, period_bytes); do_div 1051 sound/soc/amd/acp-pcm-dma.c pos = do_div(bytescount, buffersize); do_div 378 sound/soc/amd/raven/acp3x-pcm-dma.c pos = do_div(bytescount, buffersize); do_div 631 sound/soc/codecs/cx2072x.c do_div(frac_num, 7); do_div 843 sound/soc/codecs/cx2072x.c mod = do_div(div, bclk_rate); do_div 1471 sound/soc/codecs/da7213.c do_div(frac_div, freq_ref); do_div 1916 sound/soc/codecs/da7218.c do_div(frac_div, freq_ref); do_div 1270 sound/soc/codecs/da7219.c do_div(frac_div, freq_ref); do_div 1164 sound/soc/codecs/da732x.c do_div(frac_div, fref); do_div 1007 sound/soc/codecs/max98088.c do_div(ni, (unsigned long long int)max98088->sysclk); do_div 1074 sound/soc/codecs/max98088.c do_div(ni, (unsigned long long int)max98088->sysclk); do_div 1564 sound/soc/codecs/max98090.c do_div(ni, (unsigned long long int)max98090->sysclk); do_div 981 sound/soc/codecs/max98095.c do_div(ni, (unsigned long long int)max98095->sysclk); do_div 1042 sound/soc/codecs/max98095.c do_div(ni, (unsigned long long int)max98095->sysclk); do_div 1103 sound/soc/codecs/max98095.c do_div(ni, (unsigned long long int)max98095->sysclk); do_div 128 sound/soc/codecs/max9850.c do_div(lrclk_div, max9850->sysclk); do_div 1070 sound/soc/codecs/rt1305.c do_div(r0l, rhl); do_div 1087 sound/soc/codecs/rt1305.c do_div(r0r, rhl); do_div 1003 sound/soc/codecs/sgtl5000.c t = do_div(out, in); do_div 1006 sound/soc/codecs/sgtl5000.c do_div(t, in); do_div 169 sound/soc/codecs/tlv320aic32x4-clk.c do_div(multiplier, parent_rate); do_div 178 sound/soc/codecs/tlv320aic32x4-clk.c do_div(multiplier, settings->r); do_div 1004 sound/soc/codecs/wm8350.c do_div(Kpart, t2); do_div 914 sound/soc/codecs/wm8400.c do_div(Kpart, (Fref * factors->fratio)); do_div 299 sound/soc/codecs/wm8510.c do_div(Kpart, source); do_div 447 sound/soc/codecs/wm8580.c do_div(Kpart, source); do_div 724 sound/soc/codecs/wm8753.c do_div(Kpart, source); do_div 390 sound/soc/codecs/wm8804.c do_div(Kpart, source); do_div 734 sound/soc/codecs/wm8900.c do_div(Kpart, Fref); do_div 1670 sound/soc/codecs/wm8904.c do_div(Kpart, Fref); do_div 558 sound/soc/codecs/wm8940.c do_div(Kpart, source); do_div 177 sound/soc/codecs/wm8955.c do_div(Kpart, Fref); do_div 1165 sound/soc/codecs/wm8960.c do_div(Kpart, source); do_div 306 sound/soc/codecs/wm8974.c do_div(Kpart, source); do_div 432 sound/soc/codecs/wm8978.c do_div(k_part, source); do_div 774 sound/soc/codecs/wm8983.c do_div(Kpart, source); do_div 871 sound/soc/codecs/wm8985.c do_div(Kpart, source); do_div 916 sound/soc/codecs/wm8990.c do_div(Kpart, source); do_div 908 sound/soc/codecs/wm8991.c do_div(Kpart, source); do_div 448 sound/soc/codecs/wm8993.c do_div(Kpart, Fref); do_div 2109 sound/soc/codecs/wm8994.c do_div(Kpart, freq_in); do_div 1779 sound/soc/codecs/wm8995.c do_div(Kpart, freq_in); do_div 527 sound/soc/codecs/wm9081.c do_div(Kpart, Fref); do_div 796 sound/soc/codecs/wm9713.c do_div(Kpart, source); do_div 836 sound/soc/fsl/fsl_spdif.c do_div(tmpval64, gainsel_multi[gainsel] * 1024); do_div 837 sound/soc/fsl/fsl_spdif.c do_div(tmpval64, 128 * 1024); do_div 1142 sound/soc/fsl/fsl_spdif.c do_div(sub, rate[index]); do_div 1152 sound/soc/fsl/fsl_spdif.c do_div(sub, rate[index]); do_div 741 sound/soc/fsl/fsl_ssi.c do_div(sub, freq); do_div 551 sound/soc/intel/baytrail/sst-baytrail-ipc.c return do_div(fw_tstamp.ring_buffer_counter, buffer_size); do_div 152 sound/soc/meson/axg-spdifin.c rem = do_div(offset, num_per_reg); do_div 311 sound/soc/pxa/pxa-ssp.c do_div(tmp, freq); do_div 247 sound/soc/sh/rcar/src.c do_div(n, fout); do_div 87 sound/soc/sof/debug.c do_div(avg_response_time, i); do_div 276 sound/soc/sof/topology.c do_div(numerator, power); do_div 90 sound/soc/sof/trace.c lpos = do_div(lpos_64, buffer_size); do_div 796 tools/bpf/bpf_dbg.c goto do_div; do_div 803 tools/bpf/bpf_dbg.c do_div: