summaryrefslogtreecommitdiffstats
path: root/include/linux/sh_dma.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-06-17 08:20:40 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-06-21 17:55:57 +0900
commit5899a723b336da241b492583d7e55f1055f8f3b3 (patch)
tree3d75b8d88a99e277779325790903a76913a3e2d9 /include/linux/sh_dma.h
parent090b91805a97f58a7deff0f2b40aad1cc2f1b7e0 (diff)
downloadlinux-stable-5899a723b336da241b492583d7e55f1055f8f3b3.tar.gz
linux-stable-5899a723b336da241b492583d7e55f1055f8f3b3.tar.bz2
linux-stable-5899a723b336da241b492583d7e55f1055f8f3b3.zip
dmaengine: shdma: add chcr_write/read function
CHCR register position is not same in all DMAC. This patch adds new "chcr_offset" 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 b08cd4efa15c..41fe4c2d6481 100644
--- a/include/linux/sh_dma.h
+++ b/include/linux/sh_dma.h
@@ -62,6 +62,7 @@ struct sh_dmae_pdata {
const unsigned int *ts_shift;
int ts_shift_num;
u16 dmaor_init;
+ unsigned int chcr_offset;
};
/* DMA register */