summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/cmpxchg.h
diff options
context:
space:
mode:
authorAbhishek Sahu <absahu@codeaurora.org>2017-08-01 19:41:43 +0530
committerVinod Koul <vinod.koul@intel.com>2017-08-28 16:40:18 +0530
commitdfebb055f73a24e2c8756b837d9ce1a06457f5d7 (patch)
tree4c87fd3817e19901214578ba3425856f27f08674 /include/asm-generic/cmpxchg.h
parent3e00ab4ac51c2ed47c28fd5000c47399f1a11cf5 (diff)
downloadtalos-obmc-linux-dfebb055f73a24e2c8756b837d9ce1a06457f5d7.tar.gz
talos-obmc-linux-dfebb055f73a24e2c8756b837d9ce1a06457f5d7.zip
dmaengine: qcom: bam_dma: wrapper functions for command descriptor
QCOM BAM also supports command descriptor which allows the SW to create descriptors of type command which does not generate any data transmissions but configures registers in the peripheral. In command descriptor the 32bit address point to the start of the command block which holds the command elements and the 16bit size define the size of the command block. Each Command Element is structured by 4 words: Write command: address + cmd register data register mask reserved Read command: address + cmd read data result address, reserved reserved This patch creates a new header file for BAM driver which contains the structures and wrapper functions for command descriptor. This file will be used by different QCOM peripheral drivers for forming the command descriptor Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/asm-generic/cmpxchg.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud