iio_dma_buffer_usage(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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


mwah πŸ’‹ bye bestie β€” source/version: ./drivers/iio/buffer, dated October 2026. πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from