Searched refs:high_temp (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_thermal.c316 * @high_temp: Temperature to be programmed for low alert signals
320 int low_temp, int high_temp)
329 if (high > high_temp)
330 high = high_temp;
319 smu7_thermal_set_temperature_range(struct pp_hwmgr *hwmgr, int low_temp, int high_temp) argument
/linux-master/drivers/gpu/drm/radeon/
H A Dr600_dpm.c741 int high_temp = 255 * 1000; local
745 if (high_temp > max_temp)
746 high_temp = max_temp;
747 if (high_temp < low_temp) {
748 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp);
752 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK);
754 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK);
757 rdev->pm.dpm.thermal.max_temp = high_temp;
H A Drv770_dpm.c1874 int high_temp = 255 * 1000; local
1878 if (high_temp > max_temp)
1879 high_temp = max_temp;
1880 if (high_temp < low_temp) {
1881 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp);
1885 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK);
1887 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK);
1890 rdev->pm.dpm.thermal.max_temp = high_temp;
H A Dtrinity_dpm.c999 int high_temp = 255 * 1000; local
1003 if (high_temp > max_temp)
1004 high_temp = max_temp;
1005 if (high_temp < low_temp) {
1006 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp);
1010 WREG32_P(CG_THERMAL_INT_CTRL, DIG_THERM_INTH(49 + (high_temp / 1000)), ~DIG_THERM_INTH_MASK);
1014 rdev->pm.dpm.thermal.max_temp = high_temp;
H A Dsumo_dpm.c1158 int high_temp = 255 * 1000; local
1162 if (high_temp > max_temp)
1163 high_temp = max_temp;
1164 if (high_temp < low_temp) {
1165 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp);
1169 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(49 + (high_temp / 1000)), ~DIG_THERM_INTH_MASK);
1173 rdev->pm.dpm.thermal.max_temp = high_temp;
H A Dkv_dpm.c2252 int high_temp = 255 * 1000; local
2257 if (high_temp > max_temp)
2258 high_temp = max_temp;
2259 if (high_temp < low_temp) {
2260 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp);
2266 tmp |= (DIG_THERM_INTH(49 + (high_temp / 1000)) |
2271 rdev->pm.dpm.thermal.max_temp = high_temp;
H A Dci_dpm.c844 int high_temp = 255 * 1000; local
849 if (high_temp > max_temp)
850 high_temp = max_temp;
851 if (high_temp < low_temp) {
852 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp);
858 tmp |= CI_DIG_THERM_INTH(high_temp / 1000) |
866 tmp |= DIG_THERM_DPM(high_temp / 1000);
871 rdev->pm.dpm.thermal.max_temp = high_temp;
H A Dsi_dpm.c5923 int high_temp = 255 * 1000; local
5927 if (high_temp > max_temp)
5928 high_temp = max_temp;
5929 if (high_temp < low_temp) {
5930 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp);
5934 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK);
5936 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK);
5939 rdev->pm.dpm.thermal.max_temp = high_temp;
/linux-master/drivers/net/wireless/intel/iwlwifi/cfg/
H A D7000.c137 .high_temp = true,
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-config.h324 * @high_temp: Is this NIC is designated to be in high temperature.
383 high_temp:1, member in struct:iwl_cfg
/linux-master/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.c2514 int high_temp = 255 * 1000; local
2519 if (high_temp > max_temp)
2520 high_temp = max_temp;
2521 if (high_temp < low_temp) {
2522 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp);
2529 tmp |= ((49 + (high_temp / 1000)) << CG_THERMAL_INT_CTRL__DIG_THERM_INTH__SHIFT) |
2534 adev->pm.dpm.thermal.max_temp = high_temp;
H A Dsi_dpm.c6441 int high_temp = 255 * 1000; local
6445 if (high_temp > max_temp)
6446 high_temp = max_temp;
6447 if (high_temp < low_temp) {
6448 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp);
6452 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK);
6454 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK);
6457 adev->pm.dpm.thermal.max_temp = high_temp;

Completed in 284 milliseconds