diff options
author | Jassi Brar <jaswinder.singh@linaro.org> | 2011-10-13 09:03:30 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2011-11-18 07:46:24 +0100 |
commit | b14dab792dee3245b628e046d80a7fad5573fea6 (patch) | |
tree | c77574d19be7c150b57bd9a9b0184580c733621b /drivers/dma/Makefile | |
parent | Merge branch 'dma_slave_direction' into next_test_dirn (diff) | |
download | linux-b14dab792dee3245b628e046d80a7fad5573fea6.tar.xz linux-b14dab792dee3245b628e046d80a7fad5573fea6.zip |
DMAEngine: Define interleaved transfer request api
Define a new api that could be used for doing fancy data transfers
like interleaved to contiguous copy and vice-versa.
Traditional SG_list based transfers tend to be very inefficient in
such cases as where the interleave and chunk are only a few bytes,
which call for a very condensed api to convey pattern of the transfer.
This api supports all 4 variants of scatter-gather and contiguous transfer.
Of course, neither can this api help transfers that don't lend to DMA by
nature, i.e, scattered tiny read/writes with no periodic pattern.
Also since now we support SLAVE channels that might not provide
device_prep_slave_sg callback but device_prep_interleaved_dma,
remove the BUG_ON check.
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Acked-by: Barry Song <Baohua.Song@csr.com>
[renamed dmaxfer_template to dma_interleaved_template
did fixup after the enum dma_transfer_merge]
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/Makefile')
0 files changed, 0 insertions, 0 deletions