devm_iio_dm...er_setup_ext(9)
πΈ 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, iconicindio_devβ the IIO device you're attaching this buffer to π«Ά that's her home nowchannelβ 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 β¨
- Kernel file
./drivers/iio/buffer/industrialio-buffer-dmaengine.cπ iio_dmaengine_buffer_alloc(9)iio_dmaengine_buffer_free(9)iio_dmaengine_buffer_teardown(9)iio_dmaengine_buffer_setup_ext(9)devm_iio_dmaengine_buffer_setup_with_handle(9)
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
- 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