STRUCT MTK_HSDMA_CB(9)
β¨ struct mtk_hsdma_cb(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for struct mtk_hsdma_cb(9) β she's a little struct but she's carrying main character energy for the RX ring, fr fr πΈ
π NAME π
struct mtk_hsdma_cb β the struct holding extra info required for RX ring to know what relevant VD the PD is being mapped to. literally her whole job π
π¦ SYNOPSIS π¦
struct mtk_hsdma_cb {
struct virt_dma_desc *vd;
enum mtk_hsdma_vdesc_flag flag;
};
like, that's it. that's the struct. adorable, no cap π«Ά
π Members π
vdβ Pointer to the relevant VD. yes bestie, a pointer, pointing at the VD in question, iconic behavior β¨flagβ Flag indicating what action should be taken when VD is completed. so when the VD finishes up, this lil flag tells everyone what to do next β she's the vibe check for completion π
π₯ SEE ALSO π₯
Kernel file ./drivers/dma/mediatek/mtk-hsdma.c β and the whole friend group, because structs travel in packs:
struct mtk_hsdma_pdesc(9)struct mtk_hsdma_vdesc(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 them all, iykyk π
and that's the page, bestie π this came to you from ./drivers/dma/mediatek, dated October 2026, filed under struct mtk_hsdma_cb(9) β mwah, slay, 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