Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/radeon/
H A Drv770.c857 int actual_temp; in rv770_get_temp() local
860 actual_temp = -256; in rv770_get_temp()
862 actual_temp = 255; in rv770_get_temp()
864 actual_temp = temp & 0x1ff; in rv770_get_temp()
865 actual_temp |= ~0x1ff; in rv770_get_temp()
867 actual_temp = temp & 0xff; in rv770_get_temp()
869 return (actual_temp * 1000) / 2; in rv770_get_temp()
H A Devergreen.c1457 int actual_temp = 0; in evergreen_get_temp() local
1470 actual_temp = actual_temp * 1000; in evergreen_get_temp()
1477 actual_temp = -256; in evergreen_get_temp()
1479 actual_temp = 255; in evergreen_get_temp()
1481 actual_temp = temp & 0x1ff; in evergreen_get_temp()
1482 actual_temp |= ~0x1ff; in evergreen_get_temp()
1484 actual_temp = temp & 0xff; in evergreen_get_temp()
1486 actual_temp = (actual_temp * 1000) / 2; in evergreen_get_temp()
1489 return actual_temp; in evergreen_get_temp()
1495 int actual_temp = temp - 49; in sumo_get_temp() local
[all …]
H A Dsi.c1358 int actual_temp = 0; in si_get_temp() local
1364 actual_temp = 255; in si_get_temp()
1366 actual_temp = temp & 0x1ff; in si_get_temp()
1368 actual_temp = (actual_temp * 1000); in si_get_temp()
1370 return actual_temp; in si_get_temp()
H A Dcik.c205 int actual_temp = 0; in ci_get_temp() local
211 actual_temp = 255; in ci_get_temp()
213 actual_temp = temp & 0x1ff; in ci_get_temp()
215 return actual_temp * 1000; in ci_get_temp()
222 int actual_temp = 0; in kv_get_temp() local
227 actual_temp = (temp / 8) - 49; in kv_get_temp()
229 actual_temp = 0; in kv_get_temp()
231 return actual_temp * 1000; in kv_get_temp()
H A Dni.c870 int actual_temp = (temp / 8) - 49; in tn_get_temp() local
872 return actual_temp * 1000; in tn_get_temp()
H A Dr600.c354 int actual_temp = temp & 0xff; in rv6xx_get_temp() local
357 actual_temp -= 256; in rv6xx_get_temp()
359 return actual_temp * 1000; in rv6xx_get_temp()
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dsmu8_hwmgr.c1712 int actual_temp = 0; in smu8_thermal_get_temperature() local
1718 actual_temp = ((temp / 8) - 49) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu8_thermal_get_temperature()
1720 actual_temp = (temp / 8) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu8_thermal_get_temperature()
1722 return actual_temp; in smu8_thermal_get_temperature()
/openbsd/sys/dev/pci/drm/amd/pm/legacy-dpm/
H A Damdgpu_kv_dpm.c2942 int actual_temp = 0; in kv_dpm_get_temp() local
2948 actual_temp = (temp / 8) - 49; in kv_dpm_get_temp()
2950 actual_temp = 0; in kv_dpm_get_temp()
2952 actual_temp = actual_temp * 1000; in kv_dpm_get_temp()
2954 return actual_temp; in kv_dpm_get_temp()
H A Damdgpu_si_dpm.c7877 int actual_temp = 0; in si_dpm_get_temp() local
7884 actual_temp = 255; in si_dpm_get_temp()
7886 actual_temp = temp & 0x1ff; in si_dpm_get_temp()
7888 actual_temp = (actual_temp * 1000); in si_dpm_get_temp()
7890 return actual_temp; in si_dpm_get_temp()