Symbol: DIV64_U64_ROUND_CLOSEST
block/blk-iocost.c
3055
unsigned vp10k = DIV64_U64_ROUND_CLOSEST(
drivers/clk/renesas/rcar-gen3-cpg.c
221
mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div,
drivers/clk/renesas/rcar-gen4-cpg.c
326
mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div,
drivers/clk/sophgo/clk-cv18xx-pll.c
215
rate += DIV64_U64_ROUND_CLOSEST(dividend, factor);
drivers/gpu/drm/bridge/samsung-dsim.c
222
#define PS_TO_CYCLE(ps, hz) DIV64_U64_ROUND_CLOSEST(((ps) * (hz)), 1000000000000ULL)
drivers/gpu/drm/i915/display/intel_snps_hdmi_pll.c
106
DIV64_U64_ROUND_CLOSEST(DIV_ROUND_DOWN_ULL(adjusted_vco_clk1, curve_2_scaled1),
drivers/gpu/drm/i915/gt/selftest_rps.c
687
(int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * max.count,
drivers/gpu/drm/i915/gt/selftest_rps.c
712
(int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * count,
drivers/gpu/drm/i915/gt/selftest_rps.c
825
(int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * max.count,
drivers/gpu/drm/i915/gt/selftest_rps.c
850
(int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * count,
drivers/gpu/drm/i915/gvt/display.c
590
vblank_timer->period = DIV64_U64_ROUND_CLOSEST(NSEC_PER_SEC * MSEC_PER_SEC, vblank_timer->vrefresh_k);
drivers/gpu/drm/i915/gvt/display.c
627
vblank_timer->period = DIV64_U64_ROUND_CLOSEST(NSEC_PER_SEC * MSEC_PER_SEC, vblank_timer->vrefresh_k);
drivers/gpu/drm/i915/gvt/handlers.c
708
new_rate = DIV64_U64_ROUND_CLOSEST(mul_u64_u32_shr(pixel_clk, MSEC_PER_SEC, 0), mul_u32_u32(htotal + 1, vtotal + 1));
drivers/hwmon/ltc4282.c
504
*val = DIV64_U64_ROUND_CLOSEST(temp * MICRO,
drivers/hwmon/ltc4282.c
509
*val = DIV64_U64_ROUND_CLOSEST(temp_2,
drivers/hwmon/ltc4282.c
527
*val = DIV64_U64_ROUND_CLOSEST(temp * MICRO,
drivers/hwmon/ltc4282.c
562
*val = DIV64_U64_ROUND_CLOSEST(temp, U16_MAX * (u64)st->rsense);
drivers/hwmon/ltc4282.c
626
power = DIV64_U64_ROUND_CLOSEST(temp,
drivers/hwmon/ltc4282.c
641
code = DIV64_U64_ROUND_CLOSEST(temp * val,
drivers/hwmon/ltc4282.c
645
code = DIV64_U64_ROUND_CLOSEST(temp_2, temp);
drivers/iio/adc/ad4130.c
889
DIV64_U64_ROUND_CLOSEST(dividend, divisor);
drivers/iio/dac/adi-axi-dac.c
318
raw = DIV64_U64_ROUND_CLOSEST((u64)freq * BIT(16), sample_rate);
drivers/net/ethernet/xilinx/xilinx_axienet_main.c
258
timer = DIV64_U64_ROUND_CLOSEST((u64)usec * clk_rate,
drivers/net/ethernet/xilinx/xilinx_axienet_main.c
283
*usec = DIV64_U64_ROUND_CLOSEST(timer * XAXIDMA_DELAY_SCALE, clk_rate);
drivers/powercap/dtpm.c
96
child->weight = DIV64_U64_ROUND_CLOSEST(
drivers/pwm/pwm-imx-tpm.c
129
p->val = DIV64_U64_ROUND_CLOSEST(tmp, real_state->period);
fs/ceph/debugfs.c
134
_sq = _total > 0 ? DIV64_U64_ROUND_CLOSEST(sq, _total) : 0; \
fs/ceph/debugfs.c
217
avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0;