summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw_dmac_regs.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-02-01 11:42:26 +0100
committerVinod Koul <vinod.koul@linux.intel.com>2012-02-22 13:45:38 +0100
commit327e6970258618da810f72e86cf2a8b803927e14 (patch)
treece5d4ac48b3b21a3d70d0acceebaa8b9e212daa1 /drivers/dma/dw_dmac_regs.h
parentdmaengine/dw_dmac: Add 64 bit access width support for slave xfers on mem side (diff)
downloadlinux-327e6970258618da810f72e86cf2a8b803927e14.tar.xz
linux-327e6970258618da810f72e86cf2a8b803927e14.zip
dmaengine/dw_dmac: Add support for DMA_SLAVE_CONFIG
This patch adds support for DMA_SLAVE_CONFIG in dwc DMAC controller. Fields in struct dw_dma_slave for passing similar data are preserved in this patch untill all existing users are fixed. That will be handled later in this patchset. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/dw_dmac_regs.h')
-rw-r--r--drivers/dma/dw_dmac_regs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/dma/dw_dmac_regs.h b/drivers/dma/dw_dmac_regs.h
index 5eef6946a367..2005d301803d 100644
--- a/drivers/dma/dw_dmac_regs.h
+++ b/drivers/dma/dw_dmac_regs.h
@@ -153,6 +153,9 @@ struct dw_dma_chan {
struct dw_cyclic_desc *cdesc;
unsigned int descs_allocated;
+
+ /* configuration passed via DMA_SLAVE_CONFIG */
+ struct dma_slave_config dma_sconfig;
};
static inline struct dw_dma_chan_regs __iomem *