Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/
H A Di915_hwmon.c174 u32 r, x, y, x_w = 2; /* 2 bits */ 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()
204 u32 x, y, rxy, x_w = 2; /* 2 bits */ 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()
242 x = (val - (1ul << y)) << x_w >> y; in hwm_power1_max_interval_store()
/linux/drivers/gpu/drm/xe/
H A Dxe_hwmon.c540 u32 reg_val, x, y, x_w = 2; /* 2 bits */ 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()
593 u32 x, y, rxy, x_w = 2; /* 2 bits */ 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()
641 x = (val - (1ul << y)) << x_w >> y; in xe_hwmon_power_max_interval_store()