Symbol: DIV64_U64_ROUND_UP
block/blk-iocost.c
1030
vrate = clamp(DIV64_U64_ROUND_UP(vrate * adj_pct, 100),
block/blk-iocost.c
1098
inuse = DIV64_U64_ROUND_UP(active * iocg->child_inuse_sum,
block/blk-iocost.c
1137
parent_inuse = DIV64_U64_ROUND_UP(
block/blk-iocost.c
1246
inuse = DIV64_U64_ROUND_UP(parent->active * child_inuse_sum,
block/blk-iocost.c
1569
DIV64_U64_ROUND_UP(vshortage, ioc->vtime_base_rate) *
block/blk-iocost.c
1628
DIV64_U64_ROUND_UP((u64)nr_missed[rw] * MILLION,
block/blk-iocost.c
1950
iocg->hweight_active = DIV64_U64_ROUND_UP(
block/blk-iocost.c
2000
iocg->child_adjusted_sum = DIV64_U64_ROUND_UP(
block/blk-iocost.c
2009
iocg->hweight_inuse = DIV64_U64_ROUND_UP(
block/blk-iocost.c
2014
inuse = DIV64_U64_ROUND_UP(
block/blk-iocost.c
2019
st = DIV64_U64_ROUND_UP(
block/blk-iocost.c
2023
wpt = DIV64_U64_ROUND_UP(
block/blk-iocost.c
2026
wptp = DIV64_U64_ROUND_UP(
block/blk-iocost.c
2030
iocg->child_adjusted_sum = sf + DIV64_U64_ROUND_UP(st * wptp, wpt);
block/blk-iocost.c
2054
inuse = DIV64_U64_ROUND_UP(
block/blk-iocost.c
2324
u64 inflight_us = DIV64_U64_ROUND_UP(
block/blk-iocost.c
2337
usage = clamp(DIV64_U64_ROUND_UP(usage_us * WEIGHT_ONE, usage_dur),
block/blk-iocost.c
706
return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse);
block/blk-iocost.c
714
return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE);
block/blk-iocost.c
879
*page = DIV64_U64_ROUND_UP(VTIME_PER_SEC, bps_pages);
block/blk-iocost.c
885
v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, seqiops);
block/blk-iocost.c
891
v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, randiops);
block/blk-iocost.c
943
ioc->vrate_min = DIV64_U64_ROUND_UP((u64)ioc->params.qos[QOS_MIN] *
block/blk-iocost.c
945
ioc->vrate_max = DIV64_U64_ROUND_UP((u64)ioc->params.qos[QOS_MAX] *
drivers/clk/sophgo/clk-cv18xx-ip.c
861
return DIV64_U64_ROUND_UP(rate, factor);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
9348
offdelay = DIV64_U64_ROUND_UP((u64)5 * 3 * 10 *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
9360
offdelay = DIV64_U64_ROUND_UP((u64)20 *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
906
return (int) DIV64_U64_ROUND_UP(peak_kbps * 64, (54 * 8 * 1000));
drivers/gpu/drm/bridge/nwl-dsi.c
192
return DIV64_U64_ROUND_UP(ps * dsi->mode.clock * bpp,
drivers/gpu/drm/bridge/samsung-dsim.c
1174
int hfp = DIV64_U64_ROUND_UP((m->hsync_start - m->hdisplay) * byte_clk, pix_clk);
drivers/gpu/drm/bridge/samsung-dsim.c
1175
int hbp = DIV64_U64_ROUND_UP((m->htotal - m->hsync_end) * byte_clk, pix_clk);
drivers/gpu/drm/bridge/samsung-dsim.c
1176
int hsa = DIV64_U64_ROUND_UP((m->hsync_end - m->hsync_start) * byte_clk, pix_clk);
drivers/gpu/drm/bridge/ti-sn65dsi86.c
1624
pre_div = DIV64_U64_ROUND_UP(period * pdata->pwm_refclk_freq,
drivers/gpu/drm/display/drm_dp_mst_topology.c
4809
return DIV64_U64_ROUND_UP(mul_u32_u32(clock * bpp, 64 * overhead >> 4),
drivers/gpu/drm/i915/display/intel_audio.c
485
hblank_delta = DIV64_U64_ROUND_UP(mul_u32_u32(5 * (link_clk + cdclk), pixel_clk),
drivers/gpu/drm/i915/display/intel_snps_hdmi_pll.c
118
int_sqrt(DIV64_U64_ROUND_UP(interpolated_product, vco_div_refclk_float) *
drivers/gpu/drm/i915/display/intel_snps_hdmi_pll.c
123
adjusted_vco_clk2 = 1460281 * DIV64_U64_ROUND_UP(scaled_interpolated_sqrt *
drivers/gpu/drm/i915/display/intel_snps_hdmi_pll.c
127
*ana_cp_prop = DIV64_U64_ROUND_UP(adjusted_vco_clk2, curve_2_scaled2);
drivers/gpu/drm/i915/display/intel_snps_hdmi_pll.c
44
dydx = DIV64_U64_ROUND_UP((y2 - y1) * 100000, (x2 - x1));
drivers/gpu/drm/i915/display/intel_snps_hdmi_pll.c
46
return (y1 + DIV64_U64_ROUND_UP(dydx * (x - x1), 100000));
drivers/gpu/drm/i915/display/skl_watermark.c
1403
DIV64_U64_ROUND_UP(iter->size * data_rate,
drivers/hwmon/aspeed-g6-pwm-tach.c
205
div_h = order_base_2(DIV64_U64_ROUND_UP(priv->clk_rate * expect_period, divisor));
drivers/input/touchscreen/imx6ul_tsc.c
525
cycles = DIV64_U64_ROUND_UP((u64)de_glitch * rate, USEC_PER_SEC);
drivers/net/ethernet/microchip/sparx5/sparx5_sdlb.c
57
return DIV64_U64_ROUND_UP((rate * pup_interval), (clk_hz * 8));
drivers/ptp/ptp_ocp.c
2076
s->start = DIV64_U64_ROUND_UP(start_ns, s->period);
drivers/ptp/ptp_qoriq.c
224
diff = DIV64_U64_ROUND_UP(diff, 2);
drivers/pwm/pwm-ab8500.c
174
state->period = DIV64_U64_ROUND_UP((u64)div << 10, AB8500_PWM_CLKRATE);
drivers/pwm/pwm-ab8500.c
175
state->duty_cycle = DIV64_U64_ROUND_UP((u64)div * duty_steps, AB8500_PWM_CLKRATE);
drivers/pwm/pwm-apple.c
91
state->duty_cycle = DIV64_U64_ROUND_UP((u64)on_cycles * NSEC_PER_SEC, fpwm->clkrate);
drivers/pwm/pwm-apple.c
92
state->period = DIV64_U64_ROUND_UP(((u64)off_cycles + (u64)on_cycles) *
drivers/pwm/pwm-argon-fan-hat.c
44
wf->duty_length_ns = DIV64_U64_ROUND_UP(wf->period_length_ns * *wfhw, 100);
drivers/pwm/pwm-atmel.c
363
state->period = DIV64_U64_ROUND_UP(tmp, rate);
drivers/pwm/pwm-atmel.c
372
state->duty_cycle = DIV64_U64_ROUND_UP(tmp, rate);
drivers/pwm/pwm-axi-pwmgen.c
127
wf->period_length_ns = DIV64_U64_ROUND_UP((u64)wfhw->period_cnt * NSEC_PER_SEC,
drivers/pwm/pwm-axi-pwmgen.c
130
wf->duty_length_ns = DIV64_U64_ROUND_UP((u64)wfhw->duty_cycle_cnt * NSEC_PER_SEC,
drivers/pwm/pwm-axi-pwmgen.c
133
wf->duty_offset_ns = DIV64_U64_ROUND_UP((u64)wfhw->duty_offset_cnt * NSEC_PER_SEC,
drivers/pwm/pwm-clk.c
69
rate = DIV64_U64_ROUND_UP(NSEC_PER_SEC, period);
drivers/pwm/pwm-loongson.c
177
state->duty_cycle = DIV64_U64_ROUND_UP((u64)duty * NSEC_PER_SEC, ddata->clk_rate);
drivers/pwm/pwm-loongson.c
178
state->period = DIV64_U64_ROUND_UP((u64)period * NSEC_PER_SEC, ddata->clk_rate);
drivers/pwm/pwm-microchip-core.c
402
state->period = DIV64_U64_ROUND_UP(state->period, rate);
drivers/pwm/pwm-microchip-core.c
413
state->duty_cycle = DIV64_U64_ROUND_UP(state->duty_cycle, rate);
drivers/pwm/pwm-mtk-disp.c
215
state->period = DIV64_U64_ROUND_UP(period * (clk_div + 1) * NSEC_PER_SEC, rate);
drivers/pwm/pwm-mtk-disp.c
217
state->duty_cycle = DIV64_U64_ROUND_UP(high_width * (clk_div + 1) * NSEC_PER_SEC,
drivers/pwm/pwm-rzg2l-gpt.c
220
return DIV64_U64_ROUND_UP(tmp, rzg2l_gpt->rate_khz);
drivers/pwm/pwm-sunplus.c
145
state->period = DIV64_U64_ROUND_UP((u64)dd_freq * (u64)SP7021_PWM_FREQ_SCALER
drivers/pwm/pwm-sunplus.c
150
state->duty_cycle = DIV64_U64_ROUND_UP((u64)dd_freq * (u64)duty * NSEC_PER_SEC,
drivers/pwm/pwm-twl.c
62
int duty_cycle = DIV64_U64_ROUND_UP(duty_ns * TWL_PWM_MAX, period_ns) + 1;
drivers/pwm/pwm-xilinx.c
55
return DIV64_U64_ROUND_UP(cycles * NSEC_PER_SEC,
drivers/tty/serial/serial_core.c
451
port->frame_time = (unsigned int)DIV64_U64_ROUND_UP(temp, baud);
mm/vmscan.c
2625
DIV64_U64_ROUND_UP(scan * fraction[file],
net/ceph/striper.c
266
u64 num_periods = DIV64_U64_ROUND_UP(size, period);