dma_async_device_unregister(9)
okay so bestie π this is the dma_async_device_unregister(9) page from the Kernel API Manual, and we're gonna get you comfy with it. It's giving βcleanup eraβ energy, and yes, we're keeping every single detail.
β¨ NAME β¨
dma_async_device_unregister β unregister a DMA device π
πΈ SYNOPSIS πΈ
void dma_async_device_unregister (struct dma_device *device );
π ARGUMENTS π
deviceβ pointer tostruct dma_device. That's the one and only argument, bestie π«Ά
π¦ DESCRIPTION π¦
Okay so this routine is called by dma driver exit routines. dmaengine holds module references to prevent it being called while channels are in use. So the module-reference situation is the bodyguard here β periodt. π
π SEE ALSO π
Kernel file: ./drivers/dma/dmaengine.c β that's the source file to peep π
dev_to_dma_chan(9)struct dma_chan_tbl_ent(9)dma_chan_is_local(9)min_chan(9)dma_channel_rebalance(9)balance_ref_count(9)dma_chan_get(9)dma_chan_put(9)dma_find_channel(9)dma_issue_pending_all(9)dma_get_slave_channel(9)__dma_request_channel(9)dma_request_chan(9)dma_request_chan_by_mask(9)devm_dma_request_chan(9)dmaengine_get(9)dmaengine_put(9)dma_async_device_register(9)dmaenginem_async_device_register(9)dma_wait_for_async_tx(9)dma_run_dependencies(9)
mwah π that's the whole page, and the cute little source/version + date stamp at the very end is ./drivers/dma, October 2026 β bye bestie π
π¦ 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