STRUCT MTK_HSDMA_VDESC(9)
π 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 forstruct 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
- 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