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

Go to the source code of this file.

Functions

void mpc52xx_deep_sleep (void __iomem *sram, void __iomem *sdram_regs, struct mpc52xx_cdm __iomem *, struct mpc52xx_intr __iomem *)
 
void mpc52xx_ds_sram (void)
 
void mpc52xx_ds_cached (void)
 
int mpc52xx_set_wakeup_gpio (u8 pin, u8 level)
 
int mpc52xx_pm_prepare (void)
 
int mpc52xx_pm_enter (suspend_state_t state)
 
void mpc52xx_pm_finish (void)
 
int __init mpc52xx_pm_init (void)
 

Variables

const long mpc52xx_ds_sram_size
 
const long mpc52xx_ds_cached_size
 
struct mpc52xx_suspend mpc52xx_suspend
 
char saved_sram [0x4000]
 

Function Documentation

void mpc52xx_deep_sleep ( void __iomem sram,
void __iomem sdram_regs,
struct mpc52xx_cdm __iomem ,
struct mpc52xx_intr __iomem  
)
void mpc52xx_ds_cached ( void  )
void mpc52xx_ds_sram ( void  )
int mpc52xx_pm_enter ( suspend_state_t  state)

Definition at line 112 of file mpc52xx_pm.c.

void mpc52xx_pm_finish ( void  )

Definition at line 180 of file mpc52xx_pm.c.

int __init mpc52xx_pm_init ( void  )

Definition at line 196 of file mpc52xx_pm.c.

int mpc52xx_pm_prepare ( void  )

Definition at line 57 of file mpc52xx_pm.c.

int mpc52xx_set_wakeup_gpio ( u8  pin,
u8  level 
)

Definition at line 36 of file mpc52xx_pm.c.

Variable Documentation

const long mpc52xx_ds_cached_size
const long mpc52xx_ds_sram_size
struct mpc52xx_suspend mpc52xx_suspend

Definition at line 24 of file mpc52xx_pm.c.

char saved_sram[0x4000]

Definition at line 110 of file mpc52xx_pm.c.