Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/gpu/drm/radeon/
Dci_dpm.c911 tmp = (RREG32_SMC(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; in ci_fan_ctrl_set_static_mode()
913 tmp = (RREG32_SMC(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; in ci_fan_ctrl_set_static_mode()
918 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~TMIN_MASK; in ci_fan_ctrl_set_static_mode()
920 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_static_mode()
922 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in ci_fan_ctrl_set_static_mode()
924 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_static_mode()
1127 tmp = RREG32_SMC(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; in ci_fan_ctrl_get_mode()
1189 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in ci_fan_ctrl_set_default_mode()
1191 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_default_mode()
1193 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~TMIN_MASK; in ci_fan_ctrl_set_default_mode()
[all …]
Dsi_dpm.c5950 tmp = (RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; in si_fan_ctrl_set_static_mode()
5952 tmp = (RREG32(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; in si_fan_ctrl_set_static_mode()
5957 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_static_mode()
5959 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
5961 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_static_mode()
5963 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6154 tmp = RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; in si_fan_ctrl_get_mode()
6216 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_default_mode()
6218 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_default_mode()
6220 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.12.1/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c6464 tmp = (RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; in si_fan_ctrl_set_static_mode()
6466 tmp = (RREG32(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; in si_fan_ctrl_set_static_mode()
6471 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_static_mode()
6473 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6475 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_static_mode()
6477 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6673 tmp = RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; in si_dpm_get_fan_control_mode()
6737 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_default_mode()
6739 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_default_mode()
6741 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_default_mode()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1158 CG_FDO_CTRL2, TMIN, 0)); in smu_v11_0_set_fan_static_mode()
1161 CG_FDO_CTRL2, FDO_PWM_MODE, mode)); in smu_v11_0_set_fan_static_mode()
Darcturus_ppt.c1181 CG_FDO_CTRL2, TMIN, 0)); in arcturus_set_fan_static_mode()
1184 CG_FDO_CTRL2, FDO_PWM_MODE, mode)); in arcturus_set_fan_static_mode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c1159 CG_FDO_CTRL2, TMIN, 0)); in smu_v13_0_set_fan_static_mode()
1162 CG_FDO_CTRL2, FDO_PWM_MODE, mode)); in smu_v13_0_set_fan_static_mode()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dsid.h218 #define CG_FDO_CTRL2 0x1d7 macro