Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Dkv_dpm.c1174 u32 thermal_int; in kv_enable_thermal_int() local
1176 thermal_int = RREG32_SMC(CG_THERMAL_INT_CTRL); in kv_enable_thermal_int()
1178 thermal_int |= THERM_INTH_MASK | THERM_INTL_MASK; in kv_enable_thermal_int()
1180 thermal_int &= ~(THERM_INTH_MASK | THERM_INTL_MASK); in kv_enable_thermal_int()
1181 WREG32_SMC(CG_THERMAL_INT_CTRL, thermal_int); in kv_enable_thermal_int()
Dr600.c3773 u32 thermal_int = 0; in r600_irq_set() local
3812 thermal_int = RREG32(CG_THERMAL_INT) & in r600_irq_set()
3815 thermal_int = RREG32(RV770_CG_THERMAL_INT) & in r600_irq_set()
3820 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in r600_irq_set()
3905 WREG32(CG_THERMAL_INT, thermal_int); in r600_irq_set()
3907 WREG32(RV770_CG_THERMAL_INT, thermal_int); in r600_irq_set()
Devergreen.c4618 u32 thermal_int = 0; in evergreen_irq_set() local
4639 thermal_int = RREG32(TN_CG_THERMAL_INT_CTRL) & in evergreen_irq_set()
4642 thermal_int = RREG32(CG_THERMAL_INT) & in evergreen_irq_set()
4691 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in evergreen_irq_set()
4822 WREG32(TN_CG_THERMAL_INT_CTRL, thermal_int); in evergreen_irq_set()
4824 WREG32(CG_THERMAL_INT, thermal_int); in evergreen_irq_set()
Dci_dpm.c912 u32 thermal_int = RREG32_SMC(CG_THERMAL_INT); in ci_thermal_enable_alert() local
916 thermal_int &= ~(THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW); in ci_thermal_enable_alert()
917 WREG32_SMC(CG_THERMAL_INT, thermal_int); in ci_thermal_enable_alert()
925 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in ci_thermal_enable_alert()
926 WREG32_SMC(CG_THERMAL_INT, thermal_int); in ci_thermal_enable_alert()
Dsi_dpm.c6013 u32 thermal_int = RREG32(CG_THERMAL_INT); in si_thermal_enable_alert() local
6018 thermal_int &= ~(THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW); in si_thermal_enable_alert()
6019 WREG32(CG_THERMAL_INT, thermal_int); in si_thermal_enable_alert()
6027 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in si_thermal_enable_alert()
6028 WREG32(CG_THERMAL_INT, thermal_int); in si_thermal_enable_alert()
Dsi.c6078 u32 thermal_int = 0; in si_irq_set() local
6107 thermal_int = RREG32(CG_THERMAL_INT) & in si_irq_set()
6198 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in si_irq_set()
6242 WREG32(CG_THERMAL_INT, thermal_int); in si_irq_set()
/drivers/gpu/drm/amd/amdgpu/
Dci_dpm.c1029 u32 thermal_int = RREG32_SMC(ixCG_THERMAL_INT); in ci_thermal_enable_alert() local
1033 thermal_int &= ~(CG_THERMAL_INT_CTRL__THERM_INTH_MASK_MASK | in ci_thermal_enable_alert()
1035 WREG32_SMC(ixCG_THERMAL_INT, thermal_int); in ci_thermal_enable_alert()
1042 thermal_int |= CG_THERMAL_INT_CTRL__THERM_INTH_MASK_MASK | in ci_thermal_enable_alert()
1044 WREG32_SMC(ixCG_THERMAL_INT, thermal_int); in ci_thermal_enable_alert()
Dsi_dpm.c6472 u32 thermal_int = RREG32(CG_THERMAL_INT); in si_thermal_enable_alert() local
6477 thermal_int &= ~(THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW); in si_thermal_enable_alert()
6478 WREG32(CG_THERMAL_INT, thermal_int); in si_thermal_enable_alert()
6485 thermal_int |= THERM_INT_MASK_HIGH | THERM_INT_MASK_LOW; in si_thermal_enable_alert()
6486 WREG32(CG_THERMAL_INT, thermal_int); in si_thermal_enable_alert()