DIV_ROUND_UP_ULL 707 arch/arm/mach-omap2/timer.c arch_timer_freq = DIV_ROUND_UP_ULL(rate * num, den); DIV_ROUND_UP_ULL 220 arch/arm/mach-omap2/vc.c return DIV_ROUND_UP_ULL(32768ULL * (u64)usec, 1000000ULL); DIV_ROUND_UP_ULL 790 block/blk-iocost.c DIV_ROUND_UP_ULL(bps, IOC_PAGE_SIZE)); DIV_ROUND_UP_ULL 1976 drivers/block/rbd.c object_map_bytes = DIV_ROUND_UP_ULL(num_objects * BITS_PER_OBJ, DIV_ROUND_UP_ULL 535 drivers/block/virtio_blk.c nblocks = DIV_ROUND_UP_ULL(capacity, queue_logical_block_size(q) >> 9); DIV_ROUND_UP_ULL 195 drivers/clk/analogbits/wrpll-cln28hpc.c c->init_r = DIV_ROUND_UP_ULL(parent_rate, MAX_POST_DIVR_FREQ); DIV_ROUND_UP_ULL 847 drivers/clk/bcm/clk-bcm2835.c div = DIV_ROUND_UP_ULL(parent_rate, rate); DIV_ROUND_UP_ULL 144 drivers/clk/clk-divider.c return DIV_ROUND_UP_ULL((u64)parent_rate, div); DIV_ROUND_UP_ULL 222 drivers/clk/clk-divider.c int div = DIV_ROUND_UP_ULL((u64)parent_rate, rate); DIV_ROUND_UP_ULL 239 drivers/clk/clk-divider.c up = DIV_ROUND_UP_ULL((u64)parent_rate, rate); DIV_ROUND_UP_ULL 250 drivers/clk/clk-divider.c up_rate = DIV_ROUND_UP_ULL((u64)parent_rate, up); DIV_ROUND_UP_ULL 251 drivers/clk/clk-divider.c down_rate = DIV_ROUND_UP_ULL((u64)parent_rate, down); DIV_ROUND_UP_ULL 329 drivers/clk/clk-divider.c now = DIV_ROUND_UP_ULL((u64)parent_rate, i); DIV_ROUND_UP_ULL 354 drivers/clk/clk-divider.c return DIV_ROUND_UP_ULL((u64)*prate, div); DIV_ROUND_UP_ULL 375 drivers/clk/clk-divider.c return DIV_ROUND_UP_ULL((u64)*prate, div); DIV_ROUND_UP_ULL 407 drivers/clk/clk-divider.c div = DIV_ROUND_UP_ULL((u64)parent_rate, rate); DIV_ROUND_UP_ULL 285 drivers/clk/clk-xgene.c scale = DIV_ROUND_UP_ULL(ret, *parent_rate); DIV_ROUND_UP_ULL 308 drivers/clk/clk-xgene.c scale = DIV_ROUND_UP_ULL(ret, (u64)parent_rate); DIV_ROUND_UP_ULL 40 drivers/clk/meson/clk-mpll.c return DIV_ROUND_UP_ULL((u64)parent_rate * SDM_DEN, divisor); DIV_ROUND_UP_ULL 57 drivers/clk/meson/clk-mpll.c *sdm = DIV_ROUND_UP_ULL(frac, requested_rate); DIV_ROUND_UP_ULL 65 drivers/clk/meson/clk-pll.c rate += DIV_ROUND_UP_ULL(frac_rate, DIV_ROUND_UP_ULL 69 drivers/clk/meson/clk-pll.c return DIV_ROUND_UP_ULL(rate, n); DIV_ROUND_UP_ULL 82 drivers/clk/meson/sclk-div.c now = DIV_ROUND_UP_ULL((u64)parent_now, i); DIV_ROUND_UP_ULL 108 drivers/clk/meson/sclk-div.c return DIV_ROUND_UP_ULL((u64)*prate, div); DIV_ROUND_UP_ULL 187 drivers/clk/meson/sclk-div.c return DIV_ROUND_UP_ULL((u64)prate, sclk->cached_div); DIV_ROUND_UP_ULL 89 drivers/clk/meson/vid-pll-div.c return DIV_ROUND_UP_ULL(parent_rate * div->multiplier, div->divider); DIV_ROUND_UP_ULL 343 drivers/clk/mvebu/armada-37xx-periph.c return DIV_ROUND_UP_ULL((u64)parent_rate, div); DIV_ROUND_UP_ULL 478 drivers/clk/mvebu/armada-37xx-periph.c return DIV_ROUND_UP_ULL((u64)parent_rate, div); DIV_ROUND_UP_ULL 387 drivers/clk/nxp/clk-lpc18xx-cgu.c m = DIV_ROUND_UP_ULL(*prate, rate * 2); DIV_ROUND_UP_ULL 408 drivers/clk/nxp/clk-lpc18xx-cgu.c m = DIV_ROUND_UP_ULL(parent_rate, rate * 2); DIV_ROUND_UP_ULL 982 drivers/clk/qcom/clk-alpha-pll.c return DIV_ROUND_UP_ULL((u64)*prate, div); DIV_ROUND_UP_ULL 992 drivers/clk/qcom/clk-alpha-pll.c div = DIV_ROUND_UP_ULL(parent_rate, rate) - 1; DIV_ROUND_UP_ULL 1253 drivers/clk/qcom/clk-alpha-pll.c div = DIV_ROUND_UP_ULL(parent_rate, rate); DIV_ROUND_UP_ULL 1299 drivers/clk/qcom/clk-alpha-pll.c div = DIV_ROUND_UP_ULL(parent_rate, rate); DIV_ROUND_UP_ULL 32 drivers/clk/rockchip/clk-half-divider.c return DIV_ROUND_UP_ULL(((u64)parent_rate * 2), val); DIV_ROUND_UP_ULL 50 drivers/clk/rockchip/clk-half-divider.c bestdiv = DIV_ROUND_UP_ULL(((u64)parent_rate * 2), rate); DIV_ROUND_UP_ULL 77 drivers/clk/rockchip/clk-half-divider.c now = DIV_ROUND_UP_ULL(((u64)parent_rate * 2), DIV_ROUND_UP_ULL 105 drivers/clk/rockchip/clk-half-divider.c return DIV_ROUND_UP_ULL(((u64)*prate * 2), div * 2 + 3); DIV_ROUND_UP_ULL 116 drivers/clk/rockchip/clk-half-divider.c value = DIV_ROUND_UP_ULL(((u64)parent_rate * 2), rate); DIV_ROUND_UP_ULL 148 drivers/clk/ti/divider.c int div = DIV_ROUND_UP_ULL((u64)parent_rate, rate); DIV_ROUND_UP_ULL 354 drivers/clk/ti/fapll.c return DIV_ROUND_UP_ULL(rate, synth_div_m); DIV_ROUND_UP_ULL 377 drivers/clk/ti/fapll.c post_div_m = DIV_ROUND_UP_ULL((u64)parent_rate * SYNTH_PHASE_K, rate); DIV_ROUND_UP_ULL 385 drivers/clk/ti/fapll.c synth_int_div = DIV_ROUND_UP_ULL((u64)parent_rate * DIV_ROUND_UP_ULL 434 drivers/clk/ti/fapll.c r = DIV_ROUND_UP_ULL(r, SYNTH_MAX_INT_DIV * SYNTH_MAX_DIV_M); DIV_ROUND_UP_ULL 88 drivers/clk/zynqmp/divider.c return DIV_ROUND_UP_ULL(parent_rate, value); DIV_ROUND_UP_ULL 123 drivers/clk/zynqmp/divider.c return DIV_ROUND_UP_ULL((u64)*prate, bestdiv); DIV_ROUND_UP_ULL 778 drivers/crypto/hifn_795x.c dev->rng_wait_time = DIV_ROUND_UP_ULL(NSEC_PER_SEC, DIV_ROUND_UP_ULL 2070 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c num_loops += DIV_ROUND_UP_ULL(byte_count, max_bytes); DIV_ROUND_UP_ULL 391 drivers/gpu/drm/drm_fourcc.c return DIV_ROUND_UP_ULL((u64)buffer_width * info->char_per_block[plane], DIV_ROUND_UP_ULL 69 drivers/gpu/drm/drm_rect.c return DIV_ROUND_UP_ULL(tmp, dst); DIV_ROUND_UP_ULL 2797 drivers/gpu/drm/i915/display/intel_dpll_mgr.c ssc_steplen = DIV_ROUND_UP_ULL(tmp, 32 * 2 * 32); DIV_ROUND_UP_ULL 80 drivers/gpu/drm/i915/i915_fixed.h tmp = DIV_ROUND_UP_ULL(tmp, 1 << 16); DIV_ROUND_UP_ULL 102 drivers/gpu/drm/i915/i915_fixed.h tmp = DIV_ROUND_UP_ULL(tmp, d); DIV_ROUND_UP_ULL 112 drivers/gpu/drm/i915/i915_fixed.h tmp = DIV_ROUND_UP_ULL(tmp, d.val); DIV_ROUND_UP_ULL 692 drivers/gpu/drm/i915/intel_pm.c ret = DIV_ROUND_UP_ULL(ret, 10000); DIV_ROUND_UP_ULL 10054 drivers/gpu/drm/i915/intel_pm.c return DIV_ROUND_UP_ULL(intel_rc6_residency_ns(dev_priv, reg), 1000); DIV_ROUND_UP_ULL 563 drivers/gpu/drm/mediatek/mtk_dsi.c dsi->data_rate = DIV_ROUND_UP_ULL(pixel_clock * total_bits, DIV_ROUND_UP_ULL 155 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c bw = DIV_ROUND_UP_ULL(bw_sum_of_intfs, 1000); DIV_ROUND_UP_ULL 1660 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c pclk_period = DIV_ROUND_UP_ULL(1000000000ull, pclk_rate); DIV_ROUND_UP_ULL 658 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c vco_rate = DIV_ROUND_UP_ULL(vco_rate, 1000) * 1000; DIV_ROUND_UP_ULL 64 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c v = DIV_ROUND_UP_ULL(ss_scl_high * sfr, 1000000); DIV_ROUND_UP_ULL 71 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c v = DIV_ROUND_UP_ULL(ss_scl_low * sfr, 1000000); DIV_ROUND_UP_ULL 78 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c v = DIV_ROUND_UP_ULL(fs_scl_high * sfr, 1000000); DIV_ROUND_UP_ULL 85 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c v = DIV_ROUND_UP_ULL(fs_scl_low * sfr, 1000000); DIV_ROUND_UP_ULL 92 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c v = DIV_ROUND_UP_ULL(sda_hold * sfr, 1000000); DIV_ROUND_UP_ULL 463 drivers/gpu/drm/pl111/pl111_display.c div_rate = DIV_ROUND_UP_ULL(this_prate, div); DIV_ROUND_UP_ULL 482 drivers/gpu/drm/pl111/pl111_display.c return DIV_ROUND_UP_ULL(*prate, div); DIV_ROUND_UP_ULL 501 drivers/gpu/drm/pl111/pl111_display.c return DIV_ROUND_UP_ULL(prate, div); DIV_ROUND_UP_ULL 375 drivers/i2c/busses/i2c-nomadik.c ns = DIV_ROUND_UP_ULL(1000000000ULL, i2c_clk); DIV_ROUND_UP_ULL 75 drivers/iio/light/apds9300.c lux = 3150 * ch0 - (unsigned long)DIV_ROUND_UP_ULL(ch0 DIV_ROUND_UP_ULL 822 drivers/md/bcache/super.c d->nr_stripes = DIV_ROUND_UP_ULL(sectors, d->stripe_size); DIV_ROUND_UP_ULL 219 drivers/memory/emif.c t_ck = (u32)DIV_ROUND_UP_ULL(1000000000000ull, freq); DIV_ROUND_UP_ULL 554 drivers/misc/habanalabs/device.c total_busy_time_ms = DIV_ROUND_UP_ULL(total_busy_time_us, DIV_ROUND_UP_ULL 557 drivers/misc/habanalabs/device.c return DIV_ROUND_UP_ULL(total_busy_time_ms * 100, period_ms); DIV_ROUND_UP_ULL 4617 drivers/misc/habanalabs/goya/goya.c lin_dma_pkts_cnt = DIV_ROUND_UP_ULL(size, SZ_2G); DIV_ROUND_UP_ULL 1128 drivers/misc/vmw_balloon.c DIV_ROUND_UP_ULL(to_inflate_frames, DIV_ROUND_UP_ULL 1237 drivers/misc/vmw_balloon.c DIV_ROUND_UP_ULL(to_deflate_frames, DIV_ROUND_UP_ULL 367 drivers/mmc/host/dw_mmc.c cto_ms = DIV_ROUND_UP_ULL((u64)MSEC_PER_SEC * cto_clks * cto_div, DIV_ROUND_UP_ULL 1911 drivers/mmc/host/dw_mmc.c drto_ms = DIV_ROUND_UP_ULL((u64)MSEC_PER_SEC * drto_clks * drto_div, DIV_ROUND_UP_ULL 79 drivers/mmc/host/sdhci-of-dwcmshc.c extra = DIV_ROUND_UP_ULL(dma_get_required_mask(&pdev->dev), SZ_128M); DIV_ROUND_UP_ULL 29 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c #define TO_CYCLES(duration, period) DIV_ROUND_UP_ULL(duration, period) DIV_ROUND_UP_ULL 454 drivers/mtd/nand/raw/marvell_nand.c #define TO_CYCLES64(ps, period_ns) (DIV_ROUND_UP_ULL(div_u64(ps, 1000), \ DIV_ROUND_UP_ULL 1120 drivers/mtd/nand/raw/meson_nand.c tbers_clocks = DIV_ROUND_UP_ULL(PSEC_TO_NSEC(timings->tBERS_max), DIV_ROUND_UP_ULL 476 drivers/mtd/nand/raw/tango_nand.c return DIV_ROUND_UP_ULL((u64)kHz * ps, NSEC_PER_SEC); DIV_ROUND_UP_ULL 1793 drivers/net/ethernet/intel/igb/igb_main.c value = DIV_ROUND_UP_ULL(ring->idleslope * 61034ULL, 1000000); DIV_ROUND_UP_ULL 95 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); DIV_ROUND_UP_ULL 180 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); DIV_ROUND_UP_ULL 3651 drivers/nvme/host/core.c unsigned num_lists = DIV_ROUND_UP_ULL((u64)nn, 1024); DIV_ROUND_UP_ULL 232 drivers/nvmem/imx-ocotp.c fsource = DIV_ROUND_UP_ULL((u64)clk_rate * DEF_FSOURCE, DIV_ROUND_UP_ULL 129 drivers/phy/cadence/cdns-dphy.c cfg->pll_fbdiv = DIV_ROUND_UP_ULL(dlane_bps * 2 * cfg->pll_opdiv * DIV_ROUND_UP_ULL 64 drivers/power/reset/at91-sama5d2_shdwc.c #define DBC_PERIOD_US(x) DIV_ROUND_UP_ULL((1000000 * (x)), \ DIV_ROUND_UP_ULL 324 drivers/pwm/pwm-pca9685.c duty = DIV_ROUND_UP_ULL(duty, period_ns); DIV_ROUND_UP_ULL 304 drivers/pwm/pwm-stm32.c result->period = DIV_ROUND_UP_ULL(prd, rate << icpsc); DIV_ROUND_UP_ULL 306 drivers/pwm/pwm-stm32.c result->duty_cycle = DIV_ROUND_UP_ULL(dty, rate); DIV_ROUND_UP_ULL 205 drivers/staging/media/imx/imx6-mipi-csi2.c mbps_per_lane = DIV_ROUND_UP_ULL(2 * ctrl->qmenu_int[ctrl->val], DIV_ROUND_UP_ULL 4617 drivers/usb/host/xhci.c timeout_ns = DIV_ROUND_UP_ULL(timeout_ns * 105, 100); DIV_ROUND_UP_ULL 4654 drivers/usb/host/xhci.c timeout_ns = DIV_ROUND_UP_ULL(timeout_ns, 1000); DIV_ROUND_UP_ULL 4713 drivers/usb/host/xhci.c timeout_ns = DIV_ROUND_UP_ULL(timeout_ns, 256 * 1000); DIV_ROUND_UP_ULL 65 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c v = DIV_ROUND_UP_ULL(ss_scl_high * sfr, 1000000); DIV_ROUND_UP_ULL 72 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c v = DIV_ROUND_UP_ULL(ss_scl_low * sfr, 1000000); DIV_ROUND_UP_ULL 79 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c v = DIV_ROUND_UP_ULL(fs_scl_high * sfr, 1000000); DIV_ROUND_UP_ULL 86 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c v = DIV_ROUND_UP_ULL(fs_scl_low * sfr, 1000000); DIV_ROUND_UP_ULL 93 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c v = DIV_ROUND_UP_ULL(sda_hold * sfr, 1000000); DIV_ROUND_UP_ULL 825 fs/fs-writeback.c return DIV_ROUND_UP_ULL((u64)nr_pages * this_bw, tot_bw); DIV_ROUND_UP_ULL 500 fs/gfs2/bmap.c ptrs = DIV_ROUND_UP_ULL(max_len, factor); DIV_ROUND_UP_ULL 102 include/linux/kernel.h # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d) DIV_ROUND_UP_ULL 622 include/linux/mtd/rawnand.h DIV_ROUND_UP_ULL(dividend, divisor)); \ DIV_ROUND_UP_ULL 1596 kernel/time/timer.c return DIV_ROUND_UP_ULL(nextevt, TICK_NSEC) * TICK_NSEC; DIV_ROUND_UP_ULL 3195 net/bluetooth/l2cap_core.c ertm_to = DIV_ROUND_UP_ULL(ertm_to, 1000); DIV_ROUND_UP_ULL 231 net/ceph/striper.c *num_file_extents = DIV_ROUND_UP_ULL(objoff + objlen, l->stripe_unit) - DIV_ROUND_UP_ULL 274 net/ceph/striper.c DIV_ROUND_UP_ULL(remainder_bytes, l->stripe_unit); DIV_ROUND_UP_ULL 151 sound/soc/codecs/tlv320aic32x4-clk.c return (unsigned long) DIV_ROUND_UP_ULL(rate, settings->p * 10000); DIV_ROUND_UP_ULL 187 sound/soc/meson/axg-pdm.c spmax = DIV_ROUND_UP_ULL((u64)clk_get_rate(priv->sysclk),