Searched refs:backups (Results 1 – 2 of 2) sorted by relevance
55 static unsigned long *backups; variable57 #define set_backup(bit) set_bit(bit, backups)58 #define clear_backup(bit) clear_bit(bit, backups)62 backups = kzalloc(BITS_TO_LONGS(n_irqs) * sizeof(*backups), GFP_KERNEL); in at91_aic_pm_init()63 if (!backups) in at91_aic_pm_init()66 wakeups = kzalloc(BITS_TO_LONGS(n_irqs) * sizeof(*backups), GFP_KERNEL); in at91_aic_pm_init()68 kfree(backups); in at91_aic_pm_init()90 at91_aic_write(AT91_AIC_IDCR, *backups); in at91_irq_suspend()97 at91_aic_write(AT91_AIC_IECR, *backups); in at91_irq_resume()
430 static u32 backups[MAX_GPIO_BANKS]; variable458 backups[i] = __raw_readl(pio + PIO_IMR); in at91_gpio_suspend()459 __raw_writel(backups[i], pio + PIO_IDR); in at91_gpio_suspend()486 __raw_writel(backups[i], pio + PIO_IER); in at91_gpio_resume()