summaryrefslogtreecommitdiffstats
path: root/include/linux/sh_dma.h
diff options
context:
space:
mode:
authorKuninori Morimoto2011-06-17 10:20:51 +0200
committerPaul Mundt2011-06-21 10:56:01 +0200
commit67c6269e5c998b53c2c08ce2befbbe20a7b6f57f (patch)
treef06100f0cb5717ce5e1ef89cbd7bd12830165ed5 /include/linux/sh_dma.h
parentdmaengine: shdma: add chcr_write/read function (diff)
downloadkernel-qcow2-linux-67c6269e5c998b53c2c08ce2befbbe20a7b6f57f.tar.gz
kernel-qcow2-linux-67c6269e5c998b53c2c08ce2befbbe20a7b6f57f.tar.xz
kernel-qcow2-linux-67c6269e5c998b53c2c08ce2befbbe20a7b6f57f.zip
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 'include/linux/sh_dma.h')
-rw-r--r--include/linux/sh_dma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sh_dma.h b/include/linux/sh_dma.h
index 41fe4c2d6481..96803aa7b6bd 100644
--- a/include/linux/sh_dma.h
+++ b/include/linux/sh_dma.h
@@ -63,6 +63,7 @@ struct sh_dmae_pdata {
int ts_shift_num;
u16 dmaor_init;
unsigned int chcr_offset;
+ u32 chcr_ie_bit;
};
/* DMA register */