Lines Matching refs:scu_irq_wakeup
58 static struct scu_wakeup scu_irq_wakeup[IMX_SC_IRQ_NUM_GROUP]; variable
91 if (scu_irq_wakeup[i].mask) { in imx_scu_irq_work_handler()
92 scu_irq_wakeup[i].valid = false; in imx_scu_irq_work_handler()
93 scu_irq_wakeup[i].wakeup_src = 0; in imx_scu_irq_work_handler()
105 if (scu_irq_wakeup[i].mask & irq_status) { in imx_scu_irq_work_handler()
106 scu_irq_wakeup[i].valid = true; in imx_scu_irq_work_handler()
107 scu_irq_wakeup[i].wakeup_src = irq_status & scu_irq_wakeup[i].mask; in imx_scu_irq_work_handler()
109 scu_irq_wakeup[i].wakeup_src = irq_status; in imx_scu_irq_work_handler()
167 scu_irq_wakeup[group].mask |= mask; in imx_scu_irq_group_enable()
169 scu_irq_wakeup[group].mask &= ~mask; in imx_scu_irq_group_enable()
185 if (!scu_irq_wakeup[i].wakeup_src) in wakeup_source_show()
188 if (scu_irq_wakeup[i].valid) in wakeup_source_show()
190 i, scu_irq_wakeup[i].wakeup_src); in wakeup_source_show()
193 i, scu_irq_wakeup[i].wakeup_src); in wakeup_source_show()