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

Go to the source code of this file.

Macros

#define SUSP_MODE_SLEEP   (SUSP_SH_SLEEP)
 
#define SUSP_MODE_SLEEP_SF   (SUSP_SH_SLEEP | SUSP_SH_SF)
 
#define SUSP_MODE_STANDBY_SF   (SUSP_SH_STANDBY | SUSP_SH_SF)
 
#define SUSP_MODE_RSTANDBY_SF   (SUSP_SH_RSTANDBY | SUSP_SH_MMU | SUSP_SH_REGS | SUSP_SH_SF)
 
#define RAM_BASE   0xe5200000 /* ILRAM */
 

Functions

 ATOMIC_NOTIFIER_HEAD (sh_mobile_pre_sleep_notifier_list)
 
 ATOMIC_NOTIFIER_HEAD (sh_mobile_post_sleep_notifier_list)
 
void sh_mobile_call_standby (unsigned long mode)
 
void sh_mobile_register_self_refresh (unsigned long flags, void *pre_start, void *pre_end, void *post_start, void *post_end)
 
 late_initcall (sh_pm_init)
 

Variables

char sh_mobile_sleep_enter_start
 
char sh_mobile_sleep_enter_end
 
char sh_mobile_sleep_resume_start
 
char sh_mobile_sleep_resume_end
 
unsigned long sh_mobile_sleep_supported = SUSP_SH_SLEEP
 

Macro Definition Documentation

#define RAM_BASE   0xe5200000 /* ILRAM */

Definition at line 46 of file pm.c.

#define SUSP_MODE_RSTANDBY_SF   (SUSP_SH_RSTANDBY | SUSP_SH_MMU | SUSP_SH_REGS | SUSP_SH_SF)

Definition at line 37 of file pm.c.

#define SUSP_MODE_SLEEP   (SUSP_SH_SLEEP)

Definition at line 34 of file pm.c.

#define SUSP_MODE_SLEEP_SF   (SUSP_SH_SLEEP | SUSP_SH_SF)

Definition at line 35 of file pm.c.

#define SUSP_MODE_STANDBY_SF   (SUSP_SH_STANDBY | SUSP_SH_SF)

Definition at line 36 of file pm.c.

Function Documentation

ATOMIC_NOTIFIER_HEAD ( sh_mobile_pre_sleep_notifier_list  )
ATOMIC_NOTIFIER_HEAD ( sh_mobile_post_sleep_notifier_list  )
late_initcall ( sh_pm_init  )
void sh_mobile_call_standby ( unsigned long  mode)

Definition at line 49 of file pm.c.

void sh_mobile_register_self_refresh ( unsigned long  flags,
void pre_start,
void pre_end,
void post_start,
void post_end 
)

Definition at line 80 of file pm.c.

Variable Documentation

char sh_mobile_sleep_enter_end
char sh_mobile_sleep_enter_start
char sh_mobile_sleep_resume_end
char sh_mobile_sleep_resume_start
unsigned long sh_mobile_sleep_supported = SUSP_SH_SLEEP

Definition at line 78 of file pm.c.