Home
last modified time | relevance | path

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

/Linux-v5.10/fs/ceph/
Ddebugfs.c136 _sq = _total > 0 ? DIV64_U64_ROUND_CLOSEST(sq, _total) : 0; \
168 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metric_show()
178 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metric_show()
188 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metric_show()
Dmetric.c258 avg = DIV64_U64_ROUND_CLOSEST((lsum - lat), (total - 1)); in __update_latency()
260 avg = DIV64_U64_ROUND_CLOSEST(lsum, total); in __update_latency()
/Linux-v5.10/drivers/pwm/
Dpwm-clps711x.c46 return DIV64_U64_ROUND_CLOSEST(v * 0xf, pwm->args.period); in clps711x_get_duty()
Dpwm-sifive.c184 frac = DIV64_U64_ROUND_CLOSEST(num, state->period); in pwm_sifive_apply()
Dpwm-imx-tpm.c127 p->val = DIV64_U64_ROUND_CLOSEST(tmp, real_state->period); in pwm_imx_tpm_round_state()
/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dselftest_rps.c678 (int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * max.count, in live_rps_frequency_cs()
703 (int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * count, in live_rps_frequency_cs()
818 (int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * max.count, in live_rps_frequency_srm()
843 (int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * count, in live_rps_frequency_srm()
/Linux-v5.10/include/linux/
Dmath64.h281 #define DIV64_U64_ROUND_CLOSEST(dividend, divisor) \ macro
/Linux-v5.10/drivers/clk/renesas/
Drcar-gen3-cpg.c144 mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div, in cpg_z_clk_set_rate()
/Linux-v5.10/block/
Dblk-iocost.c2962 unsigned vp10k = DIV64_U64_ROUND_CLOSEST( in ioc_pd_stat()