bam_dma_terminate_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘‘:

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