STRUCT SCMI_MAILBOX(9)
π struct scmi_mailbox(9) π
okay so this is straight out of the Kernel API Manual and it's literally the whole vibe of the SCMI mailbox transport, packaged as one struct π
πΈ NAME πΈ
struct scmi_mailbox β the structure that represents an SCMI mailbox transport. that's it, that's the whole thing, and honestly? iconic. π
β¨ SYNOPSIS β¨
struct scmi_mailbox {
struct mbox_client cl;
struct mbox_chan *chan;
struct mbox_chan *chan_receiver;
struct mbox_chan *chan_platform_receiver;
struct scmi_chan_info *cinfo;
struct scmi_shared_mem __iomem *shmem;
struct mutex chan_lock;
struct scmi_shmem_io_ops *io_ops;
};
like, look at her. all those fields. main character energy fr fr π«Ά
π Members π
okay bestie let's go field by field, no skips, no cap:
clβ the Mailbox Client. your lil client buddy π£chanβ the Transmit/Receive mailbox channel, and yeah it can be uni-directional or bi-directional, she's flexible like that πββοΈchan_receiverβ an optional Receiver mailbox unidirectional channel. optional!! don't come for her if it's null πchan_platform_receiverβ an optional Platform Receiver mailbox unidirectional channel. also optional, also minding her own business β¨cinfoβ the SCMI channel info π§shmemβ the Transmit/Receive shared memory area. this is the group chat they all share π¬chan_lockβ the lock that prevents multiple xfers from being queued. she is the bouncer at the club, respectfully πio_opsβ the transport specific I/O operations. the how-to guide for the actual I/O π
π¦ SEE ALSO π¦
- Kernel file
./drivers/firmware/arm_scmi/transports/mailbox.cβ go read the source, iykyk π mailbox_chan_validate(9)β the validation bestie, go say hi π
heads up bestie:chan_receiverandchan_platform_receiverare optional β that's in the original, don't @ me π
and that's the page!! sourced from ./drivers/firmware/arm_scmi/tr..., dated October 2026, all about our girl struct scmi_mailbox(9) π slay, bye! π§ββοΈβ¨
π¦ 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