Home
last modified time | relevance | path

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

/linux-6.15/fs/bcachefs/
H A Dmean_and_variance.c119 s64 x_w = x << w; in mean_and_variance_weighted_update() local
120 s64 diff_w = x_w - s->mean; in mean_and_variance_weighted_update()
126 s->mean = x_w; in mean_and_variance_weighted_update()
130 s->variance = ((var_w0 << w) - var_w0 + ((diff_w * (x_w - u_w1)) >> w)) >> w; in mean_and_variance_weighted_update()
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_hwmon.c302 u32 x, y, x_w = 2; /* 2 bits */ 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()
343 u32 x, y, rxy, x_w = 2; /* 2 bits */ 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()
390 x = (val - (1ul << y)) << x_w >> y; in xe_hwmon_power_max_interval_store()
/linux-6.15/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()