Maemo patchset 20101501+0m5
[h-e-n] / arch / arm / plat-omap / include / dspbridge / wmddeh.h
diff --git a/arch/arm/plat-omap/include/dspbridge/wmddeh.h b/arch/arm/plat-omap/include/dspbridge/wmddeh.h
new file mode 100644 (file)
index 0000000..60704da
--- /dev/null
@@ -0,0 +1,66 @@
+/*
+ * wmddeh.h
+ *
+ * DSP-BIOS Bridge driver support functions for TI OMAP processors.
+ *
+ * Copyright (C) 2005-2006 Texas Instruments, Inc.
+ *
+ * This package is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+
+/*
+ *  ======== wmddeh.h ========
+ *  Description:
+ *      Defines upper edge DEH functions required by all WMD/WCD driver
+ *      interface tables.
+ *
+ *  Public Functions:
+ *      WMD_DEH_Create
+ *      IVA_DEH_Create
+ *      WMD_DEH_Destroy
+ *      WMD_DEH_GetInfo
+ *      WMD_DEH_RegisterNotify
+ *      WMD_DEH_Notify
+ *
+ *  Notes:
+ *      Function comment headers reside with the function typedefs in wmd.h.
+ *
+ *! Revision History:
+ *! ================
+ *! 26-Dec-2004 hn: added IVA_DEH_Create.
+ *! 13-Sep-2001 kc: created.
+ */
+
+#ifndef WMDDEH_
+#define WMDDEH_
+
+#include <dspbridge/devdefs.h>
+
+#include <dspbridge/dehdefs.h>
+
+       extern DSP_STATUS WMD_DEH_Create(OUT struct DEH_MGR **phDehMgr,
+                                        struct DEV_OBJECT *hDevObject);
+
+       extern DSP_STATUS WMD_DEH_Destroy(struct DEH_MGR *hDehMgr);
+
+       extern DSP_STATUS WMD_DEH_GetInfo(struct DEH_MGR *hDehMgr,
+                                         struct DSP_ERRORINFO *pErrInfo);
+
+       extern DSP_STATUS WMD_DEH_RegisterNotify(struct DEH_MGR *hDehMgr,
+                                                u32 uEventMask,
+                                                u32 uNotifyType,
+                                                struct DSP_NOTIFICATION
+                                                *hNotification);
+
+       extern void WMD_DEH_Notify(struct DEH_MGR *hDehMgr,
+                                  u32 ulEventMask, u32 dwErrInfo);
+
+       extern void WMD_DEH_ReleaseDummyMem(void);
+#endif                         /* WMDDEH_ */