Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/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()
353 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()
413 CG_FDO_CTRL2, TACH_PWM_RESP_RATE, 0x28)); in vega10_thermal_initialize()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dsi_dpm.c6009 tmp = (RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; in si_fan_ctrl_set_static_mode()
6011 tmp = (RREG32(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; in si_fan_ctrl_set_static_mode()
6016 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_static_mode()
6018 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6020 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_static_mode()
6022 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6213 tmp = RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; in si_fan_ctrl_get_mode()
6275 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_default_mode()
6277 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_default_mode()
6279 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_default_mode()
[all …]
Dci_dpm.c939 tmp = (RREG32_SMC(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; in ci_fan_ctrl_set_static_mode()
941 tmp = (RREG32_SMC(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; in ci_fan_ctrl_set_static_mode()
946 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~TMIN_MASK; in ci_fan_ctrl_set_static_mode()
948 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_static_mode()
950 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in ci_fan_ctrl_set_static_mode()
952 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_static_mode()
1155 tmp = RREG32_SMC(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; in ci_fan_ctrl_get_mode()
1217 tmp = RREG32_SMC(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in ci_fan_ctrl_set_default_mode()
1219 WREG32_SMC(CG_FDO_CTRL2, tmp); in ci_fan_ctrl_set_default_mode()
1221 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-v4.19/drivers/gpu/drm/amd/amdgpu/
Dsi_dpm.c6446 tmp = (RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; in si_fan_ctrl_set_static_mode()
6448 tmp = (RREG32(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; in si_fan_ctrl_set_static_mode()
6453 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_static_mode()
6455 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6457 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_static_mode()
6459 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_static_mode()
6647 tmp = RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; in si_dpm_get_fan_control_mode()
6709 tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; in si_fan_ctrl_set_default_mode()
6711 WREG32(CG_FDO_CTRL2, tmp); in si_fan_ctrl_set_default_mode()
6713 tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; in si_fan_ctrl_set_default_mode()
[all …]
Dsid.h219 #define CG_FDO_CTRL2 0x1d7 macro