STRUCT MTK_HSDMA_PCHAN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct mtk_hsdma_pchan(9) β€” the Kernel API Manual, bestie edition πŸ’–

Okay so bestie, welcome to the struct mtk_hsdma_pchan(9) page in the Kernel API Manual ✨ β€” this is the one about the struct holding info describing physical channel (PC). Yes, PC like physical channel, not personal computer, don't get it twisted πŸ’…


🌸 NAME 🌸

struct mtk_hsdma_pchan β€” literally the struct that holds all the info describing a physical channel (PC). That's it, that's the vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct mtk_hsdma_pchan {
    struct mtk_hsdma_ring ring;
    size_t sz_ring;
    atomic_t nr_free;
 };

Look at her. Iconic. Three members, zero notes πŸ’œ


πŸ‘‘ Members πŸ‘‘

  • ring β€” an instance for the underlying ring ✨
  • sz_ring β€” the total size allocated for the ring. Big "how much room do we actually have" energy πŸ’…
  • nr_free β€” the total number of free rooms in the ring. And bestie, listen: this one gets accessed and updated frequently between IRQ context and user context, all so it can reflect whether the ring can accept requests from VD πŸ‘€ That's a lot of pressure on one atomic_t, honestly. Main character energy fr fr πŸ”₯

🧚 SEE ALSO 🧚

Kernel file ./drivers/dma/mediatek/mtk-hsdma.c, plus the whole crew β€” the struct squad, if you will 😭🫢

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

Go read the whole family, bestie, they all link up πŸ’– No cap, iykyk 🌈

That's the whole page!! Shoutout to ./drivers/dma/mediatek for being the home address 🏑, to October 2026 for the date stamp πŸ—“οΈ, and to struct mtk_hsdma_pchan(9) for being the title of this whole lovely thing πŸ‘‘ Slay, and see you in the next manpage, bestie! πŸ’…βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from