bam_prep_slave_sg(9)
πΈ bam_prep_slave_sg πΈ
okay bestie, welcome to the bam_prep_slave_sg(9) Kernel API Manual page π this one is short, iconic, and here to prep a slave sg transaction. no cap, let's get into it β¨
π NAME π
bam_prep_slave_sg β Prep slave sg transaction π
π¦ SYNOPSIS π¦
struct dma_async_tx_descriptor * bam_prep_slave_sg (struct dma_chan
*chan , struct scatterlist *sgl , unsigned int sg_len , enum
dma_transfer_direction direction , unsigned long flags , void *context
);
π§ ARGUMENTS π§
the whole cast, in order, periodt:
chanβ dma channel πsglβ scatter gather list πsg_lenβ length of sg πdirectionβ DMA transfer direction π§flagsβ DMA flags π©contextβ transfer context (unused) π yes bestie, it literally says unused
π SEE ALSO π
kernel file: ./drivers/dma/qcom/bam_dma.c β go read it, iykyk π«Ά
and the whole friend group is: 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_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) β
xoxo π source/version: ./drivers/dma/qcom Β· date: October 2026 Β· page: bam_prep_slave_sg(9) β bye bestie! π«Άπ
π¦ 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