/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_r600_dpm.c | 747 int low_temp = 0 * 1000; local in function:r600_set_thermal_temperature_range 750 if (low_temp < min_temp) 751 low_temp = min_temp; 754 if (high_temp < low_temp) { 755 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 760 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); 763 rdev->pm.dpm.thermal.min_temp = low_temp;
|
radeon_kv_dpm.c | 2462 int low_temp = 0 * 1000; local in function:kv_set_thermal_temperature_range 2466 if (low_temp < min_temp) 2467 low_temp = min_temp; 2470 if (high_temp < low_temp) { 2471 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 2478 DIG_THERM_INTL(49 + (low_temp / 1000))); 2481 rdev->pm.dpm.thermal.min_temp = low_temp;
|
radeon_rv770_dpm.c | 1876 int low_temp = 0 * 1000; local in function:rv770_set_thermal_temperature_range 1879 if (low_temp < min_temp) 1880 low_temp = min_temp; 1883 if (high_temp < low_temp) { 1884 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 1889 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); 1892 rdev->pm.dpm.thermal.min_temp = low_temp;
|
radeon_sumo_dpm.c | 1164 int low_temp = 0 * 1000; local in function:sumo_set_thermal_temperature_range 1167 if (low_temp < min_temp) 1168 low_temp = min_temp; 1171 if (high_temp < low_temp) { 1172 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 1177 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(49 + (low_temp / 1000)), ~DIG_THERM_INTL_MASK); 1179 rdev->pm.dpm.thermal.min_temp = low_temp;
|
radeon_trinity_dpm.c | 1051 int low_temp = 0 * 1000; local in function:trinity_set_thermal_temperature_range 1054 if (low_temp < min_temp) 1055 low_temp = min_temp; 1058 if (high_temp < low_temp) { 1059 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 1064 WREG32_P(CG_THERMAL_INT_CTRL, DIG_THERM_INTL(49 + (low_temp / 1000)), ~DIG_THERM_INTL_MASK); 1066 rdev->pm.dpm.thermal.min_temp = low_temp;
|
radeon_ci_dpm.c | 877 int low_temp = 0 * 1000; local in function:ci_thermal_set_temperature_range 881 if (low_temp < min_temp) 882 low_temp = min_temp; 885 if (high_temp < low_temp) { 886 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 893 CI_DIG_THERM_INTL(low_temp / 1000); 904 rdev->pm.dpm.thermal.min_temp = low_temp;
|
radeon_si_dpm.c | 5989 int low_temp = 0 * 1000; local in function:si_thermal_set_temperature_range 5992 if (low_temp < min_temp) 5993 low_temp = min_temp; 5996 if (high_temp < low_temp) { 5997 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 6002 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); 6005 rdev->pm.dpm.thermal.min_temp = low_temp;
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_kv_dpm.c | 2529 int low_temp = 0 * 1000; local in function:kv_set_thermal_temperature_range 2533 if (low_temp < min_temp) 2534 low_temp = min_temp; 2537 if (high_temp < low_temp) { 2538 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 2546 ((49 + (low_temp / 1000)) << CG_THERMAL_INT_CTRL__DIG_THERM_INTL__SHIFT); 2549 adev->pm.dpm.thermal.min_temp = low_temp;
|
amdgpu_si_dpm.c | 6426 int low_temp = 0 * 1000; local in function:si_thermal_set_temperature_range 6429 if (low_temp < min_temp) 6430 low_temp = min_temp; 6433 if (high_temp < low_temp) { 6434 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 6439 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); 6442 adev->pm.dpm.thermal.min_temp = low_temp;
|