Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
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()
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()
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()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dci_dpm.c916 tmp = (RREG32_SMC(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; in ci_fan_ctrl_set_static_mode()
918 tmp = (RREG32_SMC(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; in ci_fan_ctrl_set_static_mode()
923 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()
[all …]
Dsi_dpm.c5994 tmp = (RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; in si_fan_ctrl_set_static_mode()
5996 tmp = (RREG32(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; in si_fan_ctrl_set_static_mode()
6001 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()
[all …]
Dsid.h217 #define CG_FDO_CTRL2 0x75C macro
Dcikd.h220 #define CG_FDO_CTRL2 0xC030006C macro
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c6468 tmp = (RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; in si_fan_ctrl_set_static_mode()
6470 tmp = (RREG32(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; in si_fan_ctrl_set_static_mode()
6475 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()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu11/
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()
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()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu13/
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()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dsid.h218 #define CG_FDO_CTRL2 0x1d7 macro