STRUCT MTK_HSDMA_CB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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