summaryrefslogtreecommitdiff
path: root/drivers/staging/tidspbridge/include/dspbridge/dspdeh.h
blob: 439471196df68f5d4e3897a977b0ced3ead0ee10 (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
/*
 * dspdeh.h
 *
 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
 *
 * Defines upper edge DEH functions required by all Bridge driver/DSP API
 * interface tables.
 *
 * Notes:
 *   Function comment headers reside with the function typedefs in dspdefs.h.
 *
 * 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.
 */

#ifndef DSPDEH_
#define DSPDEH_

#include <dspbridge/devdefs.h>

#include <dspbridge/dehdefs.h>

extern int bridge_deh_create(struct deh_mgr **ret_deh_mgr,
		struct dev_object *hdev_obj);

extern int bridge_deh_destroy(struct deh_mgr *deh_mgr);

extern int bridge_deh_get_info(struct deh_mgr *deh_mgr,
		struct dsp_errorinfo *pErrInfo);

extern int bridge_deh_register_notify(struct deh_mgr *deh_mgr,
		u32 event_mask,
		u32 notify_type,
		struct dsp_notification *hnotification);

extern void bridge_deh_notify(struct deh_mgr *deh_mgr,
		u32 ulEventMask, u32 dwErrInfo);

extern void bridge_deh_release_dummy_mem(void);
#endif /* DSPDEH_ */