bam_slave_config(9)
π bam_slave_config(9) π
okay so this is a page from the Kernel API Manual, bestie β the bam_slave_config(9) entry, to be exact. buckle up π
β¨ NAME β¨
bam_slave_config β set slave configuration for channel
like, it configures the slave. for a channel. that's the whole vibe π
πΈ SYNOPSIS πΈ
int bam_slave_config (struct dma_chan *chan , struct dma_slave_config
*cfg );
it returns an int, it takes a struct dma_chan * and a struct dma_slave_config *, and yes the spacing in the original is a little feral, we keep it exactly as-is π«Ά
π¦ ARGUMENTS π¦
chanβ the dma channel π«cfgβ the slave configuration π
two args, zero notes, very demure.
π DESCRIPTION π
Sets slave configuration for channel. that's it. that's the sentence. it's giving short and iconic and honestly? we respect it. no cap, this function's whole job is taking your cfg and applying it to chan as the slave configuration. periodt. β¨
π₯ SEE ALSO π₯
first up, the source file where all the magic lives:
./drivers/dma/qcom/bam_dma.c
and now the whole friend group, alphabetically-ish, all here, all invited to the group chat π:
bam_addr(9)bam_reset(9)bam_reset_channel(9)bam_chan_init_hw(9)bam_alloc_chan(9)bam_free_chan(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)
ngl that's a whole roster. go read them. iykyk π§
π reminder bestie: everything above is exactly what the page says β no extra lore, no invented behaviour. bam_slave_config sets the slave configuration for the channel, full stop.
okay and the cute sign-off: this absolute gem lives in ./drivers/dma/qcom, it's dated October 2026, and it's filed under bam_slave_config(9) in the Kernel API Manual. slay, bye, go configure a channel responsibly πΈππ
π¦ 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