Searched refs:thermal_int (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | kv_dpm.c | 1174 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()
|
D | r600.c | 3773 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()
|
D | evergreen.c | 4618 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()
|
D | ci_dpm.c | 912 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()
|
D | si_dpm.c | 6013 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()
|
D | si.c | 6078 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/ |
D | ci_dpm.c | 1029 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()
|
D | si_dpm.c | 6472 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()
|