linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration
@ 2011-07-10 15:03 Sundaram Raju
  2011-07-11  9:28 ` Linus Walleij
  2011-07-12  4:17 ` Jassi Brar
  0 siblings, 2 replies; 14+ messages in thread
From: Sundaram Raju @ 2011-07-10 15:03 UTC (permalink / raw)
  To: linux-arm-kernel

Added new dma_ctrl_cmd TI_DMA_STRIDE_CONFIG to pass the TI DMA
controller specific configurations on how a buffer must be walked
through and how data is picked for transfer based on a specified
pattern over the channel.

The configuration passed is specific to the TI DMA controller used.

Signed-off-by: Sundaram Raju <sundaram@ti.com>
---
 include/linux/dmaengine.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index eee7add..51dadc4 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -123,6 +123,10 @@ enum dma_ctrl_flags {
  * command.
  * @FSLDMA_EXTERNAL_START: this command will put the Freescale DMA controller
  * into external start mode.
+ * @TI_DMA_STRIDE_CONFIG: this command is only implemented by TI DMA
+ * controllers that need to pass special configuration on how to walk through
+ * the buffer to pick up data in a specified pattern to be transferred in
+ * the channel.
  */
 enum dma_ctrl_cmd {
 	DMA_TERMINATE_ALL,
@@ -130,6 +134,7 @@ enum dma_ctrl_cmd {
 	DMA_RESUME,
 	DMA_SLAVE_CONFIG,
 	FSLDMA_EXTERNAL_START,
+	TI_DMA_STRIDE_CONFIG,
 };
 
 /**
-- 
1.6.2.4

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-07-23 20:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-10 15:03 [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration Sundaram Raju
2011-07-11  9:28 ` Linus Walleij
2011-07-11 21:39   ` Dan Williams
2011-07-12  9:58     ` Linus Walleij
2011-07-12 10:15       ` Raju, Sundaram
2011-07-12  4:17 ` Jassi Brar
2011-07-12 10:03   ` Linus Walleij
2011-07-12 10:56     ` Raju, Sundaram
2011-07-12 11:09       ` Linus Walleij
2011-07-12 11:20     ` Jassi Brar
2011-07-12 11:31       ` Raju, Sundaram
2011-07-12 12:45         ` Jassi Brar
2011-07-18  7:51           ` Raju, Sundaram
2011-07-23 20:35             ` Jassi Brar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).