Searched refs:wakeups (Results 1 – 3 of 3) sorted by relevance
/arch/arm/mach-at91/ |
D | irq.c | 59 static unsigned long *wakeups; variable 71 wakeups = kzalloc(BITS_TO_LONGS(n_irqs) * sizeof(*backups), GFP_KERNEL); in at91_aic_pm_init() 72 if (!wakeups) { in at91_aic_pm_init() 86 set_bit(d->hwirq, wakeups); in at91_aic_set_wake() 88 clear_bit(d->hwirq, wakeups); in at91_aic_set_wake() 106 while ((bit = find_next_bit(wakeups, n_irqs, bit + 1)) < n_irqs) { in at91_irq_suspend() 113 at91_aic_write(AT91_AIC_IECR, *wakeups); in at91_irq_suspend() 123 while ((bit = find_next_bit(wakeups, n_irqs, bit + 1)) < n_irqs) { in at91_irq_resume() 136 at91_aic_write(AT91_AIC_IDCR, *wakeups); in at91_irq_resume()
|
D | gpio.c | 426 static u32 wakeups[MAX_GPIO_BANKS]; variable 439 wakeups[bank] |= mask; in gpio_irq_set_wake() 441 wakeups[bank] &= ~mask; in gpio_irq_set_wake() 457 __raw_writel(wakeups[i], pio + PIO_IER); in at91_gpio_suspend() 459 if (!wakeups[i]) { in at91_gpio_suspend() 464 printk(KERN_DEBUG "GPIO-%c may wake for %08x\n", 'A'+i, wakeups[i]); in at91_gpio_suspend() 477 if (!wakeups[i]) { in at91_gpio_resume() 482 __raw_writel(wakeups[i], pio + PIO_IDR); in at91_gpio_resume()
|
/arch/x86/ |
D | Kconfig | 2212 - EC-driven system wakeups 2225 - EC-driven system wakeups
|