mite_prep_dma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– mite_prep_dma(9) β€” Kernel API Manual πŸ¦‹

okay so welcome to the Kernel API Manual, bestie β€” this page is all about mite_prep_dma, and it’s giving β€œsetup era” for a MITE dma channel. The way this function gets a channel prepped for transfers? iconic. No cap. πŸ’…


✨ NAME ✨

mite_prep_dma β€” Prepare a MITE dma channel for transfers. periodt.


🌸 SYNOPSIS 🌸

void mite_prep_dma (struct mite_channel *mite_chan , unsigned int num_device_bits , unsigned int num_memory_bits );

ngl, it returns void, so there is no return value to obsess over here β€” the signature above is literally the whole synopsis vibe. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • mite_chan β€” MITE dma channel. this is the main character you’re prepping.
  • num_device_bits β€” device transfer size (8, 16, or 32-bits). pick your bits, bestie.
  • num_memory_bits β€” memory transfer size (8, 16, or 32-bits). same energy for the memory side.

πŸ”₯ SEE ALSO πŸ”₯

The Kernel file is ./drivers/comedi/drivers/mite.c β€” that’s the lore source, iykyk. Related besties in the manpage-verse:

🫢 okay that’s the page, bestie β€” source/version: ./drivers/comedi/drivers Β· date: October 2026 Β· mite_prep_dma(9) πŸ’–
πŸ“¦ where this page comes from