Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_thermal.c116 CG_FDO_CTRL2, FDO_PWM_MODE); in smu7_fan_ctrl_set_static_mode()
119 CG_FDO_CTRL2, TMIN); in smu7_fan_ctrl_set_static_mode()
124 CG_FDO_CTRL2, TMIN, 0); in smu7_fan_ctrl_set_static_mode()
126 CG_FDO_CTRL2, FDO_PWM_MODE, mode); in smu7_fan_ctrl_set_static_mode()
140 CG_FDO_CTRL2, FDO_PWM_MODE, hwmgr->fan_ctrl_default_mode); in smu7_fan_ctrl_set_default_mode()
142 CG_FDO_CTRL2, TMIN, hwmgr->tmin); in smu7_fan_ctrl_set_default_mode()
355 CG_FDO_CTRL2, TACH_PWM_RESP_RATE, 0x28); in smu7_thermal_initialize()
Dvega10_thermal.c134 CG_FDO_CTRL2, FDO_PWM_MODE); in vega10_fan_ctrl_set_static_mode()
137 CG_FDO_CTRL2, TMIN); in vega10_fan_ctrl_set_static_mode()
143 CG_FDO_CTRL2, TMIN, 0)); in vega10_fan_ctrl_set_static_mode()
146 CG_FDO_CTRL2, FDO_PWM_MODE, mode)); in vega10_fan_ctrl_set_static_mode()
163 CG_FDO_CTRL2, FDO_PWM_MODE, in vega10_fan_ctrl_set_default_mode()
167 CG_FDO_CTRL2, TMIN, in vega10_fan_ctrl_set_default_mode()
426 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-v5.10/drivers/gpu/drm/radeon/
Dsi_dpm.c5993 tmp = (RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; in si_fan_ctrl_set_static_mode()
5995 tmp = (RREG32(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; in si_fan_ctrl_set_static_mode()
6000 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_static_mode()
6002 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6004 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_static_mode()
6006 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6197 tmp = RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; in si_fan_ctrl_get_mode()
6259 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_default_mode()
6261 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_default_mode()
6263 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_default_mode()
[all …]
Dci_dpm.c926 tmp = (RREG32_SMC(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; in ci_fan_ctrl_set_static_mode()
928 tmp = (RREG32_SMC(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; in ci_fan_ctrl_set_static_mode()
933 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~TMIN_MASK; in ci_fan_ctrl_set_static_mode()
935 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_static_mode()
937 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in ci_fan_ctrl_set_static_mode()
939 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_static_mode()
1142 tmp = RREG32_SMC(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; in ci_fan_ctrl_get_mode()
1204 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in ci_fan_ctrl_set_default_mode()
1206 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_default_mode()
1208 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~TMIN_MASK; in ci_fan_ctrl_set_default_mode()
[all …]
Dsid.h217 #define CG_FDO_CTRL2 0x75C macro
Dcikd.h220 #define CG_FDO_CTRL2 0xC030006C macro
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c6428 tmp = (RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; in si_fan_ctrl_set_static_mode()
6430 tmp = (RREG32(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; in si_fan_ctrl_set_static_mode()
6435 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_static_mode()
6437 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6439 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_static_mode()
6441 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6629 tmp = RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; in si_dpm_get_fan_control_mode()
6691 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_default_mode()
6693 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_default_mode()
6695 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_default_mode()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1117 CG_FDO_CTRL2, TMIN, 0)); in smu_v11_0_set_fan_static_mode()
1120 CG_FDO_CTRL2, FDO_PWM_MODE, mode)); in smu_v11_0_set_fan_static_mode()
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Dsid.h218 #define CG_FDO_CTRL2 0x1d7 macro