msgdma_prep_memcpy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 channel
  • dma_dst β€” Destination buffer address
  • dma_src β€” Source buffer address
  • len β€” Transfer length
  • flags β€” 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:


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