zynqmp_dma_prep_memcpy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« zynqmp_dma_prep_memcpy(9) πŸ’«

okay bestie, welcome to the Kernel API Manual ✨ β€” today's main character is zynqmp_dma_prep_memcpy(9), and honestly? she's giving "quietly essential". let's get into it 🫢


🌸 NAME 🌸

zynqmp_dma_prep_memcpy β€” prepare descriptors for memcpy transaction πŸ’…

like, she's the one doing the prep work before the actual copy happens. the backstage icon. the pre-show glam. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct dma_async_tx_descriptor * zynqmp_dma_prep_memcpy (struct dma_chan
*dchan , dma_addr_t dma_dst , dma_addr_t dma_src , size_t len , ulong
flags );

no cap, that's the whole signature. every param, every type, exactly as it is. don't @ me, I didn't write it 😭


✨ ARGUMENTS ✨

  • dchan β€” the DMA channel πŸ’œ like, the lane she's driving in
  • dma_dst β€” destination buffer address 🎯 where the stuff is going
  • dma_src β€” source buffer address πŸ“¦ where the stuff is coming from
  • len β€” transfer length πŸ“ how much we're moving, bestie
  • flags β€” transfer ack flags 🚩 the acknowledgement vibes

πŸ‘‘ RETURN πŸ‘‘

async transaction descriptor on success πŸ’– and NULL on failure πŸ’€ β€” so like, always check, okay? don't be out here dereferencing a NULL and acting surprised πŸ™ˆ


🌈 SEE ALSO 🌈

the whole friend group, fr fr. she does not exist in a vacuum 🧚

Kernel file ./drivers/dma/xilinx/zynqmp_dma.c, plus:


reminder bestie: this page lives under ./drivers/dma/xilinx, so if you go looking for the source, that's the neighborhood 🏑

and that's the whole vibe check πŸ’… signing off from the Kernel API Manual, dated October 2026, brought to you by ./drivers/dma/xilinx β€” stay hydrated, read your structs, and may all your descriptors be async and your returns non-NULL πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from