STRUCT MTK_GPUEB_MBOX_CHAN_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 at 0. 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_offset and rx_offset are 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 πŸ“–


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