OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:high_temp
(Results
1 - 10
of
10
) sorted by relevancy
/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/
amdgpu_smu7_thermal.c
317
int low_temp, int
high_temp
)
326
if (high >
high_temp
)
327
high =
high_temp
;
/src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_r600_dpm.c
748
int
high_temp
= 255 * 1000;
local
752
if (
high_temp
> max_temp)
753
high_temp
= max_temp;
754
if (
high_temp
< low_temp) {
755
DRM_ERROR("invalid thermal range: %d - %d\n", low_temp,
high_temp
);
759
WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(
high_temp
/ 1000), ~DIG_THERM_INTH_MASK);
761
WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(
high_temp
/ 1000), ~DIG_THERM_DPM_MASK);
764
rdev->pm.dpm.thermal.max_temp =
high_temp
;
radeon_rv770_dpm.c
1877
int
high_temp
= 255 * 1000;
local
1881
if (
high_temp
> max_temp)
1882
high_temp
= max_temp;
1883
if (
high_temp
< low_temp) {
1884
DRM_ERROR("invalid thermal range: %d - %d\n", low_temp,
high_temp
);
1888
WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(
high_temp
/ 1000), ~DIG_THERM_INTH_MASK);
1890
WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(
high_temp
/ 1000), ~DIG_THERM_DPM_MASK);
1893
rdev->pm.dpm.thermal.max_temp =
high_temp
;
radeon_sumo_dpm.c
1165
int
high_temp
= 255 * 1000;
local
1169
if (
high_temp
> max_temp)
1170
high_temp
= max_temp;
1171
if (
high_temp
< low_temp) {
1172
DRM_ERROR("invalid thermal range: %d - %d\n", low_temp,
high_temp
);
1176
WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(49 + (
high_temp
/ 1000)), ~DIG_THERM_INTH_MASK);
1180
rdev->pm.dpm.thermal.max_temp =
high_temp
;
radeon_trinity_dpm.c
1052
int
high_temp
= 255 * 1000;
local
1056
if (
high_temp
> max_temp)
1057
high_temp
= max_temp;
1058
if (
high_temp
< low_temp) {
1059
DRM_ERROR("invalid thermal range: %d - %d\n", low_temp,
high_temp
);
1063
WREG32_P(CG_THERMAL_INT_CTRL, DIG_THERM_INTH(49 + (
high_temp
/ 1000)), ~DIG_THERM_INTH_MASK);
1067
rdev->pm.dpm.thermal.max_temp =
high_temp
;
radeon_kv_dpm.c
2463
int
high_temp
= 255 * 1000;
local
2468
if (
high_temp
> max_temp)
2469
high_temp
= max_temp;
2470
if (
high_temp
< low_temp) {
2471
DRM_ERROR("invalid thermal range: %d - %d\n", low_temp,
high_temp
);
2477
tmp |= (DIG_THERM_INTH(49 + (
high_temp
/ 1000)) |
2482
rdev->pm.dpm.thermal.max_temp =
high_temp
;
radeon_ci_dpm.c
878
int
high_temp
= 255 * 1000;
local
883
if (
high_temp
> max_temp)
884
high_temp
= max_temp;
885
if (
high_temp
< low_temp) {
886
DRM_ERROR("invalid thermal range: %d - %d\n", low_temp,
high_temp
);
892
tmp |= CI_DIG_THERM_INTH(
high_temp
/ 1000) |
900
tmp |= DIG_THERM_DPM(
high_temp
/ 1000);
905
rdev->pm.dpm.thermal.max_temp =
high_temp
;
radeon_si_dpm.c
5990
int
high_temp
= 255 * 1000;
local
5994
if (
high_temp
> max_temp)
5995
high_temp
= max_temp;
5996
if (
high_temp
< low_temp) {
5997
DRM_ERROR("invalid thermal range: %d - %d\n", low_temp,
high_temp
);
6001
WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(
high_temp
/ 1000), ~DIG_THERM_INTH_MASK);
6003
WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(
high_temp
/ 1000), ~DIG_THERM_DPM_MASK);
6006
rdev->pm.dpm.thermal.max_temp =
high_temp
;
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_kv_dpm.c
2530
int
high_temp
= 255 * 1000;
local
2535
if (
high_temp
> max_temp)
2536
high_temp
= max_temp;
2537
if (
high_temp
< low_temp) {
2538
DRM_ERROR("invalid thermal range: %d - %d\n", low_temp,
high_temp
);
2545
tmp |= ((49 + (
high_temp
/ 1000)) << CG_THERMAL_INT_CTRL__DIG_THERM_INTH__SHIFT) |
2550
adev->pm.dpm.thermal.max_temp =
high_temp
;
amdgpu_si_dpm.c
6427
int
high_temp
= 255 * 1000;
local
6431
if (
high_temp
> max_temp)
6432
high_temp
= max_temp;
6433
if (
high_temp
< low_temp) {
6434
DRM_ERROR("invalid thermal range: %d - %d\n", low_temp,
high_temp
);
6438
WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(
high_temp
/ 1000), ~DIG_THERM_INTH_MASK);
6440
WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(
high_temp
/ 1000), ~DIG_THERM_DPM_MASK);
6443
adev->pm.dpm.thermal.max_temp =
high_temp
;
Completed in 49 milliseconds
Indexes created Sat Oct 10 00:27:21 UTC 2026