Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega12_thermal.c158 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()
Dsmu7_thermal.c299 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()
Dvega20_thermal.c228 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()
Dvega10_thermal.c351 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()
Dvega12_hwmgr.c1380 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()
Dvega20_hwmgr.c2198 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()
Dsmu10_hwmgr.c1104 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()
Dsmu8_hwmgr.c1662 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()
Dvega10_hwmgr.c3805 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()
Dprocesspptables.c741 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()
Dsmu7_hwmgr.c4800 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/
Dpower_state.h119 #define PP_TEMPERATURE_UNITS_PER_CENTIGRADES 1000 macro
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/
Diceland_smumgr.c1872 …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()
Dci_smumgr.c728 …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()