dmaengine: qcom_bam_dma: Add descriptor flags
authorAndy Gross <agross@codeaurora.org>
Fri, 30 May 2014 20:49:50 +0000 (15:49 -0500)
committerVinod Koul <vinod.koul@intel.com>
Mon, 14 Jul 2014 16:36:41 +0000 (22:06 +0530)
commit89751d0a2a05197e0823eb0a363efd034175a76f
tree7a8bb8d3419ed2320ad51fd217fbedf30fff042f
parent43452fadd614b62b84e950838cb7d2419f3aafb1
dmaengine: qcom_bam_dma: Add descriptor flags

This patch adds support for end of transaction (EOT) and notify when done (NWD)
hardware descriptor flags.

The EOT flag requests that the peripheral assert an end of transaction interrupt
when that descriptor is complete.  It also results in special signaling protocol
that is used between the attached peripheral and the core using the DMA
controller.  Clients will specify DMA_PREP_INTERRUPT to enable this flag.

The NWD flag requests that the peripheral wait until the data has been fully
processed by the peripheral before moving on to the next descriptor.  Clients
will specify DMA_PREP_FENCE to enable this flag.

Signed-off-by: Andy Gross <agross@codeaurora.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/qcom_bam_dma.c
This page took 0.025697 seconds and 5 git commands to generate.