Home
last modified time | relevance | path

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

/linux-6.1.9/block/
Dblk-iocost.c703 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost()
711 return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE); in cost_to_abs_cost()
869 *page = DIV64_U64_ROUND_UP(VTIME_PER_SEC, in calc_lcoefs()
873 v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, seqiops); in calc_lcoefs()
879 v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, randiops); in calc_lcoefs()
924 ioc->vrate_min = DIV64_U64_ROUND_UP((u64)ioc->params.qos[QOS_MIN] * in ioc_refresh_params()
1006 vrate = clamp(DIV64_U64_ROUND_UP(vrate * adj_pct, 100), in ioc_adjust_base_vrate()
1073 inuse = DIV64_U64_ROUND_UP(active * iocg->child_inuse_sum, in __propagate_weights()
1105 parent_inuse = DIV64_U64_ROUND_UP( in __propagate_weights()
1214 inuse = DIV64_U64_ROUND_UP(parent->active * child_inuse_sum, in current_hweight_max()
[all …]
/linux-6.1.9/drivers/pwm/
Dpwm-sunplus.c145 state->period = DIV64_U64_ROUND_UP((u64)dd_freq * (u64)SP7021_PWM_FREQ_SCALER in sunplus_pwm_get_state()
150 state->duty_cycle = DIV64_U64_ROUND_UP((u64)dd_freq * (u64)duty * NSEC_PER_SEC, in sunplus_pwm_get_state()
Dpwm-mtk-disp.c208 state->period = DIV64_U64_ROUND_UP(period * (clk_div + 1) * NSEC_PER_SEC, rate); in mtk_disp_pwm_get_state()
210 state->duty_cycle = DIV64_U64_ROUND_UP(high_width * (clk_div + 1) * NSEC_PER_SEC, in mtk_disp_pwm_get_state()
Dpwm-clk.c67 rate = DIV64_U64_ROUND_UP(NSEC_PER_SEC, period); in pwm_clk_apply()
Dpwm-atmel.c379 state->period = DIV64_U64_ROUND_UP(tmp, rate); in atmel_pwm_get_state()
388 state->duty_cycle = DIV64_U64_ROUND_UP(tmp, rate); in atmel_pwm_get_state()
Dpwm-xilinx.c55 return DIV64_U64_ROUND_UP(cycles * NSEC_PER_SEC, in xilinx_timer_get_period()
Dpwm-twl.c63 int duty_cycle = DIV64_U64_ROUND_UP(duty_ns * TWL_PWM_MAX, period_ns) + 1; in twl_pwm_config()
/linux-6.1.9/net/ceph/
Dstriper.c266 u64 num_periods = DIV64_U64_ROUND_UP(size, period); in ceph_get_num_objects()
/linux-6.1.9/include/linux/
Dmath64.h287 #define DIV64_U64_ROUND_UP(ll, d) \ macro
/linux-6.1.9/drivers/ptp/
Dptp_qoriq.c199 diff = DIV64_U64_ROUND_UP(diff, 2); in ptp_qoriq_adjfine()
Dptp_ocp.c1656 s->start = DIV64_U64_ROUND_UP(start_ns, s->period); in ptp_ocp_signal_set()
/linux-6.1.9/drivers/gpu/drm/bridge/
Dnwl-dsi.c192 return DIV64_U64_ROUND_UP(ps * dsi->mode.clock * bpp, in ps2bc()
Dti-sn65dsi86.c1456 pre_div = DIV64_U64_ROUND_UP(period * pdata->pwm_refclk_freq, in ti_sn_pwm_apply()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_audio.c554 hblank_delta = DIV64_U64_ROUND_UP(mul_u32_u32(5 * (link_clk + cdclk), pixel_clk), in calc_hblank_early_prog()
Dskl_watermark.c1438 DIV64_U64_ROUND_UP(iter->size * data_rate, in skl_allocate_plane_ddb()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.c636 return (int) DIV64_U64_ROUND_UP(peak_kbps * 64, (54 * 8 * 1000)); in kbps_to_peak_pbn()
/linux-6.1.9/drivers/tty/serial/
Dserial_core.c351 port->frame_time = DIV64_U64_ROUND_UP(frame_time, baud); in uart_update_timeout()
/linux-6.1.9/mm/
Dvmscan.c3077 DIV64_U64_ROUND_UP(scan * fraction[file], in get_scan_count()