bam_prep_slave_sg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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