aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2017-09-06 21:54:48 +0530
committerVinod Koul <vinod.koul@intel.com>2017-09-06 21:54:48 +0530
commit346ea25e811b1e260fde7a446aa18833ca7e7b79 (patch)
treef827832a9e99c6b489f14fd046254e3970449fce /include/linux/dmaengine.h
parentMerge branch 'topic/ppc4xx' into for-linus (diff)
parentdmaengine: qcom: bam_dma: add command descriptor flag (diff)
downloadwireguard-linux-346ea25e811b1e260fde7a446aa18833ca7e7b79.tar.xz
wireguard-linux-346ea25e811b1e260fde7a446aa18833ca7e7b79.zip
Merge branch 'topic/qcom' into for-linus
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r--include/linux/dmaengine.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 533680860865..dd4de1d40166 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -186,6 +186,9 @@ struct dma_interleaved_template {
* on the result of this operation
* @DMA_CTRL_REUSE: client can reuse the descriptor and submit again till
* cleared or freed
+ * @DMA_PREP_CMD: tell the driver that the data passed to DMA API is command
+ * data and the descriptor should be in different format from normal
+ * data descriptors.
*/
enum dma_ctrl_flags {
DMA_PREP_INTERRUPT = (1 << 0),
@@ -195,6 +198,7 @@ enum dma_ctrl_flags {
DMA_PREP_CONTINUE = (1 << 4),
DMA_PREP_FENCE = (1 << 5),
DMA_CTRL_REUSE = (1 << 6),
+ DMA_PREP_CMD = (1 << 7),
};
/**