atc_prep_dma_memset(9)
π 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:
struct atdma_sg(9)struct at_desc(9)enum atc_status(9)struct at_dma_chan(9)struct at_dma(9)atc_chan_is_enabled(9)atc_chan_is_paused(9)atc_chan_is_cyclic(9)set_lli_eol(9)struct at_dma_platform_data(9)struct at_dma_slave(9)atc_dostart(9)atc_calc_bytes_left(9)atc_get_llis_residue(9)atc_get_residue(9)atc_handle_error(9)atc_prep_dma_interleaved(9)atc_prep_dma_memcpy(9)atc_prep_slave_sg(9)atc_prep_dma_cyclic(9)atc_tx_status(9)atc_alloc_chan_resources(9)atc_free_chan_resources(9)at_dma_off(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms