Searched refs:tau4 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/gpu/drm/xe/ |
H A D | xe_hwmon.c | 287 u64 r, tau4, out; in xe_hwmon_power_max_interval_show() local 313 tau4 = (u64)((1 << x_w) | x) << y; in xe_hwmon_power_max_interval_show() 316 out = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in xe_hwmon_power_max_interval_show() 328 u64 tau4, r, max_win; in xe_hwmon_power_max_interval_store() local 355 tau4 = (u64)((1 << x_w) | x) << y; in xe_hwmon_power_max_interval_store() 356 max_win = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in xe_hwmon_power_max_interval_store()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_hwmon.c | 175 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()
|