Home
last modified time | relevance | path

Searched refs:SF_TIME (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/i915/
A Di915_hwmon.c32 #define SF_TIME 1000 macro
192 out = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in hwm_power1_max_interval_show()
227 max_win = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in hwm_power1_max_interval_store()
233 val = DIV_ROUND_CLOSEST_ULL((u64)val << hwmon->scl_shift_time, SF_TIME); in hwm_power1_max_interval_store()
/drivers/gpu/drm/xe/
A Dxe_hwmon.c79 #define SF_TIME 1000 /* milliseconds */ macro
539 out = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in xe_hwmon_power_max_interval_show()
580 max_win = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in xe_hwmon_power_max_interval_store()
586 val = DIV_ROUND_CLOSEST_ULL((u64)val << hwmon->scl_shift_time, SF_TIME) + 1; in xe_hwmon_power_max_interval_store()

Completed in 9 milliseconds