repo.or.cz
/
cris-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
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
blob
e56ec7af4fd7ca1054dba37f0a1800c079d21d27
1
/* SPDX-License-Identifier: GPL-2.0 */
2
#ifndef _PXA_DMA_H_
3
#define _PXA_DMA_H_
4
5
enum
pxad_chan_prio
{
6
PXAD_PRIO_HIGHEST
=
0
,
7
PXAD_PRIO_NORMAL
,
8
PXAD_PRIO_LOW
,
9
PXAD_PRIO_LOWEST
,
10
};
11
12
struct
pxad_param
{
13
unsigned int
drcmr
;
14
enum
pxad_chan_prio prio
;
15
};
16
17
struct
dma_chan
;
18
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
)
23
{
24
return false
;
25
}
26
#endif
27
28
#endif
/* _PXA_DMA_H_ */