Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/amd/powerplay/hwmgr/
H A Dsmu10_hwmgr.c1073 int cur_temp = in smu10_thermal_get_temperature() local
1076 if (cur_temp & THM_TCON_CUR_TMP__CUR_TEMP_RANGE_SEL_MASK) in smu10_thermal_get_temperature()
1077 cur_temp = ((cur_temp / 8) - 49) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu10_thermal_get_temperature()
1079 cur_temp = (cur_temp / 8) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu10_thermal_get_temperature()
1081 return cur_temp; in smu10_thermal_get_temperature()