]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - include/linux/dma/pxa-dma.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / include / linux / dma / pxa-dma.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
a57e16cf
RJ
2#ifndef _PXA_DMA_H_
3#define _PXA_DMA_H_
4
5enum pxad_chan_prio {
6 PXAD_PRIO_HIGHEST = 0,
7 PXAD_PRIO_NORMAL,
8 PXAD_PRIO_LOW,
9 PXAD_PRIO_LOWEST,
10};
11
12struct pxad_param {
13 unsigned int drcmr;
14 enum pxad_chan_prio prio;
15};
16
17struct dma_chan;
18
19#ifdef CONFIG_PXA_DMA
20bool pxad_filter_fn(struct dma_chan *chan, void *param);
21#else
22static inline bool pxad_filter_fn(struct dma_chan *chan, void *param)
23{
24 return false;
25}
26#endif
27
28#endif /* _PXA_DMA_H_ */