Searched refs:low_temp (Results 1 – 10 of 10) sorted by relevance
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu7_thermal.c | 320 int low_temp, int high_temp) in smu7_thermal_set_temperature_range() argument 327 if (low < low_temp) in smu7_thermal_set_temperature_range() 328 low = low_temp; in smu7_thermal_set_temperature_range()
|
/drivers/gpu/drm/radeon/ |
D | r600_dpm.c | 742 int low_temp = 0 * 1000; in r600_set_thermal_temperature_range() local 745 if (low_temp < min_temp) in r600_set_thermal_temperature_range() 746 low_temp = min_temp; in r600_set_thermal_temperature_range() 749 if (high_temp < low_temp) { in r600_set_thermal_temperature_range() 750 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in r600_set_thermal_temperature_range() 755 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); in r600_set_thermal_temperature_range() 758 rdev->pm.dpm.thermal.min_temp = low_temp; in r600_set_thermal_temperature_range()
|
D | trinity_dpm.c | 1002 int low_temp = 0 * 1000; in trinity_set_thermal_temperature_range() local 1005 if (low_temp < min_temp) in trinity_set_thermal_temperature_range() 1006 low_temp = min_temp; in trinity_set_thermal_temperature_range() 1009 if (high_temp < low_temp) { in trinity_set_thermal_temperature_range() 1010 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in trinity_set_thermal_temperature_range() 1015 WREG32_P(CG_THERMAL_INT_CTRL, DIG_THERM_INTL(49 + (low_temp / 1000)), ~DIG_THERM_INTL_MASK); in trinity_set_thermal_temperature_range() 1017 rdev->pm.dpm.thermal.min_temp = low_temp; in trinity_set_thermal_temperature_range()
|
D | sumo_dpm.c | 1159 int low_temp = 0 * 1000; in sumo_set_thermal_temperature_range() local 1162 if (low_temp < min_temp) in sumo_set_thermal_temperature_range() 1163 low_temp = min_temp; in sumo_set_thermal_temperature_range() 1166 if (high_temp < low_temp) { in sumo_set_thermal_temperature_range() 1167 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in sumo_set_thermal_temperature_range() 1172 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(49 + (low_temp / 1000)), ~DIG_THERM_INTL_MASK); in sumo_set_thermal_temperature_range() 1174 rdev->pm.dpm.thermal.min_temp = low_temp; in sumo_set_thermal_temperature_range()
|
D | kv_dpm.c | 2252 int low_temp = 0 * 1000; in kv_set_thermal_temperature_range() local 2256 if (low_temp < min_temp) in kv_set_thermal_temperature_range() 2257 low_temp = min_temp; in kv_set_thermal_temperature_range() 2260 if (high_temp < low_temp) { in kv_set_thermal_temperature_range() 2261 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in kv_set_thermal_temperature_range() 2268 DIG_THERM_INTL(49 + (low_temp / 1000))); in kv_set_thermal_temperature_range() 2271 rdev->pm.dpm.thermal.min_temp = low_temp; in kv_set_thermal_temperature_range()
|
D | rv770_dpm.c | 1873 int low_temp = 0 * 1000; in rv770_set_thermal_temperature_range() local 1876 if (low_temp < min_temp) in rv770_set_thermal_temperature_range() 1877 low_temp = min_temp; in rv770_set_thermal_temperature_range() 1880 if (high_temp < low_temp) { in rv770_set_thermal_temperature_range() 1881 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in rv770_set_thermal_temperature_range() 1886 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); in rv770_set_thermal_temperature_range() 1889 rdev->pm.dpm.thermal.min_temp = low_temp; in rv770_set_thermal_temperature_range()
|
D | ci_dpm.c | 849 int low_temp = 0 * 1000; in ci_thermal_set_temperature_range() local 853 if (low_temp < min_temp) in ci_thermal_set_temperature_range() 854 low_temp = min_temp; in ci_thermal_set_temperature_range() 857 if (high_temp < low_temp) { in ci_thermal_set_temperature_range() 858 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in ci_thermal_set_temperature_range() 865 CI_DIG_THERM_INTL(low_temp / 1000); in ci_thermal_set_temperature_range() 876 rdev->pm.dpm.thermal.min_temp = low_temp; in ci_thermal_set_temperature_range()
|
D | si_dpm.c | 5966 int low_temp = 0 * 1000; in si_thermal_set_temperature_range() local 5969 if (low_temp < min_temp) in si_thermal_set_temperature_range() 5970 low_temp = min_temp; in si_thermal_set_temperature_range() 5973 if (high_temp < low_temp) { in si_thermal_set_temperature_range() 5974 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in si_thermal_set_temperature_range() 5979 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); in si_thermal_set_temperature_range() 5982 rdev->pm.dpm.thermal.min_temp = low_temp; in si_thermal_set_temperature_range()
|
/drivers/gpu/drm/amd/pm/powerplay/ |
D | kv_dpm.c | 2509 int low_temp = 0 * 1000; in kv_set_thermal_temperature_range() local 2513 if (low_temp < min_temp) in kv_set_thermal_temperature_range() 2514 low_temp = min_temp; in kv_set_thermal_temperature_range() 2517 if (high_temp < low_temp) { in kv_set_thermal_temperature_range() 2518 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in kv_set_thermal_temperature_range() 2526 ((49 + (low_temp / 1000)) << CG_THERMAL_INT_CTRL__DIG_THERM_INTL__SHIFT); in kv_set_thermal_temperature_range() 2529 adev->pm.dpm.thermal.min_temp = low_temp; in kv_set_thermal_temperature_range()
|
D | si_dpm.c | 6400 int low_temp = 0 * 1000; in si_thermal_set_temperature_range() local 6403 if (low_temp < min_temp) in si_thermal_set_temperature_range() 6404 low_temp = min_temp; in si_thermal_set_temperature_range() 6407 if (high_temp < low_temp) { in si_thermal_set_temperature_range() 6408 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in si_thermal_set_temperature_range() 6413 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); in si_thermal_set_temperature_range() 6416 adev->pm.dpm.thermal.min_temp = low_temp; in si_thermal_set_temperature_range()
|