msgdma_prep_slave_sg(9)
π
msgdma_prep_slave_sg(9) π
okay bestie, welcome to the Kernel API Manual β this is the msgdma_prep_slave_sg(9) page, and she is here to prep descriptors for a slave sg transaction. iconic.
β¨ NAME β¨
msgdma_prep_slave_sg β prepare descriptors for a slave sg transaction. that's the whole assignment, and she ate.
π SYNOPSIS π
struct dma_async_tx_descriptor * msgdma_prep_slave_sg (struct dma_chan
*dchan , struct scatterlist *sgl , unsigned int sg_len , enum
dma_transfer_direction dir , unsigned long flags , void *context );
π¦ ARGUMENTS π¦
dchanβ DMA channel. the channel in question, the main character of this call.sglβ Destination scatter list. literally the destination scatter list, no cap.sg_lenβ Number of entries in destination scatter list. count those entries, bestie.dirβ DMA transfer direction. which way the transfer is going.flagsβ transfer ack flags. yes, ack flags β not the vibe of being acknowledged, the transfer kind.contextβ transfer context (unused). she's marked unused, so don't come for her.
π SEE ALSO π
the Kernel file ./drivers/dma/altera-msgdma.c is the backstage pass, and these are the besties in the same orbit:
struct msgdma_extended_desc(9)struct msgdma_sw_desc(9)msgdma_get_descriptor(9)msgdma_free_descriptor(9)msgdma_free_desc_list(9)msgdma_desc_config(9)msgdma_desc_config_eod(9)msgdma_tx_submit(9)msgdma_prep_memcpy(9)msgdma_copy_desc_to_fifo(9)msgdma_start_transfer(9)msgdma_issue_pending(9)msgdma_chan_desc_cleanup(9)msgdma_complete_descriptor(9)msgdma_free_descriptors(9)msgdma_free_chan_resources(9)msgdma_alloc_chan_resources(9)msgdma_tasklet(9)msgdma_irq_handler(9)msgdma_dev_remove(9)msgdma_probe(9)msgdma_remove(9)
mwah π this page is from ./drivers/dma, dated October 2026, and it's the msgdma_prep_slave_sg(9) manual entry. slay, bye π
π¦ 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