dmaengine_prep_dma_memset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 dmaengine_prep_dma_memset(9) 🌸

okay bestie, welcome to the Kernel API Manual πŸ’– this is a kernel-internals page, so grab a lil snack β€” we're setting up a DMA memset descriptor and it's gonna be iconic.


✨ NAME ✨

dmaengine_prep_dma_memset β€” prepare a DMA memset descriptor πŸŽ€

Like, you're prepping it. Not launching it. Promise. It's giving "outfit laid out the night before" energy, not "already at the party" energy πŸ’…


✨ SYNOPSIS ✨

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

look at her. five args. all business. 🫢


✨ ARGUMENTS ✨

  • chan β€” the channel you're using for this descriptor ✨ like, which DMA engine is doing the work, bestie. gotta pick one.
  • dest β€” the address of the buffer to be set 🎯 this is where the magic lands.
  • value β€” treated as a single byte value that fills the destination buffer πŸ“ so like... one byte, copied everywhere. that's the whole vibe. don't come in here expecting a 32-bit word, okay? single byte. periodt.
  • len β€” the total size of dest πŸ“ how much of it we're filling.
  • flags β€” DMA engine flags 🚩 the flags, from the DMA engine. them.

✨ SEE ALSO ✨

the whole friend group πŸ’œ the kernel file ./include/linux/dmaengine.h plus literally everyone in the DMA roster:

go read them. iykyk πŸ’€βœ¨


ngl bestie, there's no OPTIONS section on this one β€” she's a straight-up function page, no flags to scroll through. you're welcome 😭

aaaand that's the page!! πŸ¦‹ brought to you straight out of ./include/linux, dated October 2026, by your fave Kernel API Manual β€” no cap, she ate πŸ’…πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from