devm_iio_dm...er_setup_ext(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 devm_iio_dmaengine_buffer_setup_ext(9) 🌸

okay bestie, welcome to the Kernel API Manual πŸ’– this one's a lil function that sets up a DMA buffer for an IIO device, and honestly? she's giving behind-the-scenes main character energy πŸŽ€


✨ NAME ✨

devm_iio_dmaengine_buffer_setup_ext β€” Setup a DMA buffer for an IIO device πŸ¦‹


✨ SYNOPSIS ✨

int devm_iio_dmaengine_buffer_setup_ext (struct device *dev , struct
iio_dev *indio_dev , const char *channel , enum iio_buffer_direction dir
);

✨ ARGUMENTS ✨

  • dev β€” the device that owns this whole devm situation πŸ’… she's also the DMA channel consumer device, so like, double duty, iconic
  • indio_dev β€” the IIO device you're attaching this buffer to 🫢 that's her home now
  • channel β€” the DMA channel name, and typically it's "rx" πŸ“₯
  • dir β€” the direction of the buffer, so like, in or out 🧭

✨ DESCRIPTION ✨

so what she actually does: she allocates a brand new IIO buffer with devm_iio_dmaengine_buffer_alloc ⭐ and then attaches it to an IIO device with iio_device_attach_buffer πŸ”—

and that's not all, because she is an overachiever πŸ’… she also appends the INDIO_BUFFER_HARDWARE mode to the supported modes of the IIO device πŸ‘‘


✨ SEE ALSO ✨


okay that's the whole page, no cap 🌈 this one came out of ./drivers/iio/buffer, dated October 2026, and honestly? she ate πŸ’–βœ¨ go set up some buffers bestie, you got this πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from