Home
last modified time | relevance | path

Searched refs:suspend_ctrl (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-a-3.4.0/plat/mediatek/mt8183/drivers/spm/
Dspm_suspend.c48 static const struct pwr_ctrl suspend_ctrl = { variable
165 spm_set_power_control(&suspend_ctrl); in go_to_sleep_before_wfi()
166 spm_set_wakeup_event(&suspend_ctrl); in go_to_sleep_before_wfi()
167 spm_set_pcm_flags(&suspend_ctrl); in go_to_sleep_before_wfi()
172 if (is_infra_pdn(suspend_ctrl.pcm_flags)) in go_to_sleep_before_wfi()
179 cpu, spm_get_firmware_version(), suspend_ctrl.wake_src, in go_to_sleep_before_wfi()
183 suspend_ctrl.pcm_flags, suspend_ctrl.pcm_flags1, in go_to_sleep_before_wfi()
194 if (is_infra_pdn(suspend_ctrl.pcm_flags)) in go_to_sleep_after_wfi()
/trusted-firmware-a-3.4.0/plat/mediatek/mt8195/drivers/spm/
Dmt_spm_suspend.c68 static struct pwr_ctrl suspend_ctrl = { variable
340 .pwrctrl = &suspend_ctrl,
346 suspend_ctrl.pcm_flags = SPM_SUSPEND_SLEEP_PCM_FLAG; in mt_spm_suspend_mode_set()
347 suspend_ctrl.pcm_flags1 = SPM_SUSPEND_SLEEP_PCM_FLAG1; in mt_spm_suspend_mode_set()
349 suspend_ctrl.pcm_flags = SPM_SUSPEND_PCM_FLAG; in mt_spm_suspend_mode_set()
350 suspend_ctrl.pcm_flags1 = SPM_SUSPEND_PCM_FLAG1; in mt_spm_suspend_mode_set()
/trusted-firmware-a-3.4.0/plat/mediatek/mt8186/drivers/spm/
Dmt_spm_suspend.c59 static struct pwr_ctrl suspend_ctrl = { variable
232 .pwrctrl = &suspend_ctrl,
238 suspend_ctrl.pcm_flags = SPM_SUSPEND_SLEEP_PCM_FLAG; in mt_spm_suspend_mode_set()
239 suspend_ctrl.pcm_flags1 = SPM_SUSPEND_SLEEP_PCM_FLAG1; in mt_spm_suspend_mode_set()
241 suspend_ctrl.pcm_flags = SPM_SUSPEND_PCM_FLAG; in mt_spm_suspend_mode_set()
242 suspend_ctrl.pcm_flags1 = SPM_SUSPEND_PCM_FLAG1; in mt_spm_suspend_mode_set()
/trusted-firmware-a-3.4.0/plat/mediatek/mt8192/drivers/spm/
Dmt_spm_suspend.c75 static struct pwr_ctrl suspend_ctrl = { variable
249 .pwrctrl = &suspend_ctrl,
255 suspend_ctrl.pcm_flags = SPM_SUSPEND_SLEEP_PCM_FLAG; in mt_spm_suspend_mode_set()
256 suspend_ctrl.pcm_flags1 = SPM_SUSPEND_SLEEP_PCM_FLAG1; in mt_spm_suspend_mode_set()
258 suspend_ctrl.pcm_flags = SPM_SUSPEND_PCM_FLAG; in mt_spm_suspend_mode_set()
259 suspend_ctrl.pcm_flags1 = SPM_SUSPEND_PCM_FLAG1; in mt_spm_suspend_mode_set()