Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/
A Di915_hwmon.c383 if (!(r & PKG_PWR_LIM_1_EN)) { in hwm_power_max_read()
443 PKG_PWR_LIM_1_EN, 0); in hwm_power_max_write()
446 if (nval & PKG_PWR_LIM_1_EN) in hwm_power_max_write()
453 nval = PKG_PWR_LIM_1_EN | REG_FIELD_PREP(PKG_PWR_LIM_1, nval); in hwm_power_max_write()
456 PKG_PWR_LIM_1_EN | PKG_PWR_LIM_1, nval); in hwm_power_max_write()
522 PKG_PWR_LIM_1_EN, 0); in i915_hwmon_power_max_disable()
523 *old = !!(r & PKG_PWR_LIM_1_EN); in i915_hwmon_power_max_disable()
538 PKG_PWR_LIM_1_EN, old ? PKG_PWR_LIM_1_EN : 0); in i915_hwmon_power_max_restore()
A Dintel_mchbar_regs.h220 #define PKG_PWR_LIM_1_EN REG_BIT(15) macro
/linux/drivers/gpu/drm/xe/regs/
A Dxe_mchbar_regs.h39 #define PKG_PWR_LIM_1_EN REG_BIT(15) macro
/linux/drivers/gpu/drm/xe/
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()

Completed in 15 milliseconds