Home
last modified time | relevance | path

Searched refs:DIV64_U64_ROUND_UP (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.15/block/
Dblk-iocost.c708 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost()
716 return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE); in cost_to_abs_cost()
874 *page = DIV64_U64_ROUND_UP(VTIME_PER_SEC, in calc_lcoefs()
878 v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, seqiops); in calc_lcoefs()
884 v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, randiops); in calc_lcoefs()
929 ioc->vrate_min = DIV64_U64_ROUND_UP((u64)ioc->params.qos[QOS_MIN] * in ioc_refresh_params()
1011 vrate = clamp(DIV64_U64_ROUND_UP(vrate * adj_pct, 100), in ioc_adjust_base_vrate()
1078 inuse = DIV64_U64_ROUND_UP(active * iocg->child_inuse_sum, in __propagate_weights()
1110 parent_inuse = DIV64_U64_ROUND_UP( in __propagate_weights()
1219 inuse = DIV64_U64_ROUND_UP(parent->active * child_inuse_sum, in current_hweight_max()
[all …]
/Linux-v5.15/drivers/pwm/
Dpwm-mtk-disp.c207 state->period = DIV64_U64_ROUND_UP(period * (clk_div + 1) * NSEC_PER_SEC, rate); in mtk_disp_pwm_get_state()
209 state->duty_cycle = DIV64_U64_ROUND_UP(high_width * (clk_div + 1) * NSEC_PER_SEC, in mtk_disp_pwm_get_state()
Dpwm-atmel.c380 state->period = DIV64_U64_ROUND_UP(tmp, rate); in atmel_pwm_get_state()
389 state->duty_cycle = DIV64_U64_ROUND_UP(tmp, rate); in atmel_pwm_get_state()
/Linux-v5.15/net/ceph/
Dstriper.c266 u64 num_periods = DIV64_U64_ROUND_UP(size, period); in ceph_get_num_objects()
/Linux-v5.15/include/linux/
Dmath64.h287 #define DIV64_U64_ROUND_UP(ll, d) \ macro
/Linux-v5.15/drivers/gpu/drm/bridge/
Dnwl-dsi.c192 return DIV64_U64_ROUND_UP(ps * dsi->mode.clock * bpp, in ps2bc()
203 return DIV64_U64_ROUND_UP(ui * dsi->lanes, in ui2bc()
/Linux-v5.15/drivers/ptp/
Dptp_qoriq.c199 diff = DIV64_U64_ROUND_UP(diff, 2); in ptp_qoriq_adjfine()
/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.c530 return (int) DIV64_U64_ROUND_UP(peak_kbps * 64, (54 * 8 * 1000)); in kbps_to_peak_pbn()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_audio.c552 hblank_delta = DIV64_U64_ROUND_UP(mul_u32_u32(5 * (link_clk + cdclk), pixel_clk), in calc_hblank_early_prog()
/Linux-v5.15/mm/
Dvmscan.c2753 DIV64_U64_ROUND_UP(scan * fraction[file], in get_scan_count()
/Linux-v5.15/drivers/gpu/drm/i915/
Dintel_pm.c5206 DIV64_U64_ROUND_UP(alloc_size * rate, in skl_allocate_plane_ddb()
5217 DIV64_U64_ROUND_UP(alloc_size * rate, in skl_allocate_plane_ddb()