kernel-aes67/drivers/iio/buffer
Nuno Sa 9c446288d7 iio: buffer-dmaengine: export buffer alloc and free functions
Export iio_dmaengine_buffer_free() and iio_dmaengine_buffer_alloc().
This is in preparation of introducing IIO backends support. This will
allow us to allocate a buffer and control it's lifetime from a device
different from the one holding the DMA firmware properties. Effectively,
in this case the struct device holding the firmware information about
the DMA channels is not the same as iio_dev->dev.parent (typical case).

While at it, namespace the buffer-dmaengine exports and update the
current user of these buffers.

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240210-iio-backend-v11-4-f5242a5fb42a@analog.com
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-02-19 19:32:21 +00:00
..
Kconfig
Makefile
industrialio-buffer-cb.c
industrialio-buffer-dma.c iio: buffer-dma: split iio_dma_buffer_fileio_free() function 2023-12-21 11:30:59 +00:00
industrialio-buffer-dmaengine.c iio: buffer-dmaengine: export buffer alloc and free functions 2024-02-19 19:32:21 +00:00
industrialio-hw-consumer.c
industrialio-triggered-buffer.c
kfifo_buf.c