summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdchar.c
diff options
context:
space:
mode:
authorAbhishek Sahu <absahu@codeaurora.org>2017-08-17 14:07:41 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-08-23 16:49:26 +0200
commit381dd24539a85a4bdec155369e3216e6f267df7d (patch)
tree7ac43676af2370bb5d6c8c1ba4cab7646659df31 /drivers/mtd/mtdchar.c
parentmtd: nand: qcom: allocate BAM transaction (diff)
downloadlinux-381dd24539a85a4bdec155369e3216e6f267df7d.tar.xz
linux-381dd24539a85a4bdec155369e3216e6f267df7d.zip
mtd: nand: qcom: add BAM DMA descriptor handling
1. prepare_bam_async_desc is the function which will call all the DMA API’s. It will fetch the outstanding scatter gather list for passed channel and will do the DMA descriptor formation. The DMA flag is dependent upon the type of channel. 2. For ADM DMA, the descriptor is being formed for every DMA request so its sgl count will be always 1 while in BAM DMA, the clubbing of descriptor is being done to increase throughput. 3. ADM DMA uses only one channel while in BAM DMA, data descriptors will be submitted to tx channel (for write) or rx channel (for read) and all the registers read/write descriptors in command channel. Reviewed-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/mtdchar.c')
0 files changed, 0 insertions, 0 deletions