STRUCT MTK_CQDMA_VDESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 for struct 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 β€” The lise_head struct to build link-list for VDs. (Yes, the manual says lise_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