STRUCT MTK_HSDMA_VDESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct mtk_hsdma_vdesc(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes, the actual kernel docs, we're doing this, and honestly? this one's a little cutie. πŸŽ€


🌸 NAME 🌸

struct mtk_hsdma_vdesc β€” the struct that holds all the info describing a virtual descriptor (aka a VD, iykyk πŸ’…)

like, that's it, that's the whole vibe. it's the little container that keeps track of a virtual descriptor for you. no cap.


✨ SYNOPSIS ✨

struct mtk_hsdma_vdesc {
    struct virt_dma_desc vd;
    size_t len;
    size_t residue;
    dma_addr_t dest;
    dma_addr_t src;
 };

look at her. five fields. flawless. main character energy fr fr πŸ‘‘


πŸ¦‹ Members πŸ¦‹

okay let's meet the cast, one by one 🫢

  • vd β€” an instance for struct virt_dma_desc. she's the foundation, the blueprint, the it girl this whole struct is built around. πŸ’–
  • len β€” the total data size the device wants to move. as in, the whole entire thing. the full send. πŸ”₯
  • residue β€” the remaining data size the device will move. basically what's left after some of it's been dealt with. the leftovers but make it ✨data✨ πŸ“
  • dest β€” the destination address the device wants to move to. like the address it's heading toward. very "going to the party" energy 🌈
  • src β€” the source address the device wants to move from. where it all starts. the origin story. πŸ’œ
ngl these five are lowkey doing a whole relay race together and honestly? they ate. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/dma/mediatek/mtk-hsdma.c, and honestly the whole friend group is here so let's give them their shoutouts πŸ’–:

  • struct mtk_hsdma_pdesc(9)
  • struct mtk_hsdma_cb(9)
  • struct mtk_hsdma_ring(9)
  • struct mtk_hsdma_pchan(9)
  • struct mtk_hsdma_vchan(9)
  • struct mtk_hsdma_soc(9)
  • struct mtk_hsdma_device(9)

go read those too, they're iconic, trust. 🧚


and that's the page bestie!! πŸ’œ this lil drop came at you from ./drivers/dma/mediatek, dated October 2026 β€” so yeah, mark your calendar, this is the struct mtk_hsdma_vdesc(9) era and we're all living in it. slay. πŸ’…βœ¨

πŸ“¦ where this page comes from