/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu7_thermal.c | 320 int low_temp, int high_temp) in smu7_thermal_set_temperature_range() argument 329 if (high > high_temp) in smu7_thermal_set_temperature_range() 330 high = high_temp; in smu7_thermal_set_temperature_range()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | r600_dpm.c | 741 int high_temp = 255 * 1000; in r600_set_thermal_temperature_range() local 745 if (high_temp > max_temp) in r600_set_thermal_temperature_range() 746 high_temp = max_temp; in r600_set_thermal_temperature_range() 747 if (high_temp < low_temp) { in r600_set_thermal_temperature_range() 748 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in r600_set_thermal_temperature_range() 752 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in r600_set_thermal_temperature_range() 754 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in r600_set_thermal_temperature_range() 757 rdev->pm.dpm.thermal.max_temp = high_temp; in r600_set_thermal_temperature_range()
|
H A D | trinity_dpm.c | 999 int high_temp = 255 * 1000; in trinity_set_thermal_temperature_range() local 1003 if (high_temp > max_temp) in trinity_set_thermal_temperature_range() 1004 high_temp = max_temp; in trinity_set_thermal_temperature_range() 1005 if (high_temp < low_temp) { in trinity_set_thermal_temperature_range() 1006 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in trinity_set_thermal_temperature_range() 1010 WREG32_P(CG_THERMAL_INT_CTRL, DIG_THERM_INTH(49 + (high_temp / 1000)), ~DIG_THERM_INTH_MASK); in trinity_set_thermal_temperature_range() 1014 rdev->pm.dpm.thermal.max_temp = high_temp; in trinity_set_thermal_temperature_range()
|
H A D | sumo_dpm.c | 1158 int high_temp = 255 * 1000; in sumo_set_thermal_temperature_range() local 1162 if (high_temp > max_temp) in sumo_set_thermal_temperature_range() 1163 high_temp = max_temp; in sumo_set_thermal_temperature_range() 1164 if (high_temp < low_temp) { in sumo_set_thermal_temperature_range() 1165 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in sumo_set_thermal_temperature_range() 1169 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(49 + (high_temp / 1000)), ~DIG_THERM_INTH_MASK); in sumo_set_thermal_temperature_range() 1173 rdev->pm.dpm.thermal.max_temp = high_temp; in sumo_set_thermal_temperature_range()
|
H A D | rv770_dpm.c | 1874 int high_temp = 255 * 1000; in rv770_set_thermal_temperature_range() local 1878 if (high_temp > max_temp) in rv770_set_thermal_temperature_range() 1879 high_temp = max_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() 1885 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in rv770_set_thermal_temperature_range() 1887 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in rv770_set_thermal_temperature_range() 1890 rdev->pm.dpm.thermal.max_temp = high_temp; in rv770_set_thermal_temperature_range()
|
H A D | kv_dpm.c | 2252 int high_temp = 255 * 1000; in kv_set_thermal_temperature_range() local 2257 if (high_temp > max_temp) in kv_set_thermal_temperature_range() 2258 high_temp = max_temp; in kv_set_thermal_temperature_range() 2259 if (high_temp < low_temp) { in kv_set_thermal_temperature_range() 2260 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in kv_set_thermal_temperature_range() 2266 tmp |= (DIG_THERM_INTH(49 + (high_temp / 1000)) | in kv_set_thermal_temperature_range() 2271 rdev->pm.dpm.thermal.max_temp = high_temp; in kv_set_thermal_temperature_range()
|
H A D | si_dpm.c | 5923 int high_temp = 255 * 1000; in si_thermal_set_temperature_range() local 5927 if (high_temp > max_temp) in si_thermal_set_temperature_range() 5928 high_temp = max_temp; in si_thermal_set_temperature_range() 5929 if (high_temp < low_temp) { in si_thermal_set_temperature_range() 5930 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in si_thermal_set_temperature_range() 5934 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in si_thermal_set_temperature_range() 5936 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in si_thermal_set_temperature_range() 5939 rdev->pm.dpm.thermal.max_temp = high_temp; in si_thermal_set_temperature_range()
|
H A D | ci_dpm.c | 844 int high_temp = 255 * 1000; in ci_thermal_set_temperature_range() local 849 if (high_temp > max_temp) in ci_thermal_set_temperature_range() 850 high_temp = max_temp; in ci_thermal_set_temperature_range() 851 if (high_temp < low_temp) { in ci_thermal_set_temperature_range() 852 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in ci_thermal_set_temperature_range() 858 tmp |= CI_DIG_THERM_INTH(high_temp / 1000) | in ci_thermal_set_temperature_range() 866 tmp |= DIG_THERM_DPM(high_temp / 1000); in ci_thermal_set_temperature_range() 871 rdev->pm.dpm.thermal.max_temp = high_temp; in ci_thermal_set_temperature_range()
|
/linux/drivers/net/wireless/intel/iwlwifi/cfg/ |
H A D | 7000.c | 137 .high_temp = true,
|
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | kv_dpm.c | 2516 int high_temp = 255 * 1000; in kv_set_thermal_temperature_range() local 2521 if (high_temp > max_temp) in kv_set_thermal_temperature_range() 2522 high_temp = max_temp; in kv_set_thermal_temperature_range() 2523 if (high_temp < low_temp) { in kv_set_thermal_temperature_range() 2524 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in kv_set_thermal_temperature_range() 2531 tmp |= ((49 + (high_temp / 1000)) << CG_THERMAL_INT_CTRL__DIG_THERM_INTH__SHIFT) | in kv_set_thermal_temperature_range() 2536 adev->pm.dpm.thermal.max_temp = high_temp; in kv_set_thermal_temperature_range()
|
H A D | si_dpm.c | 6437 int high_temp = 255 * 1000; in si_thermal_set_temperature_range() local 6441 if (high_temp > max_temp) in si_thermal_set_temperature_range() 6442 high_temp = max_temp; in si_thermal_set_temperature_range() 6443 if (high_temp < low_temp) { in si_thermal_set_temperature_range() 6444 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in si_thermal_set_temperature_range() 6448 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in si_thermal_set_temperature_range() 6450 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in si_thermal_set_temperature_range() 6453 adev->pm.dpm.thermal.max_temp = high_temp; in si_thermal_set_temperature_range()
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-config.h | 385 high_temp:1, member
|