STRUCT SCMI_MESSAGE_OPERATIONS(9)
π¦ 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 forxfer. Slay. πcommand_sizeβ get the calculated command size forxfer. Iconic. β¨tx_prepareβ prepare thexfermessage for transmission on the providedmsg. It's giving prep era. πread_headerβ read the header of the message currently held inmsg. Bestie, it's right there. π¦fetch_responseβ copy the message response frommsgintoxfer. Main character copy-paste energy. πΈfetch_notificationβ copy the message notification frommsgintoxfer. 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
- 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