iio_dma_buffer_usage(9)
π
iio_dma_buffer_usage
okay bestie, straight from the Kernel API Manual β this one is the DMA buffer's data_available and space_available callback, and it's literally here to tell you what's up with your buffer data. β¨
πΈ NAME
iio_dma_buffer_usage β the DMA buffer data_available and space_available callback π
β¨ SYNOPSIS
size_t iio_dma_buffer_usage (struct iio_buffer *buf );
π ARGUMENTS
bufβ the buffer you're checking for data availability π«Ά
π¦ DESCRIPTION
Should be used as the data_available and space_available callbacks for the iio_buffer_access_ops struct for DMA buffers. no cap, that's the whole vibe check on this one π
π₯ 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_enable(9)iio_dma_buffer_disable(9)iio_dma_buffer_read(9)iio_dma_buffer_write(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)
mwah π bye bestie β source/version: ./drivers/iio/buffer, dated 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