dma_cookie_init(9)
π dma_cookie_init(9) β the Kernel API Manual, but make it a group chat
okay so bestie, welcome to the Kernel API Manual β¨ today we're talking about dma_cookie_init, and honestly? it's giving "tiny function, big responsibility." π
πΈ NAME πΈ
dma_cookie_init β initialize the cookies for a DMA channel π
(yes, cookies. not the edible kind, sadly. π but no cap, they're just as important.)
β¨ SYNOPSIS β¨
void dma_cookie_init (struct dma_chan *chan );
that's it. that's the whole vibe. void return, one arg, done. iconic π«Ά
π¦ ARGUMENTS π¦
chanβ the dma channel you're initializing, bestie π this is the one that gets its cookies set up. slay.
π₯ SEE ALSO π₯
the whole friend group, fr fr β all these live in the kernel file ./drivers/dma/dmaengine.h:
dma_cookie_assign(9)dma_cookie_complete(9)dma_cookie_status(9)dmaengine_desc_get_callback(9)dmaengine_desc_callback_invoke(9)dmaengine_desc_get_callback_invoke(9)dmaengine_desc_callback_valid(9)
like. literally the entire cookie-and-callback squad. go read them too, iykyk π
ngl, if you got here you're probably poking at the DMA engine internals β respect. main character energy. π
kisses and cookies, bestie ππ§ β this page came to you from ./drivers/dma, dated October 2026, and it's the dma_cookie_init(9) manual page, periodt. ππ
β
π¦ 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