Home
last modified time | relevance | path

Searched refs:wakesta (Results 1 – 5 of 5) sorted by relevance

/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/spm/
Dspm.c276 void spm_get_wakeup_status(struct wake_status *wakesta) in spm_get_wakeup_status() argument
278 wakesta->assert_pc = mmio_read_32(PCM_REG_DATA_INI); in spm_get_wakeup_status()
279 wakesta->r12 = mmio_read_32(SPM_SW_RSV_0); in spm_get_wakeup_status()
280 wakesta->r12_ext = mmio_read_32(PCM_REG12_EXT_DATA); in spm_get_wakeup_status()
281 wakesta->raw_sta = mmio_read_32(SPM_WAKEUP_STA); in spm_get_wakeup_status()
282 wakesta->raw_ext_sta = mmio_read_32(SPM_WAKEUP_EXT_STA); in spm_get_wakeup_status()
283 wakesta->wake_misc = mmio_read_32(SPM_BSI_D0_SR); in spm_get_wakeup_status()
284 wakesta->timer_out = mmio_read_32(SPM_BSI_D1_SR); in spm_get_wakeup_status()
285 wakesta->r13 = mmio_read_32(PCM_REG13_DATA); in spm_get_wakeup_status()
286 wakesta->idle_sta = mmio_read_32(SUBSYS_IDLE_STA); in spm_get_wakeup_status()
[all …]
Dspm.h2542 extern void spm_get_wakeup_status(struct wake_status *wakesta);
2544 extern void spm_output_wake_reason(struct wake_status *wakesta,
/external/arm-trusted-firmware/plat/mediatek/mt8173/drivers/spm/
Dspm.c208 void spm_get_wakeup_status(struct wake_status *wakesta) in spm_get_wakeup_status() argument
210 wakesta->assert_pc = mmio_read_32(SPM_PCM_REG_DATA_INI); in spm_get_wakeup_status()
211 wakesta->r12 = mmio_read_32(SPM_PCM_REG12_DATA); in spm_get_wakeup_status()
212 wakesta->raw_sta = mmio_read_32(SPM_SLEEP_ISR_RAW_STA); in spm_get_wakeup_status()
213 wakesta->wake_misc = mmio_read_32(SPM_SLEEP_WAKEUP_MISC); in spm_get_wakeup_status()
214 wakesta->timer_out = mmio_read_32(SPM_PCM_TIMER_OUT); in spm_get_wakeup_status()
215 wakesta->r13 = mmio_read_32(SPM_PCM_REG13_DATA); in spm_get_wakeup_status()
216 wakesta->idle_sta = mmio_read_32(SPM_SLEEP_SUBSYS_IDLE_STA); in spm_get_wakeup_status()
217 wakesta->debug_flag = mmio_read_32(SPM_PCM_PASR_DPD_3); in spm_get_wakeup_status()
218 wakesta->event_reg = mmio_read_32(SPM_PCM_EVENT_REG_STA); in spm_get_wakeup_status()
[all …]
Dspm_suspend.c272 struct wake_status wakesta; in go_to_sleep_after_wfi() local
275 spm_get_wakeup_status(&wakesta); in go_to_sleep_after_wfi()
277 last_wr = spm_output_wake_reason(&wakesta); in go_to_sleep_after_wfi()
Dspm.h314 void spm_get_wakeup_status(struct wake_status *wakesta);
318 enum wake_reason_t spm_output_wake_reason(struct wake_status *wakesta);