Linux Kernel
3.7.1
|
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/syscore_ops.h>
#include "internals.h"
Go to the source code of this file.
Functions | |
void | suspend_device_irqs (void) |
EXPORT_SYMBOL_GPL (suspend_device_irqs) | |
device_initcall (irq_pm_init_ops) | |
void | resume_device_irqs (void) |
EXPORT_SYMBOL_GPL (resume_device_irqs) | |
int | check_wakeup_irqs (void) |
device_initcall | ( | irq_pm_init_ops | ) |
EXPORT_SYMBOL_GPL | ( | suspend_device_irqs | ) |
EXPORT_SYMBOL_GPL | ( | resume_device_irqs | ) |
resume_device_irqs - enable interrupt lines disabled by suspend_device_irqs()
Enable all non-IRQF_EARLY_RESUME interrupt lines previously disabled by suspend_device_irqs() that have the IRQS_SUSPENDED flag set as well as those with IRQF_FORCE_RESUME.
suspend_device_irqs - disable all currently enabled interrupt lines
During system-wide suspend or hibernation device drivers need to be prevented from receiving interrupts and this function is provided for this purpose. It marks all interrupt lines in use, except for the timer ones, as disabled and sets the IRQS_SUSPENDED flag for each of them.