Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_thermal.c300 temp *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu7_thermal_get_temperature()
316 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu7_thermal_set_temperature_range()
318 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu7_thermal_set_temperature_range()
330 (high / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in smu7_thermal_set_temperature_range()
333 (low / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in smu7_thermal_set_temperature_range()
336 (high / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in smu7_thermal_set_temperature_range()
Dvega12_thermal.c158 temp *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_thermal_get_temperature()
181 if (low < range->min / PP_TEMPERATURE_UNITS_PER_CENTIGRADES) in vega12_thermal_set_temperature_range()
182 low = range->min / PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_thermal_set_temperature_range()
Dvega20_thermal.c228 temp *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_thermal_get_temperature()
251 if (low < range->min / PP_TEMPERATURE_UNITS_PER_CENTIGRADES) in vega20_thermal_set_temperature_range()
252 low = range->min / PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_thermal_set_temperature_range()
Dvega10_thermal.c350 temp *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_thermal_get_temperature()
375 if (low < range->min / PP_TEMPERATURE_UNITS_PER_CENTIGRADES) in vega10_thermal_set_temperature_range()
376 low = range->min / PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_thermal_set_temperature_range()
385 range->hotspot_crit_max / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)) { in vega10_thermal_set_temperature_range()
Dvega12_hwmgr.c1492 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_read_sensor()
1501 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_read_sensor()
2751 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_get_thermal_temperature_range()
2753 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_get_thermal_temperature_range()
2755 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_get_thermal_temperature_range()
2757 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_get_thermal_temperature_range()
2759 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_get_thermal_temperature_range()
2761 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega12_get_thermal_temperature_range()
Dvega20_hwmgr.c2244 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_read_sensor()
2253 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_read_sensor()
4228 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_get_thermal_temperature_range()
4230 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_get_thermal_temperature_range()
4232 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_get_thermal_temperature_range()
4234 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_get_thermal_temperature_range()
4236 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_get_thermal_temperature_range()
4238 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_get_thermal_temperature_range()
Dsmu8_hwmgr.c1694 actual_temp = ((temp / 8) - 49) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu8_thermal_get_temperature()
1696 actual_temp = (temp / 8) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu8_thermal_get_temperature()
1852 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu8_get_thermal_temperature_range()
Dsmu10_hwmgr.c1189 cur_temp = ((cur_temp / 8) - 49) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu10_thermal_get_temperature()
1191 cur_temp = (cur_temp / 8) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu10_thermal_get_temperature()
Dvega10_hwmgr.c3925 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_read_sensor()
3931 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_read_sensor()
5067 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_get_thermal_temperature_range()
5069 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_get_thermal_temperature_range()
5071 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_get_thermal_temperature_range()
5073 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_get_thermal_temperature_range()
5075 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_get_thermal_temperature_range()
5077 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega10_get_thermal_temperature_range()
Dprocesspptables.c743 ps->temperatures.min = PP_TEMPERATURE_UNITS_PER_CENTIGRADES * in init_non_clock_fields()
746 ps->temperatures.max = PP_TEMPERATURE_UNITS_PER_CENTIGRADES * in init_non_clock_fields()
Dsmu7_hwmgr.c4980 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu7_get_thermal_temperature_range()
4983 PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu7_get_thermal_temperature_range()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
Dpower_state.h119 #define PP_TEMPERATURE_UNITS_PER_CENTIGRADES 1000 macro
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/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.c729 …ax = (uint8_t)(data->thermal_temp_setting.temperature_high / PP_TEMPERATURE_UNITS_PER_CENTIGRADES); in ci_populate_bapm_parameters_in_dpm_table()
2041 SMU7_Q88_FORMAT_CONVERSION_UNIT) / PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in ci_init_smc_table()
2044 SMU7_Q88_FORMAT_CONVERSION_UNIT) / PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in ci_init_smc_table()