STRUCT MTK_GPUEB_MBOX_CHAN_DESC(9)
π struct mtk_gpueb_mbox_chan_desc(9) π
okay so bestie, we're deep in the Kernel API Manual right now β section 9, kernel-space girlie territory β and today's main character is this little struct. she's not doing a lot, but what she does, she does flawlessly. β¨
πΈ NAME πΈ
struct mtk_gpueb_mbox_chan_desc β per-channel constant data π
like, literally just the fixed facts about one mailbox channel. no drama, no mutation, just vibes and constants. π
β¨ SYNOPSIS β¨
here's the whole glow-up, bestie β every field, exactly as it ships:
struct mtk_gpueb_mbox_chan_desc {
const char *name;
const u8 num;
const u16 tx_offset;
const u8 tx_len;
const u16 rx_offset;
const u8 rx_len;
};
no cap, that's the entire struct. she's compact. she's iconic. she ate. π
π Members π
every field gets her moment, so let's go one by one π«Ά
nameβ the name of this channel. her government name, her birth certificate, the whole thing π«numβ the index of this channel, and it starts at0. zero-indexed, because of course it is πtx_offsetβ the byte offset measured from the mmio base, for the outgoing data. that's where the send-side data lives π€tx_lenβ the size, in bytes, of the outgoing data on this channel. how much you're actually sending πrx_offsetβ the bytes offset measured from the mmio base, for the incoming data. that's where the receive-side data lives π₯rx_lenβ the size, in bytes, of the incoming data on this channel. how much you're actually getting back β
quick vibe check:tx_offsetandrx_offsetare both measured from the mmio base β don't let anyone tell you otherwise, bestie π
π¦ SEE ALSO π¦
go read the source, it's giving open book π
- Kernel file
./drivers/mailbox/mtk-gpueb-mailbox.c struct mtk_gpueb_mbox_chan(9)mtk_gpueb_mbox_read_rx(9)
and that's the tea, bestie π this whole page came straight out of ./drivers/mailbox and it's dated October 2026 β so yes, she's from the future and she's still flawless. mwah. ππ§πΈ
π¦ 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