Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_thermal.c113 CG_FDO_CTRL2, FDO_PWM_MODE); in smu7_fan_ctrl_set_static_mode()
116 CG_FDO_CTRL2, TMIN); in smu7_fan_ctrl_set_static_mode()
121 CG_FDO_CTRL2, TMIN, 0); in smu7_fan_ctrl_set_static_mode()
123 CG_FDO_CTRL2, FDO_PWM_MODE, mode); in smu7_fan_ctrl_set_static_mode()
137 CG_FDO_CTRL2, FDO_PWM_MODE, hwmgr->fan_ctrl_default_mode); in smu7_fan_ctrl_set_default_mode()
139 CG_FDO_CTRL2, TMIN, hwmgr->tmin); in smu7_fan_ctrl_set_default_mode()
362 CG_FDO_CTRL2, TACH_PWM_RESP_RATE, 0x28); in smu7_thermal_initialize()
H A Dvega10_thermal.c133 CG_FDO_CTRL2, FDO_PWM_MODE); in vega10_fan_ctrl_set_static_mode()
136 CG_FDO_CTRL2, TMIN); in vega10_fan_ctrl_set_static_mode()
142 CG_FDO_CTRL2, TMIN, 0)); in vega10_fan_ctrl_set_static_mode()
145 CG_FDO_CTRL2, FDO_PWM_MODE, mode)); in vega10_fan_ctrl_set_static_mode()
162 CG_FDO_CTRL2, FDO_PWM_MODE, in vega10_fan_ctrl_set_default_mode()
166 CG_FDO_CTRL2, TMIN, in vega10_fan_ctrl_set_default_mode()
422 CG_FDO_CTRL2, TACH_PWM_RESP_RATE, 0x28)); in vega10_thermal_initialize()
H A Dvega20_thermal.c96 CG_FDO_CTRL2, TMIN, 0)); in vega20_fan_ctrl_set_static_mode()
99 CG_FDO_CTRL2, FDO_PWM_MODE, mode)); in vega20_fan_ctrl_set_static_mode()
/openbsd/sys/dev/pci/drm/radeon/
H A Dsi_dpm.c6001 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_static_mode()
6003 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6005 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_static_mode()
6007 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6198 tmp = RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; in si_fan_ctrl_get_mode()
6260 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_default_mode()
6262 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_default_mode()
6264 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_default_mode()
6266 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_default_mode()
6289 tmp = RREG32(CG_FDO_CTRL2) & ~TACH_PWM_RESP_RATE_MASK; in si_thermal_initialize()
[all …]
H A Dci_dpm.c923 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~TMIN_MASK; in ci_fan_ctrl_set_static_mode()
925 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_static_mode()
927 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in ci_fan_ctrl_set_static_mode()
929 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_static_mode()
1132 tmp = RREG32_SMC(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; in ci_fan_ctrl_get_mode()
1194 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in ci_fan_ctrl_set_default_mode()
1196 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_default_mode()
1198 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~TMIN_MASK; in ci_fan_ctrl_set_default_mode()
1200 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_default_mode()
1223 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~TACH_PWM_RESP_RATE_MASK; in ci_thermal_initialize()
[all …]
H A Dsid.h217 #define CG_FDO_CTRL2 0x75C macro
H A Dcikd.h220 #define CG_FDO_CTRL2 0xC030006C macro
/openbsd/sys/dev/pci/drm/amd/pm/legacy-dpm/
H A Damdgpu_si_dpm.c6475 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_static_mode()
6477 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6479 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_static_mode()
6481 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6677 tmp = RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; in si_dpm_get_fan_control_mode()
6741 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_default_mode()
6743 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_default_mode()
6745 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_default_mode()
6747 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_default_mode()
6770 tmp = RREG32(CG_FDO_CTRL2) & ~TACH_PWM_RESP_RATE_MASK; in si_thermal_initialize()
[all …]
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c1161 CG_FDO_CTRL2, TMIN, 0)); in smu_v11_0_set_fan_static_mode()
1164 CG_FDO_CTRL2, FDO_PWM_MODE, mode)); in smu_v11_0_set_fan_static_mode()
H A Darcturus_ppt.c1188 CG_FDO_CTRL2, TMIN, 0)); in arcturus_set_fan_static_mode()
1191 CG_FDO_CTRL2, FDO_PWM_MODE, mode)); in arcturus_set_fan_static_mode()
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c1158 CG_FDO_CTRL2, TMIN, 0)); in smu_v13_0_set_fan_static_mode()
1161 CG_FDO_CTRL2, FDO_PWM_MODE, mode)); in smu_v13_0_set_fan_static_mode()
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Dsid.h218 #define CG_FDO_CTRL2 0x1d7 macro