Searched refs:syswake (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/irqchip/
H A Dirq-imgpdc.c6 * Exposes the syswake and PDC peripheral wake interrupts to the system.
67 * @nr_syswakes: Number of syswake signals.
69 * @syswake_irq: Shared PDC syswake IRQ number.
70 * @domain: IRQ domain for PDC peripheral and syswake IRQs.
73 * @lock: Lock to protect the PDC syswake registers and the cached
114 static irq_hw_number_t syswake_to_hwirq(unsigned int syswake) syswake_to_hwirq() argument
116 return SYS0_HWIRQ + syswake; syswake_to_hwirq()
153 unsigned int syswake = hwirq_to_syswake(data->hwirq); syswake_irq_set_type() local
157 /* translate to syswake IRQ mode */ syswake_irq_set_type()
181 soc_sys_wake_regoff = PDC_SYS_WAKE_BASE + syswake*PDC_SYS_WAKE_STRIDE; syswake_irq_set_type()
195 /* applies to both peripheral and syswake interrupts */ pdc_irq_set_wake()
246 unsigned int syswake, irq_no; pdc_intc_syswake_isr() local
255 for (syswake = 0; status; status >>= 1, ++syswake) { pdc_intc_syswake_isr()
261 syswake_to_hwirq(syswake)); pdc_intc_syswake_isr()
273 * Mask all syswake interrupts before routing, or we could receive an pdc_intc_setup()
286 /* Initialise syswake IRQ */ pdc_intc_setup()
376 /* Get syswake IRQ number */ pdc_intc_probe()
379 dev_err(&pdev->dev, "cannot find syswake IRQ\n"); pdc_intc_probe()
395 * The second one for syswake irqs (edge and level chip types) pdc_intc_probe()
417 /* syswake interrupt chip */ pdc_intc_probe()
433 /* for standby we pass on to the shared syswake IRQ */ pdc_intc_probe()
446 /* for standby we pass on to the shared syswake IRQ */ pdc_intc_probe()
459 /* Setup chained handler for the syswake IRQ */ pdc_intc_probe()
464 "PDC IRQ controller initialised (%u perip IRQs, %u syswake IRQs)\n", pdc_intc_probe()
/linux-4.4.14/drivers/gpio/
H A Dgpio-tz1090-pdc.c143 unsigned int syswake = offset - GPIO_PDC_IRQ_FIRST; tz1090_pdc_gpio_to_irq() local
147 if (syswake >= GPIO_PDC_NIRQ) tz1090_pdc_gpio_to_irq()
150 irq = priv->irq[syswake]; tz1090_pdc_gpio_to_irq()
205 /* Map the syswake irqs */ tz1090_pdc_gpio_probe()

Completed in 95 milliseconds