summaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/include/dspbridge/wmddeh.h
blob: 60704da248d557c0944f44d0d0ea0b3731e3e513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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_ */