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

/linux-4.1.27/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()
245 unsigned int syswake, irq_no; pdc_intc_syswake_isr() local
254 for (syswake = 0; status; status >>= 1, ++syswake) { pdc_intc_syswake_isr()
260 syswake_to_hwirq(syswake)); pdc_intc_syswake_isr()
272 * Mask all syswake interrupts before routing, or we could receive an pdc_intc_setup()
285 /* Initialise syswake IRQ */ pdc_intc_setup()
375 /* Get syswake IRQ number */ pdc_intc_probe()
378 dev_err(&pdev->dev, "cannot find syswake IRQ\n"); pdc_intc_probe()
394 * The second one for syswake irqs (edge and level chip types) pdc_intc_probe()
416 /* syswake interrupt chip */ pdc_intc_probe()
432 /* for standby we pass on to the shared syswake IRQ */ pdc_intc_probe()
445 /* for standby we pass on to the shared syswake IRQ */ pdc_intc_probe()
458 /* Setup chained handler for the syswake IRQ */ pdc_intc_probe()
463 "PDC IRQ controller initialised (%u perip IRQs, %u syswake IRQs)\n", pdc_intc_probe()
/linux-4.1.27/drivers/gpio/
H A Dgpio-tz1090-pdc.c153 unsigned int syswake = offset - GPIO_PDC_IRQ_FIRST; tz1090_pdc_gpio_to_irq() local
157 if (syswake >= GPIO_PDC_NIRQ) tz1090_pdc_gpio_to_irq()
160 irq = priv->irq[syswake]; tz1090_pdc_gpio_to_irq()
215 /* Map the syswake irqs */ tz1090_pdc_gpio_probe()

Completed in 176 milliseconds