Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pwr.h File Reference
#include <dspbridge/dbdefs.h>
#include <dspbridge/mbx_sh.h>

Go to the source code of this file.

Macros

#define PWR_DEEPSLEEP   MBX_PM_DSPIDLE
 
#define PWR_EMERGENCYDEEPSLEEP   MBX_PM_EMERGENCYSLEEP
 
#define PWR_WAKEUP   MBX_PM_DSPWAKEUP
 

Functions

int pwr_sleep_dsp (const u32 sleep_code, const u32 timeout)
 
int pwr_wake_dsp (const u32 timeout)
 
int pwr_pm_pre_scale (u16 voltage_domain, u32 level)
 
int pwr_pm_post_scale (u16 voltage_domain, u32 level)
 

Macro Definition Documentation

#define PWR_DEEPSLEEP   MBX_PM_DSPIDLE

Definition at line 24 of file pwr.h.

#define PWR_EMERGENCYDEEPSLEEP   MBX_PM_EMERGENCYSLEEP

Definition at line 25 of file pwr.h.

#define PWR_WAKEUP   MBX_PM_DSPWAKEUP

Definition at line 26 of file pwr.h.

Function Documentation

int pwr_pm_post_scale ( u16  voltage_domain,
u32  level 
)

Definition at line 147 of file pwr.c.

int pwr_pm_pre_scale ( u16  voltage_domain,
u32  level 
)

Definition at line 113 of file pwr.c.

int pwr_sleep_dsp ( const u32  sleep_code,
const u32  timeout 
)

Definition at line 39 of file pwr.c.

int pwr_wake_dsp ( const u32  timeout)

Definition at line 82 of file pwr.c.