summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-05-17 07:45:34 +0300
committerVinod Koul <vinod.koul@intel.com>2016-05-17 07:45:34 +0300
commitf9114a54c1d828abbe87ac446a2da49d9720203f (patch)
tree3a455186b118c7ec19896f1327a806e602e2d1ff /include/linux
parent0f5c85f48a3d5cb4f551a7d68592085e75591df3 (diff)
parentba16db36b5dd6a0f053ba7d50745f29678b4ca8f (diff)
downloadlinux-f9114a54c1d828abbe87ac446a2da49d9720203f.tar.xz
Merge branch 'topic/xilinx' into for-linus
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dma/xilinx_dma.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/dma/xilinx_dma.h b/include/linux/dma/xilinx_dma.h
index 34b98f276ed0..3ae300052553 100644
--- a/include/linux/dma/xilinx_dma.h
+++ b/include/linux/dma/xilinx_dma.h
@@ -41,6 +41,20 @@ struct xilinx_vdma_config {
int ext_fsync;
};
+/**
+ * enum xdma_ip_type: DMA IP type.
+ *
+ * XDMA_TYPE_AXIDMA: Axi dma ip.
+ * XDMA_TYPE_CDMA: Axi cdma ip.
+ * XDMA_TYPE_VDMA: Axi vdma ip.
+ *
+ */
+enum xdma_ip_type {
+ XDMA_TYPE_AXIDMA = 0,
+ XDMA_TYPE_CDMA,
+ XDMA_TYPE_VDMA,
+};
+
int xilinx_vdma_channel_set_config(struct dma_chan *dchan,
struct xilinx_vdma_config *cfg);