Home
last modified time | relevance | path

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

/Linux-v6.1/fs/ceph/
Ddebugfs.c136 _sq = _total > 0 ? DIV64_U64_ROUND_CLOSEST(sq, _total) : 0; \
219 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metrics_size_show()
/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dselftest_rps.c683 (int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * max.count, in live_rps_frequency_cs()
708 (int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * count, in live_rps_frequency_cs()
823 (int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * max.count, in live_rps_frequency_srm()
848 (int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * count, in live_rps_frequency_srm()
/Linux-v6.1/drivers/clk/renesas/
Drcar-gen4-cpg.c100 mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div, in cpg_z_clk_set_rate()
Drcar-gen3-cpg.c227 mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div, in cpg_z_clk_set_rate()
/Linux-v6.1/include/linux/
Dmath64.h300 #define DIV64_U64_ROUND_CLOSEST(dividend, divisor) \ macro
/Linux-v6.1/drivers/pwm/
Dpwm-sifive.c156 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-v6.1/drivers/gpu/drm/i915/gvt/
Ddisplay.c571 …vblank_timer->period = DIV64_U64_ROUND_CLOSEST(NSEC_PER_SEC * MSEC_PER_SEC, vblank_timer->vrefresh… in setup_virtual_dp_monitor()
608 …vblank_timer->period = DIV64_U64_ROUND_CLOSEST(NSEC_PER_SEC * MSEC_PER_SEC, vblank_timer->vrefresh… in vgpu_update_vblank_emulation()
Dhandlers.c681 …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-v6.1/drivers/powercap/
Ddtpm.c96 child->weight = DIV64_U64_ROUND_CLOSEST( in __dtpm_rebalance_weight()
/Linux-v6.1/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c219 result = DIV64_U64_ROUND_CLOSEST((u64)coalesce_usec * clk_rate, in axienet_usec_to_timer()
/Linux-v6.1/block/
Dblk-iocost.c3013 unsigned vp10k = DIV64_U64_ROUND_CLOSEST( in ioc_pd_stat()