Searched refs:high_temp (Results 1 - 10 of 10) sorted by relevance
/openbsd-current/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu7_thermal.c | 316 * @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
|
/openbsd-current/sys/dev/pci/drm/radeon/ |
H A D | r600_dpm.c | 743 int high_temp = 255 * 1000; local 747 if (high_temp > max_temp) 748 high_temp = max_temp; 749 if (high_temp < low_temp) { 750 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 754 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); 756 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); 759 rdev->pm.dpm.thermal.max_temp = high_temp;
|
H A D | rv770_dpm.c | 1874 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 D | trinity_dpm.c | 1003 int high_temp = 255 * 1000; local 1007 if (high_temp > max_temp) 1008 high_temp = max_temp; 1009 if (high_temp < low_temp) { 1010 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 1014 WREG32_P(CG_THERMAL_INT_CTRL, DIG_THERM_INTH(49 + (high_temp / 1000)), ~DIG_THERM_INTH_MASK); 1018 rdev->pm.dpm.thermal.max_temp = high_temp;
|
H A D | sumo_dpm.c | 1160 int high_temp = 255 * 1000; local 1164 if (high_temp > max_temp) 1165 high_temp = max_temp; 1166 if (high_temp < low_temp) { 1167 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 1171 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(49 + (high_temp / 1000)), ~DIG_THERM_INTH_MASK); 1175 rdev->pm.dpm.thermal.max_temp = high_temp;
|
H A D | kv_dpm.c | 2253 int high_temp = 255 * 1000; local 2258 if (high_temp > max_temp) 2259 high_temp = max_temp; 2260 if (high_temp < low_temp) { 2261 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 2267 tmp |= (DIG_THERM_INTH(49 + (high_temp / 1000)) | 2272 rdev->pm.dpm.thermal.max_temp = high_temp;
|
H A D | ci_dpm.c | 849 int high_temp = 255 * 1000; local 854 if (high_temp > max_temp) 855 high_temp = max_temp; 856 if (high_temp < low_temp) { 857 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 863 tmp |= CI_DIG_THERM_INTH(high_temp / 1000) | 871 tmp |= DIG_THERM_DPM(high_temp / 1000); 876 rdev->pm.dpm.thermal.max_temp = high_temp;
|
H A D | si_dpm.c | 5967 int high_temp = 255 * 1000; local 5971 if (high_temp > max_temp) 5972 high_temp = max_temp; 5973 if (high_temp < low_temp) { 5974 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 5978 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); 5980 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); 5983 rdev->pm.dpm.thermal.max_temp = high_temp;
|
/openbsd-current/sys/dev/pci/drm/amd/pm/legacy-dpm/ |
H A D | amdgpu_kv_dpm.c | 2514 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 D | amdgpu_si_dpm.c | 6441 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 410 milliseconds