mite_prep_dma(9)
π 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:
mite_bytes_in_transit(9)mite_sync_dma(9)mite_ack_linkc(9)mite_done(9)mite_dma_arm(9)mite_dma_disarm(9)mite_request_channel_in_range(9)mite_request_channel(9)mite_release_channel(9)mite_init_ring_descriptors(9)mite_buf_change(9)mite_alloc_ring(9)mite_free_ring(9)mite_attach(9)mite_detach(9)
π«Ά okay thatβs the page, bestie β source/version:./drivers/comedi/driversΒ· date:October 2026Β·mite_prep_dma(9)π
π¦ 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