/linux-6.1.9/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()
|
/linux-6.1.9/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 | 849 int high_temp = 255 * 1000; in ci_thermal_set_temperature_range() local 854 if (high_temp > max_temp) in ci_thermal_set_temperature_range() 855 high_temp = max_temp; in ci_thermal_set_temperature_range() 856 if (high_temp < low_temp) { in ci_thermal_set_temperature_range() 857 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in ci_thermal_set_temperature_range() 863 tmp |= CI_DIG_THERM_INTH(high_temp / 1000) | in ci_thermal_set_temperature_range() 871 tmp |= DIG_THERM_DPM(high_temp / 1000); in ci_thermal_set_temperature_range() 876 rdev->pm.dpm.thermal.max_temp = high_temp; in ci_thermal_set_temperature_range()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/cfg/ |
D | 7000.c | 137 .high_temp = true,
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | kv_dpm.c | 2527 int high_temp = 255 * 1000; in kv_set_thermal_temperature_range() local 2532 if (high_temp > max_temp) in kv_set_thermal_temperature_range() 2533 high_temp = max_temp; in kv_set_thermal_temperature_range() 2534 if (high_temp < low_temp) { in kv_set_thermal_temperature_range() 2535 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in kv_set_thermal_temperature_range() 2542 tmp |= ((49 + (high_temp / 1000)) << CG_THERMAL_INT_CTRL__DIG_THERM_INTH__SHIFT) | in kv_set_thermal_temperature_range() 2547 adev->pm.dpm.thermal.max_temp = high_temp; in kv_set_thermal_temperature_range()
|
D | si_dpm.c | 6441 int high_temp = 255 * 1000; in si_thermal_set_temperature_range() local 6445 if (high_temp > max_temp) in si_thermal_set_temperature_range() 6446 high_temp = max_temp; in si_thermal_set_temperature_range() 6447 if (high_temp < low_temp) { in si_thermal_set_temperature_range() 6448 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in si_thermal_set_temperature_range() 6452 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); in si_thermal_set_temperature_range() 6454 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); in si_thermal_set_temperature_range() 6457 adev->pm.dpm.thermal.max_temp = high_temp; in si_thermal_set_temperature_range()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-config.h | 388 high_temp:1, member
|