summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2015-06-25 05:51:58 +0200
committerVinod Koul <vinod.koul@intel.com>2015-06-25 05:51:58 +0200
commitf2704052cb42aabfa19b3f897cbceb70e2e63c45 (patch)
tree441522897d4b6dcc2d5197d7711280214326f190 /include
parentMerge branch 'topic/xdmac' into for-linus (diff)
parentdmaengine: pxa_dma: add support for legacy transition (diff)
downloadlinux-f2704052cb42aabfa19b3f897cbceb70e2e63c45.tar.xz
linux-f2704052cb42aabfa19b3f897cbceb70e2e63c45.zip
Merge branch 'topic/pxa' into for-linus
Diffstat (limited to 'include')
-rw-r--r--include/linux/dma/pxa-dma.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/dma/pxa-dma.h b/include/linux/dma/pxa-dma.h
new file mode 100644
index 000000000000..3edc99294bf6
--- /dev/null
+++ b/include/linux/dma/pxa-dma.h
@@ -0,0 +1,27 @@
+#ifndef _PXA_DMA_H_
+#define _PXA_DMA_H_
+
+enum pxad_chan_prio {
+ PXAD_PRIO_HIGHEST = 0,
+ PXAD_PRIO_NORMAL,
+ PXAD_PRIO_LOW,
+ PXAD_PRIO_LOWEST,
+};
+
+struct pxad_param {
+ unsigned int drcmr;
+ enum pxad_chan_prio prio;
+};
+
+struct dma_chan;
+
+#ifdef CONFIG_PXA_DMA
+bool pxad_filter_fn(struct dma_chan *chan, void *param);
+#else
+static inline bool pxad_filter_fn(struct dma_chan *chan, void *param)
+{
+ return false;
+}
+#endif
+
+#endif /* _PXA_DMA_H_ */