Home
last modified time | relevance | path

Searched refs:cg_thermal_int (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/amd/pm/legacy-dpm/
Dkv_dpm.c3129 u32 cg_thermal_int; in kv_dpm_set_interrupt_state() local
3135 cg_thermal_int = RREG32_SMC(ixCG_THERMAL_INT_CTRL); in kv_dpm_set_interrupt_state()
3136 cg_thermal_int &= ~CG_THERMAL_INT_CTRL__THERM_INTH_MASK_MASK; in kv_dpm_set_interrupt_state()
3137 WREG32_SMC(ixCG_THERMAL_INT_CTRL, cg_thermal_int); in kv_dpm_set_interrupt_state()
3140 cg_thermal_int = RREG32_SMC(ixCG_THERMAL_INT_CTRL); in kv_dpm_set_interrupt_state()
3141 cg_thermal_int |= CG_THERMAL_INT_CTRL__THERM_INTH_MASK_MASK; in kv_dpm_set_interrupt_state()
3142 WREG32_SMC(ixCG_THERMAL_INT_CTRL, cg_thermal_int); in kv_dpm_set_interrupt_state()
3152 cg_thermal_int = RREG32_SMC(ixCG_THERMAL_INT_CTRL); in kv_dpm_set_interrupt_state()
3153 cg_thermal_int &= ~CG_THERMAL_INT_CTRL__THERM_INTL_MASK_MASK; in kv_dpm_set_interrupt_state()
3154 WREG32_SMC(ixCG_THERMAL_INT_CTRL, cg_thermal_int); in kv_dpm_set_interrupt_state()
[all …]
Dsi_dpm.c7554 u32 cg_thermal_int; in si_dpm_set_interrupt_state() local
7560 cg_thermal_int = RREG32_SMC(CG_THERMAL_INT); in si_dpm_set_interrupt_state()
7561 cg_thermal_int |= THERM_INT_MASK_HIGH; in si_dpm_set_interrupt_state()
7562 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state()
7565 cg_thermal_int = RREG32_SMC(CG_THERMAL_INT); in si_dpm_set_interrupt_state()
7566 cg_thermal_int &= ~THERM_INT_MASK_HIGH; in si_dpm_set_interrupt_state()
7567 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state()
7577 cg_thermal_int = RREG32_SMC(CG_THERMAL_INT); in si_dpm_set_interrupt_state()
7578 cg_thermal_int |= THERM_INT_MASK_LOW; in si_dpm_set_interrupt_state()
7579 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state()
[all …]