diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-08-16 13:32:24 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-08-16 13:32:24 +0900 |
commit | bbcf6e8b66ab2fb5ddab4d0fe40c2e6a5ebe5301 (patch) | |
tree | 071fa9f86dc04a16570be367d04cff3b00c694ad /drivers/staging/tidspbridge/include/dspbridge/dspmsg.h | |
parent | sh: Use __GFP_ZERO for dma_generic_alloc_coherent(). (diff) | |
parent | Linux 2.6.36-rc1 (diff) | |
download | linux-dev-bbcf6e8b66ab2fb5ddab4d0fe40c2e6a5ebe5301.tar.xz linux-dev-bbcf6e8b66ab2fb5ddab4d0fe40c2e6a5ebe5301.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
arch/sh/include/asm/Kbuild
drivers/Makefile
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
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 000000000000..d4bd458bc8be --- /dev/null +++ b/drivers/staging/tidspbridge/include/dspbridge/dspmsg.h @@ -0,0 +1,56 @@ +/* + * dspmsg.h + * + * DSP-BIOS Bridge driver support functions for TI OMAP processors. + * + * Declares the upper edge message class library functions required by + * all Bridge driver / DSP API interface tables. These functions are + * implemented by every class of Bridge driver channel library. + * + * Notes: + * Function comment headers reside 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 DSPMSG_ +#define DSPMSG_ + +#include <dspbridge/msgdefs.h> + +extern int bridge_msg_create(struct msg_mgr **msg_man, + struct dev_object *hdev_obj, + msg_onexit msg_callback); + +extern int bridge_msg_create_queue(struct msg_mgr *hmsg_mgr, + struct msg_queue **msgq, + u32 msgq_id, u32 max_msgs, void *arg); + +extern void bridge_msg_delete(struct msg_mgr *hmsg_mgr); + +extern void bridge_msg_delete_queue(struct msg_queue *msg_queue_obj); + +extern int bridge_msg_get(struct msg_queue *msg_queue_obj, + struct dsp_msg *pmsg, u32 utimeout); + +extern int bridge_msg_put(struct msg_queue *msg_queue_obj, + const struct dsp_msg *pmsg, u32 utimeout); + +extern int bridge_msg_register_notify(struct msg_queue *msg_queue_obj, + u32 event_mask, + u32 notify_type, + struct dsp_notification + *hnotification); + +extern void bridge_msg_set_queue_id(struct msg_queue *msg_queue_obj, + u32 msgq_id); + +#endif /* DSPMSG_ */ |