Searched refs:scl_shift_time (Results 1 – 2 of 2) sorted by relevance
| /drivers/gpu/drm/i915/ |
| A D | i915_hwmon.c | 74 int scl_shift_time; member 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() 890 hwmon->scl_shift_time = REG_FIELD_GET(PKG_TIME_UNIT, val_sku_unit); in hwm_get_preregistration_info()
|
| /drivers/gpu/drm/xe/ |
| A D | xe_hwmon.c | 129 int scl_shift_time; member 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() 1266 hwmon->scl_shift_time = TIME_UNIT; in xe_hwmon_get_preregistration_info() 1280 hwmon->scl_shift_time = REG_FIELD_GET(PKG_TIME_UNIT, val_sku_unit); in xe_hwmon_get_preregistration_info()
|
Completed in 8 milliseconds