xilinx_cdma_prep_memcpy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xilinx_cdma_prep_memcpy(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so real talk, this one is from the Kernel API Manual (yes, the actual manpage name, we're official now πŸ’–) and it's genuinely one of the more chill functions in the Xilinx DMA cinematic universe. it does exactly one thing and it does it slayfully: it builds the descriptors for a memcpy transaction. no cap, that's the whole gig ✨


🌸 NAME 🌸

xilinx_cdma_prep_memcpy β€” prepare descriptors for a memcpy transaction

like, it's the prep girlie. it gets the descriptor vibes ready so the actual copying can happen later πŸ‘‘


✨ SYNOPSIS ✨

struct dma_async_tx_descriptor * xilinx_cdma_prep_memcpy (struct
dma_chan *dchan , dma_addr_t dma_dst , dma_addr_t dma_src , size_t len ,
unsigned long flags );

it's giving "returns a struct dma_async_tx_descriptor *" energy, and it takes five lil arguments. we'll get into each one, don't worry 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

okay bestie, let's meet the cast:

  • dchan β€” the DMA channel. main character energy, this is the channel we're operating on πŸ’…
  • dma_dst β€” destination address. where the bytes are going, i.e. the address they're moving to 🎯
  • dma_src β€” source address. where the bytes are coming from, i.e. their origin story 🌱
  • len β€” transfer length. how much we're actually moving, the "size of the vibe" if you will πŸ“
  • flags β€” transfer ack flags. the acknowledgement flags, kept exactly as they are, no notes 🚩

πŸ”₯ RETURN πŸ”₯

  • Async transaction descriptor on success β€” iconic, we ate πŸ’–
  • NULL on failure β€” which is the sad path, and honestly? we don't talk about her 😭

πŸ‘‘ SEE ALSO πŸ‘‘

the whole Xilinx DMA extended universe, fr fr. like we are not alone here:


lowkey a whole friend group πŸ’€ every single one of them is in this manpage too, so like… go read them, iykyk 🧚

and that's the page bestie 🌈 that was xilinx_cdma_prep_memcpy(9), coming to you from ./drivers/dma/xilinx, dated October 2026, in the Kernel API Manual β€” mwah, go prep some memcpy descriptors, ily, bye πŸ’œπŸŽ€

πŸ“¦ where this page comes from