Searched refs:PP_TEMPERATURE_UNITS_PER_CENTIGRADES (Results 1 – 14 of 14) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | vega12_thermal.c | 158 temp *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_thermal_get_temperature() 175 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_thermal_set_temperature_range() 177 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_thermal_set_temperature_range() 192 …ET_FIELD(val, THM_THERMAL_INT_CTRL, DIG_THERM_INTH, (high / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in vega12_thermal_set_temperature_range() 193 …SET_FIELD(val, THM_THERMAL_INT_CTRL, DIG_THERM_INTL, (low / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in vega12_thermal_set_temperature_range()
|
D | smu7_thermal.c | 299 temp *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu7_thermal_get_temperature() 315 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu7_thermal_set_temperature_range() 317 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu7_thermal_set_temperature_range() 329 (high / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in smu7_thermal_set_temperature_range() 332 (low / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in smu7_thermal_set_temperature_range() 335 (high / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in smu7_thermal_set_temperature_range()
|
D | vega20_thermal.c | 228 temp *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_thermal_get_temperature() 245 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_thermal_set_temperature_range() 247 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_thermal_set_temperature_range() 262 …ET_FIELD(val, THM_THERMAL_INT_CTRL, DIG_THERM_INTH, (high / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in vega20_thermal_set_temperature_range() 263 …SET_FIELD(val, THM_THERMAL_INT_CTRL, DIG_THERM_INTL, (low / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in vega20_thermal_set_temperature_range()
|
D | vega10_thermal.c | 351 temp *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_thermal_get_temperature() 369 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_thermal_set_temperature_range() 371 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_thermal_set_temperature_range() 386 …ET_FIELD(val, THM_THERMAL_INT_CTRL, DIG_THERM_INTH, (high / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in vega10_thermal_set_temperature_range() 387 …SET_FIELD(val, THM_THERMAL_INT_CTRL, DIG_THERM_INTL, (low / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in vega10_thermal_set_temperature_range()
|
D | vega12_hwmgr.c | 1380 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_read_sensor() 1389 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_read_sensor() 2588 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_get_thermal_temperature_range() 2590 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_get_thermal_temperature_range() 2592 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_get_thermal_temperature_range() 2594 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_get_thermal_temperature_range() 2596 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_get_thermal_temperature_range() 2598 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_get_thermal_temperature_range()
|
D | vega20_hwmgr.c | 2198 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_read_sensor() 2207 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_read_sensor() 4125 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_get_thermal_temperature_range() 4127 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_get_thermal_temperature_range() 4129 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_get_thermal_temperature_range() 4131 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_get_thermal_temperature_range() 4133 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_get_thermal_temperature_range() 4135 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_get_thermal_temperature_range()
|
D | smu10_hwmgr.c | 1104 cur_temp = ((cur_temp / 8) - 49) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu10_thermal_get_temperature() 1106 cur_temp = (cur_temp / 8) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu10_thermal_get_temperature()
|
D | smu8_hwmgr.c | 1662 actual_temp = ((temp / 8) - 49) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu8_thermal_get_temperature() 1664 actual_temp = (temp / 8) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu8_thermal_get_temperature() 1814 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu8_get_thermal_temperature_range()
|
D | vega10_hwmgr.c | 3805 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_read_sensor() 3811 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_read_sensor() 4887 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_get_thermal_temperature_range() 4889 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_get_thermal_temperature_range() 4891 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_get_thermal_temperature_range() 4893 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_get_thermal_temperature_range() 4895 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_get_thermal_temperature_range() 4897 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_get_thermal_temperature_range()
|
D | processpptables.c | 741 ps->temperatures.min = PP_TEMPERATURE_UNITS_PER_CENTIGRADES * in init_non_clock_fields() 744 ps->temperatures.max = PP_TEMPERATURE_UNITS_PER_CENTIGRADES * in init_non_clock_fields()
|
D | smu7_hwmgr.c | 4800 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu7_get_thermal_temperature_range() 4803 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu7_get_thermal_temperature_range()
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/ |
D | power_state.h | 119 #define PP_TEMPERATURE_UNITS_PER_CENTIGRADES 1000 macro
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | iceland_smumgr.c | 1872 …ax = (uint8_t)(data->thermal_temp_setting.temperature_high / PP_TEMPERATURE_UNITS_PER_CENTIGRADES); in iceland_populate_bapm_parameters_in_dpm_table() 2021 SMU7_Q88_FORMAT_CONVERSION_UNIT) / PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in iceland_init_smc_table() 2024 SMU7_Q88_FORMAT_CONVERSION_UNIT) / PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in iceland_init_smc_table()
|
D | ci_smumgr.c | 728 …ax = (uint8_t)(data->thermal_temp_setting.temperature_high / PP_TEMPERATURE_UNITS_PER_CENTIGRADES); in ci_populate_bapm_parameters_in_dpm_table() 2040 SMU7_Q88_FORMAT_CONVERSION_UNIT) / PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in ci_init_smc_table() 2043 SMU7_Q88_FORMAT_CONVERSION_UNIT) / PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in ci_init_smc_table()
|