/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 329 if (high > high_temp) in smu7_thermal_set_temperature_range() 330 high = high_temp; in smu7_thermal_set_temperature_range()
|
/drivers/gpu/drm/radeon/ |
D | r600_dpm.c | 743 int high_temp = 255 * 1000; in r600_set_thermal_temperature_range() local 747 if (high_temp > max_temp) in r600_set_thermal_temperature_range() 748 high_temp = max_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() 754 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in r600_set_thermal_temperature_range() 756 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in r600_set_thermal_temperature_range() 759 rdev->pm.dpm.thermal.max_temp = high_temp; in r600_set_thermal_temperature_range()
|
D | trinity_dpm.c | 1003 int high_temp = 255 * 1000; in trinity_set_thermal_temperature_range() local 1007 if (high_temp > max_temp) in trinity_set_thermal_temperature_range() 1008 high_temp = max_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() 1014 WREG32_P(CG_THERMAL_INT_CTRL, DIG_THERM_INTH(49 + (high_temp / 1000)), ~DIG_THERM_INTH_MASK); in trinity_set_thermal_temperature_range() 1018 rdev->pm.dpm.thermal.max_temp = high_temp; in trinity_set_thermal_temperature_range()
|
D | sumo_dpm.c | 1160 int high_temp = 255 * 1000; in sumo_set_thermal_temperature_range() local 1164 if (high_temp > max_temp) in sumo_set_thermal_temperature_range() 1165 high_temp = max_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() 1171 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(49 + (high_temp / 1000)), ~DIG_THERM_INTH_MASK); in sumo_set_thermal_temperature_range() 1175 rdev->pm.dpm.thermal.max_temp = high_temp; in sumo_set_thermal_temperature_range()
|
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()
|
D | kv_dpm.c | 2253 int high_temp = 255 * 1000; in kv_set_thermal_temperature_range() local 2258 if (high_temp > max_temp) in kv_set_thermal_temperature_range() 2259 high_temp = max_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() 2267 tmp |= (DIG_THERM_INTH(49 + (high_temp / 1000)) | in kv_set_thermal_temperature_range() 2272 rdev->pm.dpm.thermal.max_temp = high_temp; in kv_set_thermal_temperature_range()
|
D | si_dpm.c | 5967 int high_temp = 255 * 1000; in si_thermal_set_temperature_range() local 5971 if (high_temp > max_temp) in si_thermal_set_temperature_range() 5972 high_temp = max_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() 5978 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in si_thermal_set_temperature_range() 5980 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in si_thermal_set_temperature_range() 5983 rdev->pm.dpm.thermal.max_temp = high_temp; in si_thermal_set_temperature_range()
|
D | ci_dpm.c | 850 int high_temp = 255 * 1000; in ci_thermal_set_temperature_range() local 855 if (high_temp > max_temp) in ci_thermal_set_temperature_range() 856 high_temp = max_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() 864 tmp |= CI_DIG_THERM_INTH(high_temp / 1000) | in ci_thermal_set_temperature_range() 872 tmp |= DIG_THERM_DPM(high_temp / 1000); in ci_thermal_set_temperature_range() 877 rdev->pm.dpm.thermal.max_temp = high_temp; in ci_thermal_set_temperature_range()
|
/drivers/net/wireless/intel/iwlwifi/cfg/ |
D | 7000.c | 137 .high_temp = true,
|
/drivers/gpu/drm/amd/pm/powerplay/ |
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 | 6401 int high_temp = 255 * 1000; in si_thermal_set_temperature_range() local 6405 if (high_temp > max_temp) in si_thermal_set_temperature_range() 6406 high_temp = max_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() 6412 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in si_thermal_set_temperature_range() 6414 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in si_thermal_set_temperature_range() 6417 adev->pm.dpm.thermal.max_temp = high_temp; in si_thermal_set_temperature_range()
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-config.h | 383 high_temp:1, member
|