Searched refs:DIV_ROUND_CLOSEST_ULL (Results 1 - 13 of 13) sorted by relevance
/openbsd-current/sys/dev/pci/drm/include/linux/ |
H A D | math.h | 16 #define DIV_ROUND_CLOSEST_ULL(x, y) DIV_ROUND_CLOSEST(x, y) macro
|
/openbsd-current/sys/dev/pci/drm/i915/ |
H A D | i915_hwmon.c | 223 val = DIV_ROUND_CLOSEST_ULL((u64)val << hwmon->scl_shift_time, SF_TIME); 443 nval = DIV_ROUND_CLOSEST_ULL((u64)val << hwmon->scl_shift_power, SF_POWER); 494 uval = DIV_ROUND_CLOSEST_ULL(val << POWER_SETUP_I1_SHIFT, SF_POWER); 609 uval = DIV_ROUND_CLOSEST_ULL(val << POWER_SETUP_I1_SHIFT, SF_CURR);
|
/openbsd-current/sys/dev/pci/drm/ |
H A D | drm_vblank.c | 322 diff = DIV_ROUND_CLOSEST_ULL(diff_ns, framedur_ns); 1560 diff = DIV_ROUND_CLOSEST_ULL(diff_ns, framedur_ns);
|
H A D | drm_modes.c | 1303 return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(num, 1000), den);
|
/openbsd-current/sys/dev/pci/drm/i915/gt/ |
H A D | intel_gt_sysfs_pm.c | 178 return DIV_ROUND_CLOSEST_ULL(res, 1000);
|
H A D | intel_engine_cs.c | 2033 DIV_ROUND_CLOSEST_ULL(intel_context_get_total_runtime_ns(rq->context),
|
/openbsd-current/sys/dev/pci/drm/apple/ |
H A D | parser.c | 424 return DIV_ROUND_CLOSEST_ULL(clock >> 16, 1000);
|
/openbsd-current/sys/dev/pci/drm/i915/display/ |
H A D | intel_dpll.c | 360 clock->vco = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, clock->m), 739 m2 = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(target, clock.p * clock.n) << 22,
|
H A D | intel_snps_phy.c | 1945 return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, (multiplier << 16) + frac_quot) +
|
H A D | intel_cx0_phy.c | 2355 tmpclk = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, (multiplier << 16) + frac_quot) + 2403 vco = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(ref, (multiplier << (17 - 2)) + frac) >> 17, 10);
|
H A D | intel_backlight.c | 52 target_val = DIV_ROUND_CLOSEST_ULL(target_val, source_max - source_min);
|
H A D | intel_dp.c | 373 max_link_rate_kbps = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(max_link_rate_kbps, 9671), 10000); 383 * max_link_rate_kbps = DIV_ROUND_CLOSEST_ULL(max_link_rate_kbps * 8, 10);
|
/openbsd-current/sys/dev/pci/drm/i915/gvt/ |
H A D | handlers.c | 590 clock.vco = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, clock.m), clock.n << 22);
|
Completed in 284 milliseconds