/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 327 if (high > high_temp) in smu7_thermal_set_temperature_range() 328 high = high_temp; in smu7_thermal_set_temperature_range()
|
/drivers/gpu/drm/radeon/ |
D | r600_dpm.c | 744 int high_temp = 255 * 1000; in r600_set_thermal_temperature_range() local 748 if (high_temp > max_temp) in r600_set_thermal_temperature_range() 749 high_temp = max_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() 755 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in r600_set_thermal_temperature_range() 757 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in r600_set_thermal_temperature_range() 760 rdev->pm.dpm.thermal.max_temp = high_temp; in r600_set_thermal_temperature_range()
|
D | trinity_dpm.c | 1046 int high_temp = 255 * 1000; in trinity_set_thermal_temperature_range() local 1050 if (high_temp > max_temp) in trinity_set_thermal_temperature_range() 1051 high_temp = max_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() 1057 WREG32_P(CG_THERMAL_INT_CTRL, DIG_THERM_INTH(49 + (high_temp / 1000)), ~DIG_THERM_INTH_MASK); in trinity_set_thermal_temperature_range() 1061 rdev->pm.dpm.thermal.max_temp = high_temp; in trinity_set_thermal_temperature_range()
|
D | sumo_dpm.c | 1161 int high_temp = 255 * 1000; in sumo_set_thermal_temperature_range() local 1165 if (high_temp > max_temp) in sumo_set_thermal_temperature_range() 1166 high_temp = max_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() 1172 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(49 + (high_temp / 1000)), ~DIG_THERM_INTH_MASK); in sumo_set_thermal_temperature_range() 1176 rdev->pm.dpm.thermal.max_temp = high_temp; in sumo_set_thermal_temperature_range()
|
D | rv770_dpm.c | 1873 int high_temp = 255 * 1000; in rv770_set_thermal_temperature_range() local 1877 if (high_temp > max_temp) in rv770_set_thermal_temperature_range() 1878 high_temp = max_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() 1884 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in rv770_set_thermal_temperature_range() 1886 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in rv770_set_thermal_temperature_range() 1889 rdev->pm.dpm.thermal.max_temp = high_temp; in rv770_set_thermal_temperature_range()
|
D | kv_dpm.c | 2455 int high_temp = 255 * 1000; in kv_set_thermal_temperature_range() local 2460 if (high_temp > max_temp) in kv_set_thermal_temperature_range() 2461 high_temp = max_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() 2469 tmp |= (DIG_THERM_INTH(49 + (high_temp / 1000)) | in kv_set_thermal_temperature_range() 2474 rdev->pm.dpm.thermal.max_temp = high_temp; in kv_set_thermal_temperature_range()
|
D | ci_dpm.c | 871 int high_temp = 255 * 1000; in ci_thermal_set_temperature_range() local 876 if (high_temp > max_temp) in ci_thermal_set_temperature_range() 877 high_temp = max_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() 885 tmp |= CI_DIG_THERM_INTH(high_temp / 1000) | in ci_thermal_set_temperature_range() 893 tmp |= DIG_THERM_DPM(high_temp / 1000); in ci_thermal_set_temperature_range() 898 rdev->pm.dpm.thermal.max_temp = high_temp; in ci_thermal_set_temperature_range()
|
D | si_dpm.c | 5983 int high_temp = 255 * 1000; in si_thermal_set_temperature_range() local 5987 if (high_temp > max_temp) in si_thermal_set_temperature_range() 5988 high_temp = max_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() 5994 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in si_thermal_set_temperature_range() 5996 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in si_thermal_set_temperature_range() 5999 rdev->pm.dpm.thermal.max_temp = high_temp; in si_thermal_set_temperature_range()
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-config.h | 374 high_temp:1, member
|
/drivers/net/wireless/intel/iwlwifi/cfg/ |
D | 7000.c | 211 .high_temp = true,
|
/drivers/gpu/drm/amd/amdgpu/ |
D | kv_dpm.c | 2510 int high_temp = 255 * 1000; in kv_set_thermal_temperature_range() local 2515 if (high_temp > max_temp) in kv_set_thermal_temperature_range() 2516 high_temp = max_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() 2525 tmp |= ((49 + (high_temp / 1000)) << CG_THERMAL_INT_CTRL__DIG_THERM_INTH__SHIFT) | in kv_set_thermal_temperature_range() 2530 adev->pm.dpm.thermal.max_temp = high_temp; in kv_set_thermal_temperature_range()
|
D | si_dpm.c | 6421 int high_temp = 255 * 1000; in si_thermal_set_temperature_range() local 6425 if (high_temp > max_temp) in si_thermal_set_temperature_range() 6426 high_temp = max_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() 6432 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in si_thermal_set_temperature_range() 6434 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in si_thermal_set_temperature_range() 6437 adev->pm.dpm.thermal.max_temp = high_temp; in si_thermal_set_temperature_range()
|
D | ci_dpm.c | 1007 int high_temp = 255 * 1000; in ci_thermal_set_temperature_range() local 1012 if (high_temp > max_temp) in ci_thermal_set_temperature_range() 1013 high_temp = max_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() 1021 tmp |= ((high_temp / 1000) << CG_THERMAL_INT__DIG_THERM_INTH__SHIFT) | in ci_thermal_set_temperature_range() 1029 tmp |= DIG_THERM_DPM(high_temp / 1000); in ci_thermal_set_temperature_range() 1034 adev->pm.dpm.thermal.max_temp = high_temp; in ci_thermal_set_temperature_range()
|