Searched refs:DIV64_U64_ROUND_CLOSEST (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/fs/ceph/ |
D | debugfs.c | 136 _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()
|
D | metric.c | 258 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/ |
D | pwm-clps711x.c | 46 return DIV64_U64_ROUND_CLOSEST(v * 0xf, pwm->args.period); in clps711x_get_duty()
|
D | pwm-sifive.c | 184 frac = DIV64_U64_ROUND_CLOSEST(num, state->period); in pwm_sifive_apply()
|
D | pwm-imx-tpm.c | 127 p->val = DIV64_U64_ROUND_CLOSEST(tmp, real_state->period); in pwm_imx_tpm_round_state()
|
/Linux-v5.10/drivers/gpu/drm/i915/gt/ |
D | selftest_rps.c | 678 (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/ |
D | math64.h | 281 #define DIV64_U64_ROUND_CLOSEST(dividend, divisor) \ macro
|
/Linux-v5.10/drivers/clk/renesas/ |
D | rcar-gen3-cpg.c | 144 mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div, in cpg_z_clk_set_rate()
|
/Linux-v5.10/block/ |
D | blk-iocost.c | 2962 unsigned vp10k = DIV64_U64_ROUND_CLOSEST( in ioc_pd_stat()
|