Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/ceph/
H A 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()
H A Dmetric.c257 avg = DIV64_U64_ROUND_CLOSEST((lsum - lat), (total - 1)); in __update_latency()
259 avg = DIV64_U64_ROUND_CLOSEST(lsum, total); in __update_latency()
/OK3568_Linux_fs/kernel/drivers/pwm/
H A Dpwm-clps711x.c46 return DIV64_U64_ROUND_CLOSEST(v * 0xf, pwm->args.period); in clps711x_get_duty()
H A Dpwm-sifive.c181 frac = DIV64_U64_ROUND_CLOSEST(num, state->period); in pwm_sifive_apply()
H A Dpwm-imx-tpm.c127 p->val = DIV64_U64_ROUND_CLOSEST(tmp, real_state->period); in pwm_imx_tpm_round_state()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dmath64.h281 #define DIV64_U64_ROUND_CLOSEST(dividend, divisor) \ macro
/OK3568_Linux_fs/kernel/drivers/powercap/
H A Ddtpm.c102 child->weight = DIV64_U64_ROUND_CLOSEST( in __dtpm_rebalance_weight()
/OK3568_Linux_fs/kernel/drivers/clk/renesas/
H A Drcar-gen3-cpg.c144 mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div, in cpg_z_clk_set_rate()
/OK3568_Linux_fs/kernel/block/
H A Dblk-iocost.c2996 unsigned vp10k = DIV64_U64_ROUND_CLOSEST( in ioc_pd_stat()