diff options
author | Paul Cercueil <paul@crapouillou.net> | 2024-06-20 15:27:24 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-30 13:29:28 +0300 |
commit | 7a86d469983ace116c320680643f4991019e87f1 (patch) | |
tree | 5b69aa638288368687b2a453730e524f509c6b3c /Documentation/iio/iio_dmabuf_api.rst | |
parent | d85318900c1c06a251ad3d86fba6bbab116a95d5 (diff) | |
download | linux-7a86d469983ace116c320680643f4991019e87f1.tar.xz |
iio: buffer-dmaengine: Support new DMABUF based userspace API
Use the functions provided by the buffer-dma core to implement the
DMABUF userspace API in the buffer-dmaengine IIO buffer implementation.
Since we want to be able to transfer an arbitrary number of bytes and
not necesarily the full DMABUF, the associated scatterlist is converted
to an array of DMA addresses + lengths, which is then passed to
dmaengine_prep_slave_dma_array().
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Co-developed-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240620122726.41232-6-paul@crapouillou.net
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/iio/iio_dmabuf_api.rst')
0 files changed, 0 insertions, 0 deletions