STRUCT MTK_HSDMA_PCHAN(9)
π 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 oneatomic_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
- 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