Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_hwmon.c167 struct xe_reg rapl_limit, pkg_power_sku; in xe_hwmon_power_max_read() local
170 rapl_limit = xe_hwmon_get_reg(hwmon, REG_PKG_RAPL_LIMIT, channel); in xe_hwmon_power_max_read()
185 reg_val = xe_mmio_read32(mmio, rapl_limit); in xe_hwmon_power_max_read()
212 struct xe_reg rapl_limit; in xe_hwmon_power_max_write() local
214 rapl_limit = xe_hwmon_get_reg(hwmon, REG_PKG_RAPL_LIMIT, channel); in xe_hwmon_power_max_write()
220 reg_val = xe_mmio_rmw32(mmio, rapl_limit, PKG_PWR_LIM_1_EN, 0); in xe_hwmon_power_max_write()
221 reg_val = xe_mmio_read32(mmio, rapl_limit); in xe_hwmon_power_max_write()
232 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()