Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/
H A Di915_hwmon.c175 u64 tau4, out; in hwm_power1_max_interval_show() local
190 tau4 = (u64)((1 << x_w) | x) << y; in hwm_power1_max_interval_show()
192 out = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in hwm_power1_max_interval_show()
205 u64 tau4, r, max_win; in hwm_power1_max_interval_store() local
226 tau4 = (u64)((1 << x_w) | x) << y; in hwm_power1_max_interval_store()
227 max_win = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in hwm_power1_max_interval_store()
/linux/drivers/gpu/drm/xe/
H A Dxe_hwmon.c541 u64 tau4, out; in xe_hwmon_power_max_interval_show() local
579 tau4 = (u64)((1 << x_w) | x) << y; in xe_hwmon_power_max_interval_show()
582 out = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in xe_hwmon_power_max_interval_show()
594 u64 tau4, r, max_win; in xe_hwmon_power_max_interval_store() local
622 tau4 = (u64)((1 << x_w) | x) << y; in xe_hwmon_power_max_interval_store()
623 max_win = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in xe_hwmon_power_max_interval_store()