unpack_scmi_header(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… unpack_scmi_header(9) β€” the Kernel API Manual page, bestie edition πŸŽ€

Okay so hi, you're looking at unpack_scmi_header, which lives in the Kernel API Manual, and honestly? It's giving tiny-but-mighty. It unpacks and records the message id and the protocol id. That's the whole vibe. Small function, big slay. ✨


🌸 NAME 🌸

unpack_scmi_header β€” unpacks and records message and protocol id πŸ’–


✨ SYNOPSIS ✨

void unpack_scmi_header (u32 msg_hdr , struct scmi_msg_hdr *hdr );

Literally that's it. Two args, no return value (void, she doesn't give anything back, she just does the thing πŸ‘‘).


πŸ¦‹ ARGUMENTS πŸ¦‹

  • msg_hdr β€” the 32-bit packed message header that got sent from the platform. Think of it as the cute little compressed package πŸ“¦ and this function is the one opening it.
  • hdr β€” pointer to the header where the message id and protocol id get fetched into. Basically the drop-off spot. 🫢
Ngl, that's the entire argument list. Two things. No defaults, no optional extras. Minimalism ate. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Grab a snack, because this list is long β€” but every single one of these is a real reference, so we're listing them all, no cap:

  • Kernel file ./drivers/firmware/arm_scmi/common.h
  • pack_scmi_header(9) β€” the other half of this duo, the packing one 🌈
  • 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)

It's giving whole friend group, honestly. Go read them, iykyk. 🧚


So that's the page!! This one came out of ./drivers/firmware/arm_scmi, dated October 2026, and the whole thing is filed under unpack_scmi_header(9). Stan a tidy little manpage. β­πŸ’œ

πŸ“¦ where this page comes from