bam_reset_channel(9)
π
bam_reset_channel β section 9, Kernel API Manual, bestie edition
Okay so picture this: you're deep in the Qualcomm BAM DMA driver, ./drivers/dma/qcom/bam_dma.c, and one specific channel is acting up. Not the whole controller β just one channel. Main character problem, honestly. That's literally what this function is for. π
β¨ NAME β¨
bam_reset_channel β reset individual BAM DMA channel
Yes bestie, individual. Not all of them. We're being surgical here. π
π¦ SYNOPSIS π¦
void bam_reset_channel (struct bam_chan *bchan );
That's it. That's the whole vibe. Returns void, so no exit status to worry about β she just does the thing and leaves. π
πΈ ARGUMENTS πΈ
bchanβ bam channel
That's the whole cast list, ngl. One pointer, one job. It's giving minimalism. β¨
π DESCRIPTION π
This function resets a specific BAM channel.
I know, I know β short and sweet. But fr fr, that's the entire bit: you hand her a struct bam_chan *, she resets that channel. Not the neighbours, not the controller, just the one you pointed at. Lowkey iconic that a function can be this focused. π«Ά
π₯ SEE ALSO π₯
The kernel file is ./drivers/dma/qcom/bam_dma.c, and here's the whole friend group β go say hi:
bam_addr(9)bam_reset(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_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)
Like, the entire group chat is in here. If bam_reset_channel is your fave, chances are bam_pause(9) and bam_resume(9) are right there in the same thread. π§
π Pro tip from me to you:bam_reset(9)is the controller-level reset, andbam_reset_channel(9)is the one-channel-level reset. Don't mix them up, bestie β different levels, different energy. π
That's the whole page, mwah π β source path ./drivers/dma/qcom, dated October 2026, footer faithfully preserved because I would never skip a detail. 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