bam_tx_status(9)
π bam_tx_status(9) β a Kernel API Manual moment
Okay so bestie, we're in the kernel API manual, section 9, and today's main character is bam_tx_status. Yes it's a whole function. Yes it's iconic. Let's get into it π
β¨ NAME β¨
bam_tx_status β returns status of transaction π«
Like, that's literally the whole gig. It tells you how your DMA transaction is doing. Vibe check, but for transfers π₯
πΈ SYNOPSIS πΈ
enum dma_status bam_tx_status (struct dma_chan *chan , dma_cookie_t
cookie , struct dma_tx_state *txstate );
There it is, copy it exactly, don't @ me π«Ά
π¦ ARGUMENTS π¦
chanβ dma channel π the actual channel we're asking about, bestiecookieβ transaction cookie πͺ your lil ticket that identifies which transaction you meantxstateβ DMA transaction state π the struct where all the state-y details go
π DESCRIPTION π
Return status of dma transaction. That's it, that's the whole thing β¨ It gives you back the status of the DMA transaction you asked about, no cap π
Heads up: the manual is genuinely this short. It's giving "confident and concise" and honestly? Slay.
π SEE ALSO π
Kernel file ./drivers/dma/qcom/bam_dma.c π§ β and here's the whole friend group, all of them, in order, no one left out:
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_dma_terminate_all(9)bam_pause(9)bam_resume(9)process_channel_irqs(9)bam_dma_irq(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)
Nineteen besties. Go read them all, iykyk ππ
And that's the page, bestie! π«Ά One tiny sign-off for the record: this manual page lives under ./drivers/dma/qcom and it's dated October 2026. Periodt. βπ
π¦ 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