STRUCT HI3660_MBOX(9)
π NAME π
struct hi3660_mbox β the Hi3660 mailbox controller data, aka the little struct that holds the whole controller together π
This is your friendly neighborhood page from the Kernel API Manual, bestie β yes, the kernel has its own manual and yes it's iconic β¨
π¦ SYNOPSIS π¦
struct hi3660_mbox {
struct device *dev;
void __iomem *base;
struct mbox_chan chan[MBOX_CHAN_MAX];
struct hi3660_chan_info mchan[MBOX_CHAN_MAX];
struct mbox_controller controller;
};
Like, that's the whole vibe right there β five fields, no cap, copy it exactly π
πΈ Members πΈ
devβ the device this whole thing is attached to. It's giving "who do I belong to" energy π«Άbaseβ the base address of the register mapping region. The coordinates of the mailbox's whole situation, fr fr βchanβ representation of the channels in the mailbox controller. An array ofstruct mbox_chan, sizedMBOX_CHAN_MAXβ one seat per channel, periodt πmchanβ representation of the channel info. An array ofstruct hi3660_chan_info, also sizedMBOX_CHAN_MAX. The lore behind each channel π₯controllerβ representation of a communication channel controller. This is the main character β thestruct mbox_controllerholding it all down π
β¨ DESCRIPTION β¨
Okay so boom: the mailbox controller includes 32 channels and can allocate a channel for message transferring π
That's literally it, that's the whole job β 32 channels, allocate one, move your messages, slay π
π SEE ALSO π
- Kernel file
./drivers/mailbox/hi3660-mailbox.cβ go read the source, iykyk π§ struct hi3660_chan_info(9)β the per-channel info struct, the sequel you need to read next π
ngl bestie, if you're touching this struct you should probably go read hi3660_chan_info too β they're literally a package deal π
That's the page! Source lives in ./drivers/mailbox, dated October 2026 β tysm for reading, ily, go forth and transfer messages π¦β¨π
π¦ 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