Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0 */
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_ */