Home
last modified time | relevance | path

Searched refs:thermal_int (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/radeon/
Dkv_dpm.c1175 u32 thermal_int; in kv_enable_thermal_int() local
1177 thermal_int = RREG32_SMC(CG_THERMAL_INT_CTRL); in kv_enable_thermal_int()
1179 thermal_int |= THERM_INTH_MASK | THERM_INTL_MASK; in kv_enable_thermal_int()
1181 thermal_int &= ~(THERM_INTH_MASK | THERM_INTL_MASK); in kv_enable_thermal_int()
1182 WREG32_SMC(CG_THERMAL_INT_CTRL, thermal_int); in kv_enable_thermal_int()
Dr600.c3772 u32 thermal_int = 0; in r600_irq_set() local
3811 thermal_int = RREG32(CG_THERMAL_INT) & in r600_irq_set()
3814 thermal_int = RREG32(RV770_CG_THERMAL_INT) & in r600_irq_set()
3819 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in r600_irq_set()
3904 WREG32(CG_THERMAL_INT, thermal_int); in r600_irq_set()
3906 WREG32(RV770_CG_THERMAL_INT, thermal_int); in r600_irq_set()
Devergreen.c4498 u32 thermal_int = 0; in evergreen_irq_set() local
4513 thermal_int = RREG32(TN_CG_THERMAL_INT_CTRL) & in evergreen_irq_set()
4516 thermal_int = RREG32(CG_THERMAL_INT) & in evergreen_irq_set()
4558 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in evergreen_irq_set()
4594 WREG32(TN_CG_THERMAL_INT_CTRL, thermal_int); in evergreen_irq_set()
4596 WREG32(CG_THERMAL_INT, thermal_int); in evergreen_irq_set()
Dsi_dpm.c5940 u32 thermal_int = RREG32(CG_THERMAL_INT); in si_thermal_enable_alert() local
5945 thermal_int &= ~(THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW); in si_thermal_enable_alert()
5946 WREG32(CG_THERMAL_INT, thermal_int); in si_thermal_enable_alert()
5954 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in si_thermal_enable_alert()
5955 WREG32(CG_THERMAL_INT, thermal_int); in si_thermal_enable_alert()
Dci_dpm.c894 u32 thermal_int = RREG32_SMC(CG_THERMAL_INT); in ci_thermal_enable_alert() local
898 thermal_int &= ~(THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW); in ci_thermal_enable_alert()
899 WREG32_SMC(CG_THERMAL_INT, thermal_int); in ci_thermal_enable_alert()
907 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in ci_thermal_enable_alert()
908 WREG32_SMC(CG_THERMAL_INT, thermal_int); in ci_thermal_enable_alert()
Dsi.c6057 u32 thermal_int = 0; in si_irq_set() local
6077 thermal_int = RREG32(CG_THERMAL_INT) & in si_irq_set()
6114 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in si_irq_set()
6136 WREG32(CG_THERMAL_INT, thermal_int); in si_irq_set()
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c6377 u32 thermal_int = RREG32(CG_THERMAL_INT); in si_thermal_enable_alert() local
6382 thermal_int &= ~(THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW); in si_thermal_enable_alert()
6383 WREG32(CG_THERMAL_INT, thermal_int); in si_thermal_enable_alert()
6390 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in si_thermal_enable_alert()
6391 WREG32(CG_THERMAL_INT, thermal_int); in si_thermal_enable_alert()