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 */
246 unsigned int syswake;
255 for (syswake = 0; status; status >>= 1, ++syswake) {
260 generic_handle_domain_irq(priv->domain, syswake_to_hwirq(syswake));
271 * Mask all syswake interrupts before routing, or we could receive an
284 /* Initialise syswake IRQ */
368 /* Get syswake IRQ number */
385 * The second one for syswake irqs (edge and level chip types)
407 /* syswake interrupt chip */
423 /* for standby we pass on to the shared syswake IRQ */
436 /* for standby we pass on to the shared syswake IRQ */
449 /* Setup chained handler for the syswake IRQ */
454 "PDC IRQ controller initialised (%u perip IRQs, %u syswake IRQs)\n",