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/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/err.h>
#include <linux/opp.h>
#include <linux/export.h>
#include <linux/suspend.h>
#include <linux/cpu.h>
#include <asm/system_misc.h>
#include <plat/omap-pm.h>
#include <plat/omap_device.h>
#include "common.h"
#include "prcm-common.h"
#include "voltage.h"
#include "powerdomain.h"
#include "clockdomain.h"
#include "pm.h"
#include "twl-common.h"

Go to the source code of this file.

Macros

#define FORCEWAKEUP_SWITCH   0
 
#define LOWPOWERSTATE_SWITCH   1
 

Functions

int __init omap_pm_clkdms_setup (struct clockdomain *clkdm, void *unused)
 
int omap_set_pwrdm_state (struct powerdomain *pwrdm, u32 pwrst)
 
 postcore_initcall (omap2_common_pm_init)
 
int __init omap2_common_pm_late_init (void)
 

Variables

int(* omap_pm_suspend )(void)
 

Macro Definition Documentation

#define FORCEWAKEUP_SWITCH   0

Definition at line 79 of file pm.c.

#define LOWPOWERSTATE_SWITCH   1

Definition at line 80 of file pm.c.

Function Documentation

int __init omap2_common_pm_late_init ( void  )

Definition at line 308 of file pm.c.

int __init 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  pwrst 
)

Definition at line 97 of file pm.c.

postcore_initcall ( omap2_common_pm_init  )

Variable Documentation

int(* omap_pm_suspend)(void)

Definition at line 40 of file pm.c.