STRUCT SCMI_MAILBOX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Œ 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_receiver and chan_platform_receiver are 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