pack_scmi_header(9)
π pack_scmi_header(9) β like, the Kernel API Manual page you didn't know you needed
okay so picture this: it's a pack_scmi_header(9) kind of day in the Kernel API Manual, and your girl is here to explain it. This is the one that takes all your header info and squishes it into a single 32-bit lil package. iconic behavior, honestly π
β¨ NAME β¨
pack_scmi_header β packs and returns 32-bit header π«Ά
πΈ SYNOPSIS πΈ
u32 pack_scmi_header (struct scmi_msg_hdr *hdr );
π ARGUMENTS π
hdrβ pointer to header containing all the information on message id, protocol id, sequence id and type. that's it, that's the whole vibe. it's giving "everything you need in one struct" πβ¨
π RETURN π
32-bit packed message header to be sent to the platform. slay, go send it bestie π
π¦ SEE ALSO π¦
Kernel file ./drivers/firmware/arm_scmi/common.h β and like, obviously the whole friend group:
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_message_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)
no cap, that's the entire guest list π
lowkey a reminder:pack_scmi_headerpacks βunpack_scmi_header(9)does the reverse. don't mix them up, bestie, or it's gonna be a whole thing π
mwah, that's the page! source lives in ./drivers/firmware/arm_scmi, dated October 2026, and yes she's still rocking the pack_scmi_header(9) title. periodt. ππ§ββοΈ
π¦ 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