STRUCT MTK_CQDMA_VDESC(9)
β¨ struct mtk_cqdma_vdesc β the Kernel API Manual bestie β¨
Okay so real talk, this is the manual page for struct mtk_cqdma_vdesc, and it's lowkey iconic. It's the struct that holds all the info describing a virtual descriptor (CVD). No cap, that's literally what it does. π
πΈ SYNOPSIS πΈ
Like, here's the whole vibe, character for character:
struct mtk_cqdma_vdesc {
struct virt_dma_desc vd;
size_t len;
size_t residue;
dma_addr_t dest;
dma_addr_t src;
struct dma_chan *ch;
struct list_head node;
struct mtk_cqdma_vdesc *parent;
};
π Members π
Bestie, let me walk you through every single field because they ALL matter, fr fr:
vdβ An instance forstruct virt_dma_desc. It's giving base-class energy, the main character of the struct ngl.lenβ The total data size the device wants to move. Like, the whole entire goal. π―residueβ The remaining data size the device will move. Not done yet, still cooking. π₯destβ The destination address the device wants to move to. Where we're going bestie. πsrcβ The source address the device wants to move from. Where it all started. π±chβ The pointer to the corresponding dma channel. The connection, the link, the moment. πnodeβ Thelise_headstruct to build link-list for VDs. (Yes, the manual sayslise_head, we don't fix it, we respect it. π)parentβ The pointer to the parent CVD. Family tree realness. π
π SEE ALSO π
If you're obsessed (and you should be), go check out the Kernel file ./drivers/dma/mediatek/mtk-cqdma.c plus these other icons:
struct mtk_cqdma_pchan(9)struct mtk_cqdma_vchan(9)struct mtk_cqdma_device(9)
They're all in ./drivers/dma/mediatek and they all ate. Periodt. π
β¨
π«Ά That's the whole page bestie, no gatekeeping. Go forth and slay your DMA descriptors.
Source/version + date sign-off: This lil masterpiece lives in ./drivers/dma/mediatek and the manual is dated October 2026 β mark your calendars, it's giving future classic. πβ
π¦ 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