mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
7a86d46998
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> |
||
---|---|---|
.. | ||
industrialio-buffer-cb.c | ||
industrialio-buffer-dma.c | ||
industrialio-buffer-dmaengine.c | ||
industrialio-hw-consumer.c | ||
industrialio-triggered-buffer.c | ||
Kconfig | ||
kfifo_buf.c | ||
Makefile |