Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/
H A Di915_hwmon.c417 if (!(r & PKG_PWR_LIM_1_EN)) { in hwm_power_max_read()
477 PKG_PWR_LIM_1_EN, 0); in hwm_power_max_write()
480 if (nval & PKG_PWR_LIM_1_EN) in hwm_power_max_write()
487 nval = PKG_PWR_LIM_1_EN | REG_FIELD_PREP(PKG_PWR_LIM_1, nval); in hwm_power_max_write()
490 PKG_PWR_LIM_1_EN | PKG_PWR_LIM_1, nval); in hwm_power_max_write()
556 PKG_PWR_LIM_1_EN, 0); in i915_hwmon_power_max_disable()
557 *old = !!(r & PKG_PWR_LIM_1_EN); in i915_hwmon_power_max_disable()
572 PKG_PWR_LIM_1_EN, old ? PKG_PWR_LIM_1_EN : 0); in i915_hwmon_power_max_restore()
/linux/drivers/gpu/drm/xe/
H A Dxe_hwmon.c171 if (!(reg_val & PKG_PWR_LIM_1_EN)) { in xe_hwmon_power_max_read()
204 reg_val = xe_mmio_rmw32(mmio, rapl_limit, PKG_PWR_LIM_1_EN, 0); in xe_hwmon_power_max_write()
206 if (reg_val & PKG_PWR_LIM_1_EN) { in xe_hwmon_power_max_write()
215 reg_val = PKG_PWR_LIM_1_EN | REG_FIELD_PREP(PKG_PWR_LIM_1, reg_val); in xe_hwmon_power_max_write()
216 reg_val = xe_mmio_rmw32(mmio, rapl_limit, PKG_PWR_LIM_1_EN | PKG_PWR_LIM_1, reg_val); in xe_hwmon_power_max_write()
/linux/drivers/gpu/drm/xe/regs/
H A Dxe_mchbar_regs.h39 #define PKG_PWR_LIM_1_EN REG_BIT(15) macro