scmi_protoco...vice_request(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– scmi_protoco...vice_request(9) πŸ’–

okay so bestie, welcome to the kernel API manual for scmi_protoco...vice_request(9) β€” yes the title is literally truncated like that, that's just how it is, we don't question it ✨


πŸŽ€ NAME πŸŽ€

scmi_protocol_device_request β€” a little helper that lets you request a device, and honestly? it's giving "personal assistant for SCMI drivers" πŸ’…


✨ SYNOPSIS ✨

int scmi_protocol_device_request(const struct scmi_device_id *id_table);

that's the whole signature, no notes, she's simple and she serves πŸ’–


🌸 ARGUMENTS 🌸

  • id_table β€” a protocol/name pair descriptor for the device you want to be created. like a little name tag 🏷️ for the device you're asking for.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: this helper lets an SCMI driver request specific devices, identified by id_table, to be created for each active SCMI instance. one request, all your active instances, no cap 🫢

🚨 THE BIG RULE 🚨 the requested device name MUST NOT already exist for this protocol. like, do not come in here with a name that's already taken, bestie, that is not the move 😭

so what happens at first: the freshly requested id_table gets annotated in the IDR table scmi_requested_devices. then, the requested device is advertised to any registered party via the scmi_requested_devices_nh notification chain. iconic behavior honestly πŸ‘‘


πŸ”₯ RETURN πŸ”₯

0 on Success β€” that's it, that's the return value, zero equals slay πŸ’€βœ¨


🌈 SEE ALSO 🌈


and that's the whole page bestie, you ate that πŸ’…πŸŒΈ

sign-off time: this was the kernel API manual for scmi_protoco...vice_request(9), coming at you from ./drivers/firmware/arm_scmi, dated October 2026 β€” periodt πŸŽ€πŸ’œ

πŸ“¦ where this page comes from