Searched refs:DIV64_U64_ROUND_CLOSEST (Results 1 – 10 of 10) sorted by relevance
| /OK3568_Linux_fs/kernel/fs/ceph/ |
| H A 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()
|
| H A D | metric.c | 257 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 D | pwm-clps711x.c | 46 return DIV64_U64_ROUND_CLOSEST(v * 0xf, pwm->args.period); in clps711x_get_duty()
|
| H A D | pwm-sifive.c | 181 frac = DIV64_U64_ROUND_CLOSEST(num, state->period); in pwm_sifive_apply()
|
| H A D | pwm-imx-tpm.c | 127 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 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()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | math64.h | 281 #define DIV64_U64_ROUND_CLOSEST(dividend, divisor) \ macro
|
| /OK3568_Linux_fs/kernel/drivers/powercap/ |
| H A D | dtpm.c | 102 child->weight = DIV64_U64_ROUND_CLOSEST( in __dtpm_rebalance_weight()
|
| /OK3568_Linux_fs/kernel/drivers/clk/renesas/ |
| H A D | rcar-gen3-cpg.c | 144 mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div, in cpg_z_clk_set_rate()
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | blk-iocost.c | 2996 unsigned vp10k = DIV64_U64_ROUND_CLOSEST( in ioc_pd_stat()
|