Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/radeon/
Dkv_dpm.c1017 u32 thermal_int; in kv_enable_thermal_int() local
1019 thermal_int = RREG32_SMC(CG_THERMAL_INT_CTRL); in kv_enable_thermal_int()
1021 thermal_int |= THERM_INTH_MASK | THERM_INTL_MASK; in kv_enable_thermal_int()
1023 thermal_int &= ~(THERM_INTH_MASK | THERM_INTL_MASK); in kv_enable_thermal_int()
1024 WREG32_SMC(CG_THERMAL_INT_CTRL, thermal_int); in kv_enable_thermal_int()
Dr600.c3769 u32 thermal_int = 0; in r600_irq_set() local
3808 thermal_int = RREG32(CG_THERMAL_INT) & in r600_irq_set()
3811 thermal_int = RREG32(RV770_CG_THERMAL_INT) & in r600_irq_set()
3816 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in r600_irq_set()
3901 WREG32(CG_THERMAL_INT, thermal_int); in r600_irq_set()
3903 WREG32(RV770_CG_THERMAL_INT, thermal_int); in r600_irq_set()
Devergreen.c4500 u32 thermal_int = 0; in evergreen_irq_set() local
4515 thermal_int = RREG32(TN_CG_THERMAL_INT_CTRL) & in evergreen_irq_set()
4518 thermal_int = RREG32(CG_THERMAL_INT) & in evergreen_irq_set()
4560 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in evergreen_irq_set()
4596 WREG32(TN_CG_THERMAL_INT_CTRL, thermal_int); in evergreen_irq_set()
4598 WREG32(CG_THERMAL_INT, thermal_int); in evergreen_irq_set()
Dci_dpm.c884 u32 thermal_int = RREG32_SMC(CG_THERMAL_INT); in ci_thermal_enable_alert() local
888 thermal_int &= ~(THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW); in ci_thermal_enable_alert()
889 WREG32_SMC(CG_THERMAL_INT, thermal_int); in ci_thermal_enable_alert()
897 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in ci_thermal_enable_alert()
898 WREG32_SMC(CG_THERMAL_INT, thermal_int); in ci_thermal_enable_alert()
Dsi_dpm.c5941 u32 thermal_int = RREG32(CG_THERMAL_INT); in si_thermal_enable_alert() local
5946 thermal_int &= ~(THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW); in si_thermal_enable_alert()
5947 WREG32(CG_THERMAL_INT, thermal_int); in si_thermal_enable_alert()
5955 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in si_thermal_enable_alert()
5956 WREG32(CG_THERMAL_INT, thermal_int); in si_thermal_enable_alert()
Dsi.c6056 u32 thermal_int = 0; in si_irq_set() local
6076 thermal_int = RREG32(CG_THERMAL_INT) & in si_irq_set()
6113 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in si_irq_set()
6135 WREG32(CG_THERMAL_INT, thermal_int); in si_irq_set()
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c6417 u32 thermal_int = RREG32(CG_THERMAL_INT); in si_thermal_enable_alert() local
6422 thermal_int &= ~(THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW); in si_thermal_enable_alert()
6423 WREG32(CG_THERMAL_INT, thermal_int); in si_thermal_enable_alert()
6430 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in si_thermal_enable_alert()
6431 WREG32(CG_THERMAL_INT, thermal_int); in si_thermal_enable_alert()