Searched refs:tau4 (Results 1 – 2 of 2) sorted by relevance
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_hwmon.c | 303 u64 r, tau4, out; in xe_hwmon_power_max_interval_show() local 329 tau4 = (u64)((1 << x_w) | x) << y; in xe_hwmon_power_max_interval_show() 332 out = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in xe_hwmon_power_max_interval_show() 344 u64 tau4, r, max_win; in xe_hwmon_power_max_interval_store() local 371 tau4 = (u64)((1 << x_w) | x) << y; in xe_hwmon_power_max_interval_store() 372 max_win = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in xe_hwmon_power_max_interval_store()
|
| /linux-6.15/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()
|