STRUCT SCMI_MESSAGE_OPERATIONS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

Okay so this is the struct scmi_message_operations(9) page from the Kernel API Manual, and the NAME is literally struct scmi_message_operations β€” Transport core operations for Message. No cap, that's the whole vibe. πŸ’…

✨ SYNOPSIS ✨

       struct scmi_message_operations {
           size_t (*response_size)(struct scmi_xfer *xfer);
           size_t (*command_size)(struct scmi_xfer *xfer);
           void (*tx_prepare)(struct scmi_msg_payld *msg, struct scmi_xfer
       *xfer);
           u32 (*read_header)(struct scmi_msg_payld *msg);
           void (*fetch_response)(struct scmi_msg_payld *msg, size_t len,
       struct scmi_xfer *xfer);
           void (*fetch_notification)(struct scmi_msg_payld *msg, size_t len,
       size_t max_len, struct scmi_xfer *xfer);
        };

🫢 Members 🫢

  • response_size β€” get the calculated response size for xfer. Slay. πŸ’–
  • command_size β€” get the calculated command size for xfer. Iconic. ✨
  • tx_prepare β€” prepare the xfer message for transmission on the provided msg. It's giving prep era. πŸŽ€
  • read_header β€” read the header of the message currently held in msg. Bestie, it's right there. πŸ¦‹
  • fetch_response β€” copy the message response from msg into xfer. Main character copy-paste energy. 🌸
  • fetch_notification β€” copy the message notification from msg into xfer. Not me being obsessed with notifications. πŸ’…

πŸ‘€ SEE ALSO πŸ‘€

Also see, bestie: Kernel file ./drivers/firmware/arm_scmi/common.h: pack_scmi_header(9), unpack_scmi_header(9), struct scmi_chan_info(9), struct scmi_transport_ops(9), struct scmi_desc(9), struct scmi_debug_info(9), struct scmi_shmem_io_ops(9), struct scmi_shared_mem_operations(9), struct scmi_transport_core_operations(9), struct scmi_transport_handle(9), struct scmi_transport(9), struct scmi_transport_supplier(9), scmi_transport_supplier_put(9), scmi_transport_supplier_get(9). Go read them, iykyk. πŸ“šβœ¨


Okay bye bestie! This page's source/version is ./drivers/firmware/arm_scmi, it's dated October 2026, and the manual tag is struct scmi_...e_operations(9). Mwah πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from