atc_prep_dma_memset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” this page is all about atc_prep_dma_memset, and what it does is, and I quote, prepare a memcpy operation. yes, the memset page says memcpy. that's what the page says, i'm not gonna lie to you, i'm just the messenger 🫢


✨ SYNOPSIS ✨

struct dma_async_tx_descriptor * atc_prep_dma_memset (struct dma_chan
*chan , dma_addr_t dest , int value , size_t len , unsigned long flags
);

like, literally that's the whole vibe. five args, one descriptor pointer coming back at you πŸ’«


πŸŽ€ ARGUMENTS πŸŽ€

  • chan β€” the channel you're preparing this operation on, i.e. where the work actually happens 🎯
  • dest β€” the operation's virtual destination address, aka where the bytes are going, main character address energy πŸ‘‘
  • value β€” the value you're setting the memory buffer to, fr fr 🌸
  • len β€” the operation length, so how much we're working with, no cap πŸ“
  • flags β€” the tx descriptor status flags, the little detail gremlins that tell you what state this descriptor is in 🏷️
ngl bestie, read those argument names one more time before you ship anything β€” this is kernel code and there's no undo button πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group lives in the kernel file ./drivers/dma/at_hdmac.c and honestly it's giving icon behavior 🌈 here's everyone:


and that's the page, bestie πŸ₯Ή tysm for reading, go touch some DMA descriptors (gently). this lil baddie came from ./drivers/dma, dated October 2026, and it answers to the name atc_prep_dma_memset(9) πŸ’–βœ¨πŸŽ€πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from