atc_prep_dma_memcpy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… atc_prep_dma_memcpy(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual, page atc_prep_dma_memcpy(9) β€” yes that's the whole title, and yes we are gonna get through it together, hand in hand, matching manicures and everything 🫢✨


✨ NAME ✨

atc_prep_dma_memcpy β€” lowkey the function that prepares a memcpy operation πŸŽ€

Like, it doesn't do the copying itself, it's the little backstage crew putting the operation together. main character energy but in a supportive way, yk? πŸ’–


🌸 SYNOPSIS 🌸

struct dma_async_tx_descriptor * atc_prep_dma_memcpy (struct dma_chan
*chan , dma_addr_t dest , dma_addr_t src , size_t len , unsigned long
flags );

it returns a struct dma_async_tx_descriptor *, no cap, and it takes exactly these five things β¬‡οΈπŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • chan β€” the channel to prepare the operation on. like, which lane we doing this in, bestie 🌈
  • dest β€” operation virtual destination address. this is where the stuff goes 🎯
  • src β€” operation virtual source address. this is where the stuff comes from πŸ“
  • len β€” operation length. how much we're moving, periodt πŸ“
  • flags β€” tx descriptor status flags. the lil status flags riding along with the descriptor 🏷️
ngl, that's the whole argument list β€” five args, no mystery, we ate πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, iykyk πŸ’œ β€” the kernel file ./drivers/dma/at_hdmac.c lives here too, so like, everything's connected bestie:


and that's the whole page, bestie, you absolutely devoured it πŸ’€πŸ‘‘

little sign-off moment: this one lives over in ./drivers/dma πŸŽ€, and it's dated October 2026 ⭐ β€” so yeah, stay tuned for the future, it's giving timeless documentation fr fr πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from