pack_scmi_header(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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_header packs β€” 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