Lines Matching refs:REG_FIELD_GET
176 reg_val = REG_FIELD_GET(PKG_PWR_LIM_1, reg_val); in xe_hwmon_power_max_read()
180 min = REG_FIELD_GET(PKG_MIN_PWR, reg_val); in xe_hwmon_power_max_read()
182 max = REG_FIELD_GET(PKG_MAX_PWR, reg_val); in xe_hwmon_power_max_read()
235 reg_val = REG_FIELD_GET(PKG_TDP, reg_val); in xe_hwmon_power_rated_max_read()
300 x = REG_FIELD_GET(PKG_PWR_LIM_1_TIME_X, r); in xe_hwmon_power_max_interval_show()
301 y = REG_FIELD_GET(PKG_PWR_LIM_1_TIME_Y, r); in xe_hwmon_power_max_interval_show()
353 x = REG_FIELD_GET(PKG_MAX_WIN_X, r); in xe_hwmon_power_max_interval_store()
354 y = REG_FIELD_GET(PKG_MAX_WIN_Y, r); in xe_hwmon_power_max_interval_store()
477 *value = mul_u64_u32_shr(REG_FIELD_GET(POWER_SETUP_I1_DATA_MASK, uval), in xe_hwmon_power_curr_crit_read()
506 *value = DIV_ROUND_CLOSEST(REG_FIELD_GET(VOLTAGE_MASK, reg_val) * 2500, SF_VOLTAGE); in xe_hwmon_get_voltage()
798 hwmon->scl_shift_power = REG_FIELD_GET(PKG_PWR_UNIT, val_sku_unit); in xe_hwmon_get_preregistration_info()
799 hwmon->scl_shift_energy = REG_FIELD_GET(PKG_ENERGY_UNIT, val_sku_unit); in xe_hwmon_get_preregistration_info()
800 hwmon->scl_shift_time = REG_FIELD_GET(PKG_TIME_UNIT, val_sku_unit); in xe_hwmon_get_preregistration_info()