Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
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()
/drivers/gpu/drm/radeon/
Dr600_dpm.c743 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()
Dtrinity_dpm.c1003 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()
Dsumo_dpm.c1160 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()
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()
Dkv_dpm.c2253 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()
Dsi_dpm.c5967 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()
Dci_dpm.c850 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/
D7000.c137 .high_temp = true,
/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.c2510 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()
Dsi_dpm.c6401 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/
Diwl-config.h383 high_temp:1, member