Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pm.h File Reference
#include <linux/err.h>
#include "powerdomain.h"

Go to the source code of this file.

Macros

#define enable_off_mode   0
 
#define pm_dbg_update_time(pwrdm, prev)   do {} while (0);
 
#define PM_RTA_ERRATUM_i608   (1 << 0)
 
#define PM_SDRC_WAKEUP_ERRATUM_i583   (1 << 1)
 
#define PM_PER_MEMORIES_ERRATUM_i582   (1 << 2)
 
#define IS_PM34XX_ERRATUM(id)   0
 

Functions

void omap3_pm_off_mode_enable (int)
 
void omap_sram_idle (void)
 
int omap_set_pwrdm_state (struct powerdomain *pwrdm, u32 state)
 
int omap_pm_clkdms_setup (struct clockdomain *clkdm, void *unused)
 
int omap3_pm_get_suspend_state (struct powerdomain *pwrdm)
 
int omap3_pm_set_suspend_state (struct powerdomain *pwrdm, int state)
 
void omap24xx_idle_loop_suspend (void)
 
void omap24xx_cpu_suspend (u32 dll_ctrl, void __iomem *sdrc_dlla_ctrl, void __iomem *sdrc_power)
 
void omap34xx_cpu_suspend (int save_state)
 
void omap3_do_wfi (void)
 
int save_secure_ram_context (u32 *addr)
 
void omap3_save_scratchpad_contents (void)
 

Variables

voidomap3_secure_ram_storage
 
int(* omap_pm_suspend )(void)
 
unsigned int omap24xx_idle_loop_suspend_sz
 
unsigned int omap24xx_cpu_suspend_sz
 
unsigned int omap3_do_wfi_sz
 
void(* omap3_do_wfi_sram )(void)
 
unsigned int save_secure_ram_context_sz
 

Macro Definition Documentation

#define enable_off_mode   0

Definition at line 60 of file pm.h.

#define IS_PM34XX_ERRATUM (   id)    0

Definition at line 101 of file pm.h.

#define pm_dbg_update_time (   pwrdm,
  prev 
)    do {} while (0);

Definition at line 66 of file pm.h.

#define PM_PER_MEMORIES_ERRATUM_i582   (1 << 2)

Definition at line 94 of file pm.h.

#define PM_RTA_ERRATUM_i608   (1 << 0)

Definition at line 92 of file pm.h.

#define PM_SDRC_WAKEUP_ERRATUM_i583   (1 << 1)

Definition at line 93 of file pm.h.

Function Documentation

void omap24xx_cpu_suspend ( u32  dll_ctrl,
void __iomem sdrc_dlla_ctrl,
void __iomem sdrc_power 
)
void omap24xx_idle_loop_suspend ( void  )
void omap34xx_cpu_suspend ( int  save_state)
void omap3_do_wfi ( void  )
int omap3_pm_get_suspend_state ( struct powerdomain pwrdm)

Definition at line 588 of file pm34xx.c.

void omap3_pm_off_mode_enable ( int  )

Definition at line 564 of file pm34xx.c.

int omap3_pm_set_suspend_state ( struct powerdomain pwrdm,
int  state 
)

Definition at line 599 of file pm34xx.c.

void omap3_save_scratchpad_contents ( void  )
int omap_pm_clkdms_setup ( struct clockdomain clkdm,
void unused 
)

Definition at line 82 of file pm.c.

int omap_set_pwrdm_state ( struct powerdomain pwrdm,
u32  state 
)

Definition at line 97 of file pm.c.

void omap_sram_idle ( void  )

Definition at line 237 of file pm34xx.c.

int save_secure_ram_context ( u32 addr)

Variable Documentation

unsigned int omap24xx_cpu_suspend_sz
unsigned int omap24xx_idle_loop_suspend_sz
void(* omap3_do_wfi_sram)(void)

Definition at line 71 of file pm34xx.c.

unsigned int omap3_do_wfi_sz
void* omap3_secure_ram_storage
int(* omap_pm_suspend)(void)

Definition at line 40 of file pm.c.

unsigned int save_secure_ram_context_sz