Symbol: DIV_ROUND_CLOSEST_ULL
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
4971
return DIV_ROUND_CLOSEST_ULL(input * AMDGPU_MAX_BL_LEVEL, max - min);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
4977
return min + DIV_ROUND_CLOSEST_ULL(input * (max - min), AMDGPU_MAX_BL_LEVEL);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
5055
return min + DIV_ROUND_CLOSEST_ULL((u64)(max - min) * brightness, max);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
5069
return DIV_ROUND_CLOSEST_ULL((u64)max * (brightness - min),
sys/dev/pci/drm/apple/parser.c
424
return DIV_ROUND_CLOSEST_ULL(clock >> 16, 1000);
sys/dev/pci/drm/display/drm_hdmi_helper.c
257
return DIV_ROUND_CLOSEST_ULL(clock * bpc, 8);
sys/dev/pci/drm/display/drm_hdmi_helper.c
387
unsigned long tmds_clock_khz = DIV_ROUND_CLOSEST_ULL(tmds_char_rate, 1000);
sys/dev/pci/drm/display/drm_hdmi_helper.c
421
cts = DIV_ROUND_CLOSEST_ULL(tmds_char_rate * n,
sys/dev/pci/drm/drm_modes.c
1307
return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(num, 1000), den);
sys/dev/pci/drm/drm_vblank.c
1584
diff = DIV_ROUND_CLOSEST_ULL(diff_ns, framedur_ns);
sys/dev/pci/drm/drm_vblank.c
330
diff = DIV_ROUND_CLOSEST_ULL(diff_ns, framedur_ns);
sys/dev/pci/drm/i915/display/intel_backlight.c
58
target_val = DIV_ROUND_CLOSEST_ULL(target_val, source_max - source_min);
sys/dev/pci/drm/i915/display/intel_color.c
812
return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(val, (1 << 16) - 1),
sys/dev/pci/drm/i915/display/intel_cx0_phy.c
2428
vco = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(ref, (multiplier << (17 - 2)) + frac) >> 17, 10);
sys/dev/pci/drm/i915/display/intel_cx0_phy.c
2754
tmpclk = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, (multiplier << 16) + frac_quot) +
sys/dev/pci/drm/i915/display/intel_dp_mst.c
521
return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(mode->htotal - mode->hdisplay,
sys/dev/pci/drm/i915/display/intel_dpll.c
368
DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, clock->m), clock->n << 22);
sys/dev/pci/drm/i915/display/intel_dpll.c
950
m2 = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(target, clock.p * clock.n) << 22,
sys/dev/pci/drm/i915/display/intel_snps_phy.c
1944
return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, (multiplier << 16) + frac_quot) +
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2031
DIV_ROUND_CLOSEST_ULL(intel_context_get_total_runtime_ns(rq->context),
sys/dev/pci/drm/i915/gt/intel_gt_sysfs_pm.c
178
return DIV_ROUND_CLOSEST_ULL(res, 1000);
sys/dev/pci/drm/i915/gvt/handlers.c
604
clock.vco = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, clock.m), clock.n << 22);
sys/dev/pci/drm/i915/i915_hwmon.c
233
val = DIV_ROUND_CLOSEST_ULL((u64)val << hwmon->scl_shift_time, SF_TIME);
sys/dev/pci/drm/i915/i915_hwmon.c
486
nval = DIV_ROUND_CLOSEST_ULL((u64)val << hwmon->scl_shift_power, SF_POWER);
sys/dev/pci/drm/i915/i915_hwmon.c
537
uval = DIV_ROUND_CLOSEST_ULL(val << POWER_SETUP_I1_SHIFT, SF_POWER);
sys/dev/pci/drm/i915/i915_hwmon.c
652
uval = DIV_ROUND_CLOSEST_ULL(val << POWER_SETUP_I1_SHIFT, SF_CURR);
sys/dev/pci/drm/include/drm/drm_color_mgmt.h
46
return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(user_input, (1 << bit_precision) - 1),