scmi_base_vendor_id_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ scmi_base_vendor_id_get(9) πŸ’œ

okay so welcome to the Kernel API Manual, bestie β€” today's main character is scmi_base_vendor_id_get, and honestly? she's giving quiet-legend energy. no cap.


✨ NAME ✨

scmi_base_vendor_id_get β€” gets the vendor/subvendor identifier as an ASCII string πŸŽ€

like, it literally hands you the vibes of who made the thing. iconic behavior.


🌸 SYNOPSIS 🌸

int scmi_base_vendor_id_get (const struct scmi_protocol_handle *ph ,
       bool sub_vendor );

it returns an int, it takes that handle and a lil bool, and then it's off to do its thing. slay.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ph β€” the SCMI protocol handle. that's your all-access pass, your VIP wristband, your main character credential 🫢
  • sub_vendor β€” set this to true if it's the sub-vendor ID you're after. set it to anything else and you're getting the plain vendor ID, bestie. read the room (and the flag) πŸ’…

⭐ RETURN ⭐

0 on success β€” we love a clean zero, fr fr πŸŽ‰

anything else? that's the appropriate SCMI error, and you should probably look at it. no cap, errors are just the universe asking you to check yourself 😭


🌈 SEE ALSO 🌈

the literal source of truth, the kernel file:

./drivers/firmware/arm_scmi/base.c

and her besties, her girlies, her whole friend group:


lowkey a reminder: these all live in ./drivers/firmware/arm_scmi β€” that's the neighborhood, iykyk 🧚

okay that's the whole page, go forth and get those identifiers βœ¨πŸ’–

β€” xoxo, your girl at ./drivers/firmware/arm_scmi, October 2026 edition, and yes this was scmi_base_vendor_id_get(9) the whole time πŸ‘‘πŸ’€

πŸ“¦ where this page comes from