aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-12-14 09:06:30 +0530
committerVinod Koul <vinod.koul@intel.com>2016-12-14 09:06:30 +0530
commitdb82df3e81b4c89e39b82bf6aa290612cfb2c12c (patch)
tree85008eac72af1b1d2cd2362e3a71ad3eefb46f48 /include/linux
parentMerge branch 'topic/ioat' into for-linus (diff)
parentdmaengine: edma: re-initialize dummy slot during system resume (diff)
downloadlinux-dev-db82df3e81b4c89e39b82bf6aa290612cfb2c12c.tar.xz
linux-dev-db82df3e81b4c89e39b82bf6aa290612cfb2c12c.zip
Merge branch 'topic/omap' into for-linus
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dmaengine.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index cc535a478bae..feee6ec6a13b 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -336,6 +336,12 @@ enum dma_slave_buswidth {
* may or may not be applicable on memory sources.
* @dst_maxburst: same as src_maxburst but for destination target
* mutatis mutandis.
+ * @src_port_window_size: The length of the register area in words the data need
+ * to be accessed on the device side. It is only used for devices which is using
+ * an area instead of a single register to receive the data. Typically the DMA
+ * loops in this area in order to transfer the data.
+ * @dst_port_window_size: same as src_port_window_size but for the destination
+ * port.
* @device_fc: Flow Controller Settings. Only valid for slave channels. Fill
* with 'true' if peripheral should be flow controller. Direction will be
* selected at Runtime.
@@ -363,6 +369,8 @@ struct dma_slave_config {
enum dma_slave_buswidth dst_addr_width;
u32 src_maxburst;
u32 dst_maxburst;
+ u32 src_port_window_size;
+ u32 dst_port_window_size;
bool device_fc;
unsigned int slave_id;
};