STRUCT MTK_HSDMA_VCHAN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mtk_hsdma_vchan(9) β€” like, the whole vibe

okay so bestie, welcome to the Kernel API Manual ✨ this one's about struct mtk_hsdma_vchan(9) and honestly it's giving "small struct, big responsibilities" πŸŽ€


🌸 NAME 🌸

struct mtk_hsdma_vchan β€” the struct that holds all the info describing a virtual channel (VC for short, iykyk) πŸ¦‹


✨ SYNOPSIS ✨

struct mtk_hsdma_vchan {
    struct virt_dma_chan vc;
    struct completion issue_completion;
    bool issue_synchronize;
    struct list_head desc_hw_processing;
 };

like, that's the whole shape of it, no cap πŸ’–


🧚 Members 🧚

bestie, here's the member-by-member breakdown, and yes I'm gonna be thorough because every field matters:

  • vc β€” an instance of struct virt_dma_chan. that's it, that's the field, it's literally the virtual dma channel living its main character life inside πŸ’…
  • issue_completion β€” the wait for all issued descriptors to be completed. think of it as the group-chat "are we all here??" ping before anyone can move on 🫢
  • issue_synchronize β€” a bool that indicates the channel synchronization starts. true/false, iconic binary energy ⭐
  • desc_hw_processing β€” the list of those descriptors the hardware is currently processing. heads up though: it's protected by vc.lock, so don't be out here touching it without the lock, fr fr πŸ”’

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/dma/mediatek/mtk-hsdma.c
  • struct mtk_hsdma_pdesc(9)
  • struct mtk_hsdma_vdesc(9)
  • struct mtk_hsdma_cb(9)
  • struct mtk_hsdma_ring(9)
  • struct mtk_hsdma_pchan(9)
  • struct mtk_hsdma_soc(9)
  • struct mtk_hsdma_device(9)

like, go read the whole family, they're all slay πŸ‘‘


ngl, this page came from ./drivers/dma/mediatek, dated October 2026, and it's titled struct mtk_hsdma_vchan(9) β€” so now you know exactly where it lives and when it was born πŸ’€πŸ’–

okay bye bestie, go forth and read your structs πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from