Lines Matching refs:syswake
7 * Exposes the syswake and PDC peripheral wake interrupts to the system.
68 * @nr_syswakes: Number of syswake signals.
70 * @syswake_irq: Shared PDC syswake IRQ number.
71 * @domain: IRQ domain for PDC peripheral and syswake IRQs.
74 * @lock: Lock to protect the PDC syswake registers and the cached
115 static irq_hw_number_t syswake_to_hwirq(unsigned int syswake)
117 return SYS0_HWIRQ + syswake;
154 unsigned int syswake = hwirq_to_syswake(data->hwirq);
158 /* translate to syswake IRQ mode */
182 soc_sys_wake_regoff = PDC_SYS_WAKE_BASE + syswake*PDC_SYS_WAKE_STRIDE;
196 /* applies to both peripheral and syswake interrupts */
247 unsigned int syswake, irq_no;
256 for (syswake = 0; status; status >>= 1, ++syswake) {
262 syswake_to_hwirq(syswake));
274 * Mask all syswake interrupts before routing, or we could receive an
287 /* Initialise syswake IRQ */
375 /* Get syswake IRQ number */
392 * The second one for syswake irqs (edge and level chip types)
414 /* syswake interrupt chip */
430 /* for standby we pass on to the shared syswake IRQ */
443 /* for standby we pass on to the shared syswake IRQ */
456 /* Setup chained handler for the syswake IRQ */
461 "PDC IRQ controller initialised (%u perip IRQs, %u syswake IRQs)\n",