scmi_base_di...er_agent_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ scmi_base_discover_agent_get ✨

okay bestie, welcome to the Kernel API Manual πŸ’… this one's a little function from the SCMI base protocol and it's literally just trying to learn somebody's name. polite queen behavior, honestly.


🌸 NAME 🌸

scmi_base_discover_agent_get β€” discover the name of an agent πŸ•΅οΈβ€β™€οΈβœ¨


πŸŽ€ SYNOPSIS πŸŽ€

int scmi_base_discover_agent_get (const struct scmi_protocol_handle *ph
, int id , char *name );

πŸ’– ARGUMENTS πŸ’–

  • ph β€” the SCMI protocol handle 🫢 like, your all-access pass to the protocol
  • id β€” the agent identifier πŸ‘‘ which agent are we asking about
  • name β€” the agent identifier ASCII string πŸ“ this is where the name lands, bestie

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe check: an agent id of 0 is reserved to identify the platform itself 🫧 like, that slot is taken, no cap. and generally the operating system is represented as "OSPM" 🌈 that's its whole little name-tag at the party.


πŸ”₯ RETURN πŸ”₯

0 on success πŸ’– otherwise you get the appropriate SCMI error 😭 (not me getting a nonzero return, embarrassing).


🌟 SEE ALSO 🌟

βœ¨πŸ’œβœ¨


and that's the whole page, bestie 🧚 this iconic little entry lives in ./drivers/firmware/arm_scmi, dated October 2026, and it's giving slay. periodt πŸ’…πŸŽ€

πŸ“¦ where this page comes from