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
Linux 4.6-rc6
[cris-mirror.git]
/
include
/
linux
/
dma
/
pxa-dma.h
blob
3edc99294bf66c34cbab5862d63ed5546ca4b854
1
#ifndef _PXA_DMA_H_
2
#define _PXA_DMA_H_
3
4
enum
pxad_chan_prio
{
5
PXAD_PRIO_HIGHEST
=
0
,
6
PXAD_PRIO_NORMAL
,
7
PXAD_PRIO_LOW
,
8
PXAD_PRIO_LOWEST
,
9
};
10
11
struct
pxad_param
{
12
unsigned int
drcmr
;
13
enum
pxad_chan_prio prio
;
14
};
15
16
struct
dma_chan
;
17
18
#ifdef CONFIG_PXA_DMA
19
bool
pxad_filter_fn
(
struct
dma_chan
*
chan
,
void
*
param
);
20
#else
21
static
inline
bool
pxad_filter_fn
(
struct
dma_chan
*
chan
,
void
*
param
)
22
{
23
return false
;
24
}
25
#endif
26
27
#endif
/* _PXA_DMA_H_ */