STRUCT MTK_GPUEB_MBOX_CHAN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 parent struct mtk_gpueb_mbox mailbox 🌈 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 at 0 πŸ”’ so the first one is 0, not 1. we're zero-indexed in this house, always.
  • rx_status β€” signifies whether channel reception is turned off, or full πŸ“¬ an atomic_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 constant struct mtk_gpueb_mbox_chan_desc channel data 🧊 the const is 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: num starts at 0 and rx_status is an atomic_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