Home
last modified time | relevance | path

Searched refs:backups (Results 1 – 2 of 2) sorted by relevance

/arch/arm/mach-at91/
Dirq.c55 static unsigned long *backups; variable
57 #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()
Dgpio.c430 static u32 backups[MAX_GPIO_BANKS]; variable
458 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()