Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/xe/
H A Dxe_hwmon.c151 struct xe_reg rapl_limit, pkg_power_sku; in xe_hwmon_power_max_read() local
154 rapl_limit = xe_hwmon_get_reg(hwmon, REG_PKG_RAPL_LIMIT, channel); in xe_hwmon_power_max_read()
169 reg_val = xe_mmio_read32(mmio, rapl_limit); in xe_hwmon_power_max_read()
196 struct xe_reg rapl_limit; in xe_hwmon_power_max_write() local
198 rapl_limit = xe_hwmon_get_reg(hwmon, REG_PKG_RAPL_LIMIT, channel); in xe_hwmon_power_max_write()
204 reg_val = xe_mmio_rmw32(mmio, rapl_limit, PKG_PWR_LIM_1_EN, 0); in xe_hwmon_power_max_write()
205 reg_val = xe_mmio_read32(mmio, rapl_limit); 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()