summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorQuinn Jensen <quinn.jensen@freescale.com>2007-05-24 18:11:52 -0600
committerQuinn Jensen <quinn.jensen@freescale.com>2007-05-24 18:11:52 -0600
commitd0f87641e2f60648300eea75753bcd074ebde1e0 (patch)
tree3f06c0a4ab232a552359fec512e377238f5b7f49 /include
parentefe51830be6c7b9ab20033b8dd6c876ebca362d2 (diff)
CR TLSbo86992: Add IPCv2 support
http://www.bitshrine.org/gpp/linux-2.6.19.2-mx-sdma_ipcv2.patch
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-mxc/sdma.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mxc/sdma.h b/include/asm-arm/arch-mxc/sdma.h
index 2a2853816290..2cc4c90fe9c1 100644
--- a/include/asm-arm/arch-mxc/sdma.h
+++ b/include/asm-arm/arch-mxc/sdma.h
@@ -333,6 +333,24 @@ int mxc_dma_set_config(int channel, dma_request_t * p, int bd_index);
int mxc_dma_get_config(int channel, dma_request_t * p, int bd_index);
/*!
+ * This function is used by MXC IPC's write_ex2. It passes the a pointer to the
+ * data control structure to iapi_write_ipcv2()
+ *
+ * @param channel SDMA channel number
+ * @param ctrl_ptr Data Control structure pointer
+ */
+int mxc_sdma_write_ipcv2(int channel, void *ctrl_ptr);
+
+/*!
+ * This function is used by MXC IPC's read_ex2. It passes the a pointer to the
+ * data control structure to iapi_read_ipcv2()
+ *
+ * @param channel SDMA channel number
+ * @param ctrl_ptr Data Control structure pointer
+ */
+int mxc_sdma_read_ipcv2(int channel, void *ctrl_ptr);
+
+/*!
* Starts dma channel.
*
* @param channel channel number