DIV64_U64_ROUND_CLOSEST
unsigned vp10k = DIV64_U64_ROUND_CLOSEST(
mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div,
mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div,
rate += DIV64_U64_ROUND_CLOSEST(dividend, factor);
#define PS_TO_CYCLE(ps, hz) DIV64_U64_ROUND_CLOSEST(((ps) * (hz)), 1000000000000ULL)
DIV64_U64_ROUND_CLOSEST(DIV_ROUND_DOWN_ULL(adjusted_vco_clk1, curve_2_scaled1),
(int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * max.count,
(int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * count,
(int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * max.count,
(int)DIV64_U64_ROUND_CLOSEST(100 * min.freq * count,
vblank_timer->period = DIV64_U64_ROUND_CLOSEST(NSEC_PER_SEC * MSEC_PER_SEC, vblank_timer->vrefresh_k);
vblank_timer->period = DIV64_U64_ROUND_CLOSEST(NSEC_PER_SEC * MSEC_PER_SEC, vblank_timer->vrefresh_k);
new_rate = DIV64_U64_ROUND_CLOSEST(mul_u64_u32_shr(pixel_clk, MSEC_PER_SEC, 0), mul_u32_u32(htotal + 1, vtotal + 1));
*val = DIV64_U64_ROUND_CLOSEST(temp * MICRO,
*val = DIV64_U64_ROUND_CLOSEST(temp_2,
*val = DIV64_U64_ROUND_CLOSEST(temp * MICRO,
*val = DIV64_U64_ROUND_CLOSEST(temp, U16_MAX * (u64)st->rsense);
power = DIV64_U64_ROUND_CLOSEST(temp,
code = DIV64_U64_ROUND_CLOSEST(temp * val,
code = DIV64_U64_ROUND_CLOSEST(temp_2, temp);
DIV64_U64_ROUND_CLOSEST(dividend, divisor);
raw = DIV64_U64_ROUND_CLOSEST((u64)freq * BIT(16), sample_rate);
timer = DIV64_U64_ROUND_CLOSEST((u64)usec * clk_rate,
*usec = DIV64_U64_ROUND_CLOSEST(timer * XAXIDMA_DELAY_SCALE, clk_rate);
child->weight = DIV64_U64_ROUND_CLOSEST(
p->val = DIV64_U64_ROUND_CLOSEST(tmp, real_state->period);
_sq = _total > 0 ? DIV64_U64_ROUND_CLOSEST(sq, _total) : 0; \
avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0;