aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/shdma.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-06-17 04:20:51 -0400
committerPaul Mundt <lethal@linux-sh.org>2011-06-21 04:56:01 -0400
commit67c6269e5c998b53c2c08ce2befbbe20a7b6f57f (patch)
treef06100f0cb5717ce5e1ef89cbd7bd12830165ed5 /drivers/dma/shdma.h
parent5899a723b336da241b492583d7e55f1055f8f3b3 (diff)
dmaengine: shdma: add chcr_ie_bit
IE bit position on CHCR register is not same in all DMAC. This patch adds new "chcr_ie_bit" to decide it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/dma/shdma.h')
-rw-r--r--drivers/dma/shdma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/shdma.h b/drivers/dma/shdma.h
index 6f064cad6c0f..dc56576f9fdb 100644
--- a/drivers/dma/shdma.h
+++ b/drivers/dma/shdma.h
@@ -48,6 +48,7 @@ struct sh_dmae_device {
48 u32 __iomem *chan_reg; 48 u32 __iomem *chan_reg;
49 u16 __iomem *dmars; 49 u16 __iomem *dmars;
50 unsigned int chcr_offset; 50 unsigned int chcr_offset;
51 u32 chcr_ie_bit;
51}; 52};
52 53
53#define to_sh_chan(chan) container_of(chan, struct sh_dmae_chan, common) 54#define to_sh_chan(chan) container_of(chan, struct sh_dmae_chan, common)