Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
pm.c File Reference
#include <linux/init.h>
#include <linux/io.h>
#include <linux/suspend.h>
#include <linux/errno.h>
#include <linux/time.h>
#include <mach/hardware.h>
#include <asm/memory.h>
#include <asm/suspend.h>
#include <asm/mach/time.h>

Go to the source code of this file.

Macros

#define SAVE(x)   sleep_save[SLEEP_SAVE_##x] = x
 
#define RESTORE(x)   x = sleep_save[SLEEP_SAVE_##x]
 

Enumerations

enum  {
  SLEEP_SAVE_GPDR, SLEEP_SAVE_GAFR, SLEEP_SAVE_PPDR, SLEEP_SAVE_PPSR,
  SLEEP_SAVE_PPAR, SLEEP_SAVE_PSDR, SLEEP_SAVE_Ser1SDCR0, SLEEP_SAVE_COUNT
}
 

Functions

int sa1100_finish_suspend (unsigned long)
 
int __init sa11x0_pm_init (void)
 

Macro Definition Documentation

#define RESTORE (   x)    x = sleep_save[SLEEP_SAVE_##x]

Definition at line 39 of file pm.c.

#define SAVE (   x)    sleep_save[SLEEP_SAVE_##x] = x

Definition at line 38 of file pm.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
SLEEP_SAVE_GPDR 
SLEEP_SAVE_GAFR 
SLEEP_SAVE_PPDR 
SLEEP_SAVE_PPSR 
SLEEP_SAVE_PPAR 
SLEEP_SAVE_PSDR 
SLEEP_SAVE_Ser1SDCR0 
SLEEP_SAVE_COUNT 

Definition at line 46 of file pm.c.

Function Documentation

int sa1100_finish_suspend ( unsigned  long)
int __init sa11x0_pm_init ( void  )

Definition at line 121 of file pm.c.