iio_dma_buffer_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ‘€


🫢 that’s the whole page, bestie! source/version: ./drivers/iio/buffer πŸ’– date: October 2026 ✨
πŸ“¦ where this page comes from