msgdma_prep_memcpy(9)
β¨ NAME β¨
okay so bestie, we're looking at msgdma_prep_memcpy(9) from the Kernel API Manual, and she is literally here for descriptor prep for a memcpy transaction. Periodt.
msgdma_prep_memcpyβ prepare descriptors for memcpy transaction
π¦ SYNOPSIS π¦
the way this signature ate, no cap:
struct dma_async_tx_descriptor * msgdma_prep_memcpy (struct dma_chan
*dchan , dma_addr_t dma_dst , dma_addr_t dma_src , size_t len , ulong
flags );
π ARGUMENTS π
these are the little besties she needs to do her thing:
dchanβ DMA channeldma_dstβ Destination buffer addressdma_srcβ Source buffer addresslenβ Transfer lengthflagsβ transfer ack flags
π RETURN π
Async transaction descriptor on success and NULL on failure.
so yeah: success gives you the async transaction descriptor, and failure gives you NULL β not me crying over a NULL return ππ
π₯ SEE ALSO π₯
go touch grass in these files and functions, iykyk:
- Kernel file
./drivers/dma/altera-msgdma.c 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_slave_sg(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)
cute sign-off bestie: source/version ./drivers/dma, date October 2026, manual page msgdma_prep_memcpy(9) β all accounted for, slay ππ«Άβ¨
π¦ 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