1/* 2 * pwr_sh.h 3 * 4 * DSP-BIOS Bridge driver support functions for TI OMAP processors. 5 * 6 * Power Manager shared definitions (used on both GPP and DSP sides). 7 * 8 * Copyright (C) 2008 Texas Instruments, Inc. 9 * 10 * This package is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License version 2 as 12 * published by the Free Software Foundation. 13 * 14 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 17 */ 18 19#ifndef PWR_SH_ 20#define PWR_SH_ 21 22#include <dspbridge/mbx_sh.h> 23 24/* valid sleep command codes that can be sent by GPP via mailbox: */ 25#define PWR_DEEPSLEEP MBX_PM_DSPIDLE 26#define PWR_EMERGENCYDEEPSLEEP MBX_PM_EMERGENCYSLEEP 27#define PWR_SLEEPUNTILRESTART MBX_PM_SLEEPUNTILRESTART 28#define PWR_WAKEUP MBX_PM_DSPWAKEUP 29#define PWR_AUTOENABLE MBX_PM_PWRENABLE 30#define PWR_AUTODISABLE MBX_PM_PWRDISABLE 31#define PWR_RETENTION MBX_PM_DSPRETN 32 33#endif /* PWR_SH_ */ 34