Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
pm.c File Reference
#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)
 

Function Documentation

int check_wakeup_irqs ( void  )

check_wakeup_irqs - check if any wake-up interrupts are pending

Definition at line 100 of file pm.c.

device_initcall ( irq_pm_init_ops  )
EXPORT_SYMBOL_GPL ( suspend_device_irqs  )
EXPORT_SYMBOL_GPL ( resume_device_irqs  )
void resume_device_irqs ( void  )

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.

Definition at line 91 of file pm.c.

void suspend_device_irqs ( void  )

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.

Definition at line 24 of file pm.c.