Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_thermal.c320 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 Dr600_dpm.c741 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 Dtrinity_dpm.c999 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 Dsumo_dpm.c1158 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 Drv770_dpm.c1874 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 Dkv_dpm.c2252 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 Dsi_dpm.c5923 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 Dci_dpm.c844 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 D7000.c137 .high_temp = true,
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.c2516 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 Dsi_dpm.c6437 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 Diwl-config.h385 high_temp:1, member