aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sh_dma.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-06-17 04:21:05 -0400
committerPaul Mundt <lethal@linux-sh.org>2011-06-21 04:56:11 -0400
commit260bf2c5f69f419b04b6861ca91565b5fb16ce48 (patch)
tree498536635f58c8fccbd6f46d3f3e2764fc35ca7e /include/linux/sh_dma.h
parente76c3af873025f5a704d56a28882be761e15657b (diff)
dmaengine: shdma: add .needs_tend_set / .no_dmars flags
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/linux/sh_dma.h')
-rw-r--r--include/linux/sh_dma.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sh_dma.h b/include/linux/sh_dma.h
index f25afc61e1c6..cb2dd118cc0f 100644
--- a/include/linux/sh_dma.h
+++ b/include/linux/sh_dma.h
@@ -66,6 +66,8 @@ struct sh_dmae_pdata {
66 u32 chcr_ie_bit; 66 u32 chcr_ie_bit;
67 67
68 unsigned int dmaor_is_32bit:1; 68 unsigned int dmaor_is_32bit:1;
69 unsigned int needs_tend_set:1;
70 unsigned int no_dmars:1;
69}; 71};
70 72
71/* DMA register */ 73/* DMA register */
@@ -75,6 +77,8 @@ struct sh_dmae_pdata {
75#define CHCR 0x0C 77#define CHCR 0x0C
76#define DMAOR 0x40 78#define DMAOR 0x40
77 79
80#define TEND 0x18 /* USB-DMAC */
81
78/* DMAOR definitions */ 82/* DMAOR definitions */
79#define DMAOR_AE 0x00000004 83#define DMAOR_AE 0x00000004
80#define DMAOR_NMIF 0x00000002 84#define DMAOR_NMIF 0x00000002