STRUCT MTK_GPUEB_MBOX_CHAN(9)
πΈ struct mtk_gpueb_mbox_chan(9) πΈ
okay so bestie, welcome to the Kernel API Manual π β this little cutie is a struct, and it's literally the per-channel runtime data for the mtk_gpueb mailbox situation. think of it as the main-character glow-up each mailbox channel gets at runtime β¨
β¨ NAME β¨
struct mtk_gpueb_mbox_chan β per-channel runtime data π
like yes it's just a struct, but it's the struct that holds all the runtime deets for one single channel. no cap.
π¦ SYNOPSIS π¦
struct mtk_gpueb_mbox_chan {
struct mtk_gpueb_mbox *ebm;
char *full_name;
u8 num;
atomic_t rx_status;
const struct mtk_gpueb_mbox_chan_desc *c;
};
periodt. that's the whole vibe. now let's meet the members one by one π
π Members π
ebmβ pointer to the parentstruct mtk_gpueb_mboxmailbox π like, this channel's mom, basically. it knows who it belongs to.full_nameβ descriptive name of channel for IRQ subsystem π·οΈ this is the pretty name the IRQ subsystem gets to see. make it descriptive, bestie, it's literally in the name.numβ channel number, starting at0π’ so the first one is0, not1. we're zero-indexed in this house, always.rx_statusβ signifies whether channel reception is turned off, or full π¬ anatomic_t, so it's lowkey built for concurrency β it's telling you whether this channel's reception is off or full.cβ pointer to the constantstruct mtk_gpueb_mbox_chan_descchannel data π§ theconstis doing the heavy lifting here, it's the immutable description data for the channel. icon behavior, honestly.
π SEE ALSO π
- Kernel file
./drivers/mailbox/mtk-gpueb-mailbox.cβ go read the source bestie, it's all there π struct mtk_gpueb_mbox_chan_desc(9)mtk_gpueb_mbox_read_rx(9)
π«Ά friendly reminder:numstarts at0andrx_statusis anatomic_tβ those aren't vibes, those are facts. iykyk π
and that's the whole page, babe π§ source/version is ./drivers/mailbox and the date on this cutie is October 2026 β so yeah, this manual page is lowkey from the future πβ¨ slay, go forth and mailbox responsibly ππ₯
π¦ 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