Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu7_thermal.c317 uint32_t low_temp, uint32_t high_temp) in smu7_thermal_set_temperature_range() argument
326 if (high > high_temp) in smu7_thermal_set_temperature_range()
327 high = high_temp; in smu7_thermal_set_temperature_range()
/drivers/gpu/drm/radeon/
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()
Dtrinity_dpm.c1046 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()
Dsumo_dpm.c1161 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()
Drv770_dpm.c1873 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()
Dkv_dpm.c2455 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()
Dci_dpm.c877 int high_temp = 255 * 1000; in ci_thermal_set_temperature_range() local
882 if (high_temp > max_temp) in ci_thermal_set_temperature_range()
883 high_temp = max_temp; in ci_thermal_set_temperature_range()
884 if (high_temp < low_temp) { in ci_thermal_set_temperature_range()
885 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in ci_thermal_set_temperature_range()
891 tmp |= CI_DIG_THERM_INTH(high_temp / 1000) | in ci_thermal_set_temperature_range()
899 tmp |= DIG_THERM_DPM(high_temp / 1000); in ci_thermal_set_temperature_range()
904 rdev->pm.dpm.thermal.max_temp = high_temp; in ci_thermal_set_temperature_range()
Dsi_dpm.c6039 int high_temp = 255 * 1000; in si_thermal_set_temperature_range() local
6043 if (high_temp > max_temp) in si_thermal_set_temperature_range()
6044 high_temp = max_temp; in si_thermal_set_temperature_range()
6045 if (high_temp < low_temp) { in si_thermal_set_temperature_range()
6046 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in si_thermal_set_temperature_range()
6050 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in si_thermal_set_temperature_range()
6052 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in si_thermal_set_temperature_range()
6055 rdev->pm.dpm.thermal.max_temp = high_temp; in si_thermal_set_temperature_range()
/drivers/net/wireless/intel/iwlwifi/
Diwl-config.h359 high_temp:1, member
Diwl-7000.c211 .high_temp = true,
/drivers/gpu/drm/amd/amdgpu/
Dkv_dpm.c2547 int high_temp = 255 * 1000; in kv_set_thermal_temperature_range() local
2552 if (high_temp > max_temp) in kv_set_thermal_temperature_range()
2553 high_temp = max_temp; in kv_set_thermal_temperature_range()
2554 if (high_temp < low_temp) { in kv_set_thermal_temperature_range()
2555 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in kv_set_thermal_temperature_range()
2562 tmp |= ((49 + (high_temp / 1000)) << CG_THERMAL_INT_CTRL__DIG_THERM_INTH__SHIFT) | in kv_set_thermal_temperature_range()
2567 adev->pm.dpm.thermal.max_temp = high_temp; in kv_set_thermal_temperature_range()
Dci_dpm.c995 int high_temp = 255 * 1000; in ci_thermal_set_temperature_range() local
1000 if (high_temp > max_temp) in ci_thermal_set_temperature_range()
1001 high_temp = max_temp; in ci_thermal_set_temperature_range()
1002 if (high_temp < low_temp) { in ci_thermal_set_temperature_range()
1003 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in ci_thermal_set_temperature_range()
1009 tmp |= ((high_temp / 1000) << CG_THERMAL_INT__DIG_THERM_INTH__SHIFT) | in ci_thermal_set_temperature_range()
1017 tmp |= DIG_THERM_DPM(high_temp / 1000); in ci_thermal_set_temperature_range()
1022 adev->pm.dpm.thermal.max_temp = high_temp; in ci_thermal_set_temperature_range()
Dsi_dpm.c6496 int high_temp = 255 * 1000; in si_thermal_set_temperature_range() local
6500 if (high_temp > max_temp) in si_thermal_set_temperature_range()
6501 high_temp = max_temp; in si_thermal_set_temperature_range()
6502 if (high_temp < low_temp) { in si_thermal_set_temperature_range()
6503 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in si_thermal_set_temperature_range()
6507 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in si_thermal_set_temperature_range()
6509 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in si_thermal_set_temperature_range()
6512 adev->pm.dpm.thermal.max_temp = high_temp; in si_thermal_set_temperature_range()