Searched refs:wakesta (Results 1 – 9 of 9) sorted by relevance
/trusted-firmware-a/plat/mediatek/mt8195/drivers/spm/ |
A D | mt_spm_internal.c | 81 wakesta->abort, wakesta->timer_out); in __spm_output_wake_reason() 94 wakesta->r12, wakesta->r12_ext, wakesta->r13, wakesta->debug_flag, in __spm_output_wake_reason() 97 wakesta->raw_sta, wakesta->md32pcm_wakeup_sta, in __spm_output_wake_reason() 98 wakesta->md32pcm_event_sta, wakesta->idle_sta, in __spm_output_wake_reason() 101 wakesta->req_sta0, wakesta->req_sta1, wakesta->req_sta2, in __spm_output_wake_reason() 102 wakesta->req_sta3, wakesta->req_sta4, wakesta->isr); in __spm_output_wake_reason() 104 wakesta->rt_req_sta0, wakesta->rt_req_sta1, wakesta->rt_req_sta2); in __spm_output_wake_reason() 106 wakesta->rt_req_sta3, wakesta->rt_req_sta4, wakesta->raw_ext_sta); in __spm_output_wake_reason() 108 wakesta->wake_misc, wakesta->sw_flag0, wakesta->sw_flag1, in __spm_output_wake_reason() 109 wakesta->b_sw_flag0, wakesta->b_sw_flag1, wakesta->src_req); in __spm_output_wake_reason() [all …]
|
A D | mt_spm_internal.h | 538 extern void __spm_get_wakeup_status(struct wake_status *wakesta, 542 __spm_output_wake_reason(int state_id, const struct wake_status *wakesta);
|
/trusted-firmware-a/plat/mediatek/mt8192/drivers/spm/ |
A D | mt_spm_internal.c | 81 wakesta->abort, wakesta->timer_out); in __spm_output_wake_reason() 94 wakesta->r12, wakesta->r12_ext, wakesta->r13, wakesta->debug_flag, in __spm_output_wake_reason() 97 wakesta->raw_sta, wakesta->md32pcm_wakeup_sta, in __spm_output_wake_reason() 98 wakesta->md32pcm_event_sta, wakesta->idle_sta, in __spm_output_wake_reason() 101 wakesta->req_sta0, wakesta->req_sta1, wakesta->req_sta2, in __spm_output_wake_reason() 102 wakesta->req_sta3, wakesta->req_sta4, wakesta->isr); in __spm_output_wake_reason() 104 wakesta->rt_req_sta0, wakesta->rt_req_sta1, wakesta->rt_req_sta2); in __spm_output_wake_reason() 106 wakesta->rt_req_sta3, wakesta->rt_req_sta4, wakesta->raw_ext_sta); in __spm_output_wake_reason() 108 wakesta->wake_misc, wakesta->sw_flag0, wakesta->sw_flag1, in __spm_output_wake_reason() 109 wakesta->b_sw_flag0, wakesta->b_sw_flag1, wakesta->src_req); in __spm_output_wake_reason() [all …]
|
A D | mt_spm_internal.h | 592 extern void __spm_get_wakeup_status(struct wake_status *wakesta, 596 __spm_output_wake_reason(int state_id, const struct wake_status *wakesta);
|
/trusted-firmware-a/plat/mediatek/mt8183/drivers/spm/ |
A D | spm.c | 279 wakesta->r12 = mmio_read_32(SPM_SW_RSV_0); in spm_get_wakeup_status() 285 wakesta->r13 = mmio_read_32(PCM_REG13_DATA); in spm_get_wakeup_status() 294 wakesta->isr = mmio_read_32(SPM_IRQ_STA); in spm_get_wakeup_status() 313 if (wakesta->assert_pc != 0) { in spm_output_wake_reason() 320 if (wakesta->r12 & (1U << i)) { in spm_output_wake_reason() 329 wakesta->r15, wakesta->r13, wakesta->debug_flag, in spm_output_wake_reason() 330 wakesta->debug_flag1); in spm_output_wake_reason() 332 wakesta->sw_flag, wakesta->sw_flag1, wakesta->r12, in spm_output_wake_reason() 333 wakesta->r12_ext); in spm_output_wake_reason() 335 wakesta->idle_sta, wakesta->req_sta, wakesta->event_reg); in spm_output_wake_reason() [all …]
|
A D | spm.h | 2542 extern void spm_get_wakeup_status(struct wake_status *wakesta); 2544 extern void spm_output_wake_reason(struct wake_status *wakesta,
|
/trusted-firmware-a/plat/mediatek/mt8173/drivers/spm/ |
A D | spm.c | 323 if (wakesta->assert_pc != 0) { in spm_output_wake_reason() 325 wakesta->assert_pc, wakesta->r12, wakesta->r13, in spm_output_wake_reason() 326 wakesta->debug_flag); in spm_output_wake_reason() 330 if (wakesta->r12 & WAKE_SRC_SPM_MERGE) { in spm_output_wake_reason() 333 if (wakesta->wake_misc & WAKE_MISC_CPU_WAKE) in spm_output_wake_reason() 338 if (wakesta->r12 & (1U << i)) in spm_output_wake_reason() 342 if ((wakesta->event_reg & 0x100000) == 0) { in spm_output_wake_reason() 348 wakesta->timer_out, wakesta->r12, wakesta->r13, in spm_output_wake_reason() 349 wakesta->debug_flag); in spm_output_wake_reason() 352 wakesta->raw_sta, wakesta->idle_sta, wakesta->event_reg, in spm_output_wake_reason() [all …]
|
A D | spm_suspend.c | 272 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()
|
A D | spm.h | 314 void spm_get_wakeup_status(struct wake_status *wakesta); 318 enum wake_reason_t spm_output_wake_reason(struct wake_status *wakesta);
|
Completed in 32 milliseconds