Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / dma / pxa-dma.h
blobe56ec7af4fd7ca1054dba37f0a1800c079d21d27
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PXA_DMA_H_
3 #define _PXA_DMA_H_
5 enum pxad_chan_prio {
6 PXAD_PRIO_HIGHEST = 0,
7 PXAD_PRIO_NORMAL,
8 PXAD_PRIO_LOW,
9 PXAD_PRIO_LOWEST,
12 struct pxad_param {
13 unsigned int drcmr;
14 enum pxad_chan_prio prio;
17 struct dma_chan;
19 #ifdef CONFIG_PXA_DMA
20 bool pxad_filter_fn(struct dma_chan *chan, void *param);
21 #else
22 static inline bool pxad_filter_fn(struct dma_chan *chan, void *param)
24 return false;
26 #endif
28 #endif /* _PXA_DMA_H_ */