/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | smu7_thermal.c | 318 uint32_t low_temp, uint32_t high_temp) in smu7_thermal_set_temperature_range() argument 325 if (low < low_temp) in smu7_thermal_set_temperature_range() 326 low = low_temp; in smu7_thermal_set_temperature_range()
|
/drivers/gpu/drm/radeon/ |
D | r600_dpm.c | 743 int low_temp = 0 * 1000; in r600_set_thermal_temperature_range() local 746 if (low_temp < min_temp) in r600_set_thermal_temperature_range() 747 low_temp = min_temp; in r600_set_thermal_temperature_range() 750 if (high_temp < low_temp) { in r600_set_thermal_temperature_range() 751 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in r600_set_thermal_temperature_range() 756 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); in r600_set_thermal_temperature_range() 759 rdev->pm.dpm.thermal.min_temp = low_temp; in r600_set_thermal_temperature_range()
|
D | trinity_dpm.c | 1045 int low_temp = 0 * 1000; in trinity_set_thermal_temperature_range() local 1048 if (low_temp < min_temp) in trinity_set_thermal_temperature_range() 1049 low_temp = min_temp; in trinity_set_thermal_temperature_range() 1052 if (high_temp < low_temp) { in trinity_set_thermal_temperature_range() 1053 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in trinity_set_thermal_temperature_range() 1058 WREG32_P(CG_THERMAL_INT_CTRL, DIG_THERM_INTL(49 + (low_temp / 1000)), ~DIG_THERM_INTL_MASK); in trinity_set_thermal_temperature_range() 1060 rdev->pm.dpm.thermal.min_temp = low_temp; in trinity_set_thermal_temperature_range()
|
D | sumo_dpm.c | 1160 int low_temp = 0 * 1000; in sumo_set_thermal_temperature_range() local 1163 if (low_temp < min_temp) in sumo_set_thermal_temperature_range() 1164 low_temp = min_temp; in sumo_set_thermal_temperature_range() 1167 if (high_temp < low_temp) { in sumo_set_thermal_temperature_range() 1168 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in sumo_set_thermal_temperature_range() 1173 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(49 + (low_temp / 1000)), ~DIG_THERM_INTL_MASK); in sumo_set_thermal_temperature_range() 1175 rdev->pm.dpm.thermal.min_temp = low_temp; in sumo_set_thermal_temperature_range()
|
D | rv770_dpm.c | 1872 int low_temp = 0 * 1000; in rv770_set_thermal_temperature_range() local 1875 if (low_temp < min_temp) in rv770_set_thermal_temperature_range() 1876 low_temp = min_temp; in rv770_set_thermal_temperature_range() 1879 if (high_temp < low_temp) { in rv770_set_thermal_temperature_range() 1880 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in rv770_set_thermal_temperature_range() 1885 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); in rv770_set_thermal_temperature_range() 1888 rdev->pm.dpm.thermal.min_temp = low_temp; in rv770_set_thermal_temperature_range()
|
D | kv_dpm.c | 2454 int low_temp = 0 * 1000; in kv_set_thermal_temperature_range() local 2458 if (low_temp < min_temp) in kv_set_thermal_temperature_range() 2459 low_temp = min_temp; in kv_set_thermal_temperature_range() 2462 if (high_temp < low_temp) { in kv_set_thermal_temperature_range() 2463 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in kv_set_thermal_temperature_range() 2470 DIG_THERM_INTL(49 + (low_temp / 1000))); in kv_set_thermal_temperature_range() 2473 rdev->pm.dpm.thermal.min_temp = low_temp; in kv_set_thermal_temperature_range()
|
D | ci_dpm.c | 870 int low_temp = 0 * 1000; in ci_thermal_set_temperature_range() local 874 if (low_temp < min_temp) in ci_thermal_set_temperature_range() 875 low_temp = min_temp; in ci_thermal_set_temperature_range() 878 if (high_temp < low_temp) { in ci_thermal_set_temperature_range() 879 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in ci_thermal_set_temperature_range() 886 CI_DIG_THERM_INTL(low_temp / 1000); in ci_thermal_set_temperature_range() 897 rdev->pm.dpm.thermal.min_temp = low_temp; in ci_thermal_set_temperature_range()
|
D | si_dpm.c | 5982 int low_temp = 0 * 1000; in si_thermal_set_temperature_range() local 5985 if (low_temp < min_temp) in si_thermal_set_temperature_range() 5986 low_temp = min_temp; in si_thermal_set_temperature_range() 5989 if (high_temp < low_temp) { in si_thermal_set_temperature_range() 5990 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in si_thermal_set_temperature_range() 5995 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); in si_thermal_set_temperature_range() 5998 rdev->pm.dpm.thermal.min_temp = low_temp; in si_thermal_set_temperature_range()
|
/drivers/gpu/drm/amd/amdgpu/ |
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 | 6420 int low_temp = 0 * 1000; in si_thermal_set_temperature_range() local 6423 if (low_temp < min_temp) in si_thermal_set_temperature_range() 6424 low_temp = min_temp; in si_thermal_set_temperature_range() 6427 if (high_temp < low_temp) { in si_thermal_set_temperature_range() 6428 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in si_thermal_set_temperature_range() 6433 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); in si_thermal_set_temperature_range() 6436 adev->pm.dpm.thermal.min_temp = low_temp; in si_thermal_set_temperature_range()
|
D | ci_dpm.c | 1006 int low_temp = 0 * 1000; in ci_thermal_set_temperature_range() local 1010 if (low_temp < min_temp) in ci_thermal_set_temperature_range() 1011 low_temp = min_temp; in ci_thermal_set_temperature_range() 1014 if (high_temp < low_temp) { in ci_thermal_set_temperature_range() 1015 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in ci_thermal_set_temperature_range() 1022 ((low_temp / 1000)) << CG_THERMAL_INT__DIG_THERM_INTL__SHIFT; in ci_thermal_set_temperature_range() 1033 adev->pm.dpm.thermal.min_temp = low_temp; in ci_thermal_set_temperature_range()
|