iio_dma_buffer_set_length(9)
β¨ NAME β¨
okay so bestie, welcome to the Kernel API Manual page for iio_dma_buffer_set_length(9) β and it's literally the DMA buffer set_length callback. π
no cap.
π SYNOPSIS π
int iio_dma_buffer_set_length (struct iio_buffer *buffer , unsigned int
length );
πΈ ARGUMENTS πΈ
bufferβ the buffer you're setting the length for, bestie.lengthβ the new buffer length, fresh and ready. β¨
π DESCRIPTION π
So the whole point, fr fr: use this as the set_length callback for the iio_buffer_access_ops struct when you're dealing with DMA buffers. That's the vibe β it's the callback slot, and you're filling it. periodt. π
π¦ SEE ALSO π¦
Kernel file: ./drivers/iio/buffer/industrialio-buffer-dma.c
also pls go peek at these, they're all in the same little universe:
iio_dma_buffer_block_done(9)iio_dma_buffer_block_list_abort(9)iio_dma_buffer_request_update(9)iio_dma_buffer_enable(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_init(9)iio_dma_buffer_exit(9)iio_dma_buffer_release(9)
xoxo, source/version ./drivers/iio/buffer β date October 2026 β page iio_dma_buffer_set_length(9) πβ¨π«Ά
π¦ 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