37 #ifndef ti_pm_IpcPower__include
38 #define ti_pm_IpcPower__include
40 #if defined (__cplusplus)
54 #define IpcPower_S_SUCCESS (0)
60 #define IpcPower_E_FAIL (-1)
66 #define IpcPower_E_MEMORY (-2)
199 #if defined (__cplusplus)
UInt32 mevt0
Definition: IpcPower.h:87
struct IpcPower_WugenEvtMask IpcPower_WugenEvtMask
Type representing OMAP's WUGEN_MEVT[0|1] registers.
Void IpcPower_wakeUnlock()
Enable the core to go to deep sleep mode.
Definition: IpcPower.h:72
Void IpcPower_suspend()
Initiate the suspend procedure.
Void IpcPower_wakeLock()
Disable the deep sleep mode in the core.
Definition: IpcPower.h:73
UInt IpcPower_hibernateUnlock()
Enable the core to go to suspend / hibernate.
IpcPower_Event
Event types for power management callbacks.
Definition: IpcPower.h:71
UInt32 mevt1
Definition: IpcPower.h:88
Bool IpcPower_canHibernate()
Return TRUE if hibernation is allowed.
Type representing OMAP's WUGEN_MEVT[0|1] registers.
Definition: IpcPower.h:86
Int IpcPower_registerCallback(Int event, IpcPower_CallbackFuncPtr fxn, Ptr data)
Register callback function for a Power event.
Int IpcPower_unregisterCallback(Int event, IpcPower_CallbackFuncPtr fxn)
Unregister callback function for a Power event.
Void IpcPower_setWugenEvtMask(IpcPower_WugenEvtMask *mask)
Set WUGEN mask used for suspend.
Void IpcPower_getWugenEvtMask(IpcPower_WugenEvtMask *mask)
Retrieve current WUGEN mask used for suspend.
UInt IpcPower_hibernateLock()
Disable the core to go to suspend / hibernate.
Void IpcPower_init()
Initialize the IpcPower module.
Void(* IpcPower_CallbackFuncPtr)(Int event, Ptr data)
Power Event Callback function type definition.
Definition: IpcPower.h:79
Void IpcPower_exit()
Finalize the IpcPower module.