scmi_create_...ocol_devices(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… scmi_create_protocol_devices(9) πŸ’…

okay so this is from the Kernel API Manual (yes, the kernel has a manual, we love that for it) and it's literally all about scmi_create_protocol_devices β€” one function, one job, and she does it well. let's get into it bestie 🫢


✨ NAME ✨

scmi_create_protocol_devices β€” creates devices for all the pending requests for this SCMI instance. that's it, that's the whole vibe. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

void scmi_create_protocol_devices (struct device_node *np , struct
       scmi_info *info , int prot_id , const char *name );

look at her go. void return, so she's not giving you anything back β€” she's just out here doing the work. main character energy, honestly. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

okay so she takes four things, let's meet them:

  • np β€” the device node describing the protocol. like, the little descriptor of who this protocol even is. 🌈
  • info β€” the SCMI instance descriptor. the whole context of this SCMI situation, basically. πŸ’œ
  • prot_id β€” the protocol ID. the number that says which protocol we're talking about, iykyk. πŸ”₯
  • name β€” the optional name of the device to be created. and lowkey this is the important bit: if name is not provided, this call will lead to the creation of all the devices currently requested for the specified protocol. so like, leave it out and you get the whole set. periodt. πŸ’…
fr fr, remember that name is optional β€” the behaviour genuinely changes depending on whether you pass it or not. 🫢

🌟 SEE ALSO 🌟

okay so this list is long β€” she has a lot of friends, and honestly? iconic of her. here's the entire squad, all of them exactly as they're written:

like, that's the whole group chat. go say hi. πŸ‘‘πŸ¦‹


aaaand that's the page!! πŸ’– this one came to you from ./drivers/firmware/arm_scmi, dated October 2026 β€” so like, future-core of it all, we love a forward-thinking queen. mwah, bye bestie, go create some devices πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from