Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/pm/legacy-dpm/
Dkv_dpm.c3119 u32 cg_thermal_int; in kv_dpm_set_interrupt_state() local
3125 cg_thermal_int = RREG32_SMC(ixCG_THERMAL_INT_CTRL); in kv_dpm_set_interrupt_state()
3126 cg_thermal_int &= ~CG_THERMAL_INT_CTRL__THERM_INTH_MASK_MASK; in kv_dpm_set_interrupt_state()
3127 WREG32_SMC(ixCG_THERMAL_INT_CTRL, cg_thermal_int); in kv_dpm_set_interrupt_state()
3130 cg_thermal_int = RREG32_SMC(ixCG_THERMAL_INT_CTRL); in kv_dpm_set_interrupt_state()
3131 cg_thermal_int |= CG_THERMAL_INT_CTRL__THERM_INTH_MASK_MASK; in kv_dpm_set_interrupt_state()
3132 WREG32_SMC(ixCG_THERMAL_INT_CTRL, cg_thermal_int); in kv_dpm_set_interrupt_state()
3142 cg_thermal_int = RREG32_SMC(ixCG_THERMAL_INT_CTRL); in kv_dpm_set_interrupt_state()
3143 cg_thermal_int &= ~CG_THERMAL_INT_CTRL__THERM_INTL_MASK_MASK; in kv_dpm_set_interrupt_state()
3144 WREG32_SMC(ixCG_THERMAL_INT_CTRL, cg_thermal_int); in kv_dpm_set_interrupt_state()
[all …]
Dsi_dpm.c7549 u32 cg_thermal_int; in si_dpm_set_interrupt_state() local
7555 cg_thermal_int = RREG32_SMC(CG_THERMAL_INT); in si_dpm_set_interrupt_state()
7556 cg_thermal_int |= THERM_INT_MASK_HIGH; in si_dpm_set_interrupt_state()
7557 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state()
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()
7572 cg_thermal_int = RREG32_SMC(CG_THERMAL_INT); in si_dpm_set_interrupt_state()
7573 cg_thermal_int |= THERM_INT_MASK_LOW; in si_dpm_set_interrupt_state()
7574 WREG32_SMC(CG_THERMAL_INT, cg_thermal_int); in si_dpm_set_interrupt_state()
[all …]