diff options
author | Omar Ramirez Luna <omar.ramirez@ti.com> | 2010-06-23 09:12:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-23 18:39:08 -0400 |
commit | 6280238c13e16a105fe658e1b6e68380cbc9f055 (patch) | |
tree | 199b6ab9d09fc4a02fa19eb0b89681ad58967e51 /drivers/staging/tidspbridge/include/dspbridge/dspmsg.h | |
parent | 26f8db7d2e20218272cbf889edfdb8328b4cd9c3 (diff) |
staging: ti dspbridge: add header files
Add TI's DSP Bridge driver header files
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Kanigeri, Hari <h-kanigeri2@ti.com>
Signed-off-by: Ameya Palande <ameya.palande@nokia.com>
Signed-off-by: Guzman Lugo, Fernando <fernando.lugo@ti.com>
Signed-off-by: Hebbar, Shivananda <x0hebbar@ti.com>
Signed-off-by: Ramos Falcon, Ernesto <ernesto@ti.com>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Anna, Suman <s-anna@ti.com>
Signed-off-by: Gupta, Ramesh <grgupta@ti.com>
Signed-off-by: Gomez Castellanos, Ivan <ivan.gomez@ti.com>
Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
Signed-off-by: Armando Uribe De Leon <x0095078@ti.com>
Signed-off-by: Deepak Chitriki <deepak.chitriki@ti.com>
Signed-off-by: Menon, Nishanth <nm@ti.com>
Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/include/dspbridge/dspmsg.h')
-rw-r--r-- | drivers/staging/tidspbridge/include/dspbridge/dspmsg.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/dspmsg.h b/drivers/staging/tidspbridge/include/dspbridge/dspmsg.h new file mode 100644 index 00000000000..a10634e264b --- /dev/null +++ b/drivers/staging/tidspbridge/include/dspbridge/dspmsg.h | |||
@@ -0,0 +1,56 @@ | |||
1 | /* | ||
2 | * dspmsg.h | ||
3 | * | ||
4 | * DSP-BIOS Bridge driver support functions for TI OMAP processors. | ||
5 | * | ||
6 | * Declares the upper edge message class library functions required by | ||
7 | * all Bridge driver / DSP API interface tables. These functions are | ||
8 | * implemented by every class of Bridge driver channel library. | ||
9 | * | ||
10 | * Notes: | ||
11 | * Function comment headers reside in dspdefs.h. | ||
12 | * | ||
13 | * Copyright (C) 2005-2006 Texas Instruments, Inc. | ||
14 | * | ||
15 | * This package is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License version 2 as | ||
17 | * published by the Free Software Foundation. | ||
18 | * | ||
19 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | ||
20 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | ||
21 | * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
22 | */ | ||
23 | |||
24 | #ifndef DSPMSG_ | ||
25 | #define DSPMSG_ | ||
26 | |||
27 | #include <dspbridge/msgdefs.h> | ||
28 | |||
29 | extern int bridge_msg_create(OUT struct msg_mgr **phMsgMgr, | ||
30 | struct dev_object *hdev_obj, | ||
31 | msg_onexit msgCallback); | ||
32 | |||
33 | extern int bridge_msg_create_queue(struct msg_mgr *hmsg_mgr, | ||
34 | OUT struct msg_queue **phMsgQueue, | ||
35 | u32 msgq_id, u32 max_msgs, void *h); | ||
36 | |||
37 | extern void bridge_msg_delete(struct msg_mgr *hmsg_mgr); | ||
38 | |||
39 | extern void bridge_msg_delete_queue(struct msg_queue *msg_queue_obj); | ||
40 | |||
41 | extern int bridge_msg_get(struct msg_queue *msg_queue_obj, | ||
42 | struct dsp_msg *pmsg, u32 utimeout); | ||
43 | |||
44 | extern int bridge_msg_put(struct msg_queue *msg_queue_obj, | ||
45 | IN CONST struct dsp_msg *pmsg, u32 utimeout); | ||
46 | |||
47 | extern int bridge_msg_register_notify(struct msg_queue *msg_queue_obj, | ||
48 | u32 event_mask, | ||
49 | u32 notify_type, | ||
50 | struct dsp_notification | ||
51 | *hnotification); | ||
52 | |||
53 | extern void bridge_msg_set_queue_id(struct msg_queue *msg_queue_obj, | ||
54 | u32 msgq_id); | ||
55 | |||
56 | #endif /* DSPMSG_ */ | ||