bam_dma_terminate_all(9)
π bam_dma_terminate_all β the kernel API manual, bestie edition β¨
okay so you opened bam_dma_terminate_all(9) and you're like "what is this, what does it do, why is it yelling" β don't worry, I got you π«Ά. It's a kernel API manual page, it lives in the bam_dma_terminate_all(9) section of the manual, and we're gonna go through it together, no cap.
πΈ NAME πΈ
bam_dma_terminate_all β terminate all transactions on a channel. literally all of them. every last one. it's giving cleanup era π
β¨ SYNOPSIS β¨
int bam_dma_terminate_all (struct dma_chan *chan );
that's the whole signature, exactly like that, don't @ me π
π ARGUMENTS π
chanβ the bam dma channel. that's the one. the main character of this function π
π DESCRIPTION π
So what actually happens here? Bestie, it dequeues and frees all transactions. All of them. Gone. Dequeued AND freed, both things, in that order, no survivors π§Ήβ¨
And the important part β like, genuinely important, don't skip this β No callbacks are done. None. Zero. Not a single callback. So if you were sitting there waiting for a callback to fire, uh, she's not coming π. That's just how it is, fr fr.
π¦ SEE ALSO π¦
Kernel file ./drivers/dma/qcom/bam_dma.c β that's the source file, go read it if you want the lore π
And a whole friend group of related functions, all in section 9, all iconic in their own way π:
bam_addr(9)bam_reset(9)bam_reset_channel(9)bam_chan_init_hw(9)bam_alloc_chan(9)bam_free_chan(9)bam_slave_config(9)bam_prep_slave_sg(9)bam_pause(9)bam_resume(9)process_channel_irqs(9)bam_dma_irq(9)bam_tx_status(9)bam_apply_new_config(9)bam_start_dma(9)dma_tasklet(9)bam_issue_pending(9)bam_dma_free_desc(9)bam_init(9)
go read them all, i'll wait π
ok that's the whole page bestie, go forth and terminate some transactions responsibly π
mwah π this page came from the ./drivers/dma/qcom directory, it's dated October 2026, and it's filed under bam_dma_terminate_all(9) β slay, periodt, bye ππ§
π¦ 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