iio_dma_buff...es_per_datum(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 iio_dma_buffer_set_bytes_per_datum β€” the manual, but make it make sense πŸ’…

okay so bestie, this is a page from the Kernel API Manual (yes, the kernel, we're fancy now) and it's about iio_dma_buffer_set_bytes_per_datum ✨


✨ NAME ✨

iio_dma_buffer_set_bytes_per_datum β€” the DMA buffer's set_bytes_per_datum callback, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

int iio_dma_buffer_set_bytes_per_datum (struct iio_buffer *buffer ,
                                        size_t bpd );

πŸŽ€ ARGUMENTS πŸŽ€

  • buffer β€” the buffer you're setting the bytes-per-datum for. literally the main character here πŸ‘‘
  • bpd β€” the new bytes-per-datum value. the glow-up number fr fr πŸ”₯

πŸ’– DESCRIPTION πŸ’–

okay so here's the vibe: you should use this as the set_bytes_per_datum callback for the iio_buffer_access_ops struct when you're dealing with DMA buffers. that's it, that's the whole assignment πŸ’… periodt.


🌈 SEE ALSO 🌈

like, the whole friend group, iykyk πŸ’œ


ngl there's not a ton here, but that's on purpose β€” it's a callback, not a whole saga πŸ™ˆ

and that's the page, bestie! πŸŽ€ this one's living in ./drivers/iio/buffer and it's dated October 2026 β€” yes, 2026, don't ask me, I just read the footer πŸ˜­πŸ’–

πŸ“¦ where this page comes from