Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
wakeup-mask.c File Reference
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/device.h>
#include <linux/types.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <plat/wakeup-mask.h>
#include <plat/pm.h>

Go to the source code of this file.

Functions

void samsung_sync_wakemask (void __iomem *reg, struct samsung_wakeup_mask *mask, int nr_mask)
 

Function Documentation

void samsung_sync_wakemask ( void __iomem reg,
struct samsung_wakeup_mask masks,
int  nr_masks 
)

samsung_sync_wakemask - sync wakeup mask information for pm : The register that is used. : The list of masks to use. : The number of entries pointed to buy .

Synchronise the wakeup mask information at suspend time from the list of interrupts and control bits in . We do this at suspend time as overriding the relevant irq chips is harder and the register is only required to be correct before we enter sleep.

Definition at line 22 of file wakeup-mask.c.