iio_dma_buffer_enable(9)
β¨ iio_dma_buffer_enable(9) β¨
okay bestie, welcome to the Kernel API Manual page for iio_dma_buffer_enable π this one is lowkey iconic.
π NAME π
iio_dma_buffer_enable β Enable DMA buffer β¨
π SYNOPSIS π
int iio_dma_buffer_enable (struct iio_buffer *buffer , struct iio_dev
*indio_dev );
π¦ ARGUMENTS π¦
bufferβ IIO buffer to enable πindio_devβ IIO device the buffer is attached to π«Ά
πΈ DESCRIPTION πΈ
okay so listen: this needs to be called when the device that the buffer is attached to starts sampling. typically, it should be the iio_buffer_access_ops enable callback. periodt β¨
it will allocate the DMA buffers and start the DMA transfers. slay π
π SEE ALSO π
- Kernel file:
./drivers/iio/buffer/industrialio-buffer-dma.cπ iio_dma_buffer_block_done(9)iio_dma_buffer_block_list_abort(9)iio_dma_buffer_request_update(9)iio_dma_buffer_disable(9)iio_dma_buffer_read(9)iio_dma_buffer_write(9)iio_dma_buffer_usage(9)iio_dma_buffer_set_bytes_per_datum(9)iio_dma_buffer_set_length(9)iio_dma_buffer_init(9)iio_dma_buffer_exit(9)iio_dma_buffer_release(9)π
π«Ά thatβs the whole page, bestie! source/version:./drivers/iio/bufferπ date:October 2026β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms