Home
last modified time | relevance | path

Searched refs:DIV64_U64_ROUND_CLOSEST (Results 1 – 13 of 13) sorted by relevance

/linux/fs/ceph/
A Ddebugfs.c136 _sq = _total > 0 ? DIV64_U64_ROUND_CLOSEST(sq, _total) : 0; \
189 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metrics_latency_show()
220 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metrics_size_show()
A Dmetric.c321 avg = DIV64_U64_ROUND_CLOSEST((lsum - lat), (total - 1)); in __update_stdev()
323 avg = DIV64_U64_ROUND_CLOSEST(lsum, total); in __update_stdev()
/linux/drivers/pwm/
A Dpwm-clps711x.c46 return DIV64_U64_ROUND_CLOSEST(v * 0xf, pwm->args.period); in clps711x_get_duty()
A Dpwm-sifive.c184 frac = DIV64_U64_ROUND_CLOSEST(num, state->period); in pwm_sifive_apply()
A Dpwm-imx-tpm.c127 p->val = DIV64_U64_ROUND_CLOSEST(tmp, real_state->period); in pwm_imx_tpm_round_state()
/linux/drivers/gpu/drm/i915/gt/
A Dselftest_rps.c681 (int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * max.count, in live_rps_frequency_cs()
706 (int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * count, in live_rps_frequency_cs()
821 (int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * max.count, in live_rps_frequency_srm()
846 (int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * count, in live_rps_frequency_srm()
/linux/include/linux/
A Dmath64.h300 #define DIV64_U64_ROUND_CLOSEST(dividend, divisor) \ macro
/linux/drivers/gpu/drm/i915/gvt/
A Ddisplay.c570 …vblank_timer->period = DIV64_U64_ROUND_CLOSEST(NSEC_PER_SEC * MSEC_PER_SEC, vblank_timer->vrefresh… in setup_virtual_dp_monitor()
607 …vblank_timer->period = DIV64_U64_ROUND_CLOSEST(NSEC_PER_SEC * MSEC_PER_SEC, vblank_timer->vrefresh… in vgpu_update_vblank_emulation()
A Dhandlers.c685 …new_rate = DIV64_U64_ROUND_CLOSEST(mul_u64_u32_shr(pixel_clk, MSEC_PER_SEC, 0), mul_u32_u32(htotal… in vgpu_update_refresh_rate()
/linux/drivers/powercap/
A Ddtpm.c102 child->weight = DIV64_U64_ROUND_CLOSEST( in __dtpm_rebalance_weight()
/linux/drivers/clk/renesas/
A Drcar-gen3-cpg.c227 mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div, in cpg_z_clk_set_rate()
A Dr8a779a0-cpg-mssr.c348 mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div, in cpg_z_clk_set_rate()
/linux/block/
A Dblk-iocost.c3007 unsigned vp10k = DIV64_U64_ROUND_CLOSEST( in ioc_pd_stat()

Completed in 29 milliseconds