scmi_transport_supplier_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… scmi_transport_supplier_get(9) β€” aka the "get hold of a supplier" girlie

okay so this is a page from the Kernel API Manual and it's about scmi_transport_supplier_get, which is literally just a little helper bestie whose whole job is getting hold of a supplier. that's it. that's the gig. 🫢


✨ NAME ✨

scmi_transport_supplier_get β€” a helper to get hold of a supplier 🌸


πŸŽ€ SYNOPSIS πŸŽ€

struct device * scmi_transport_supplier_get (const struct
scmi_transport_handle *th );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • th β€” a reference to the transport handle you wanna use. that's the one. hand it over. πŸ’œ

πŸ‘‘ DESCRIPTION πŸ‘‘

ok so real talk, when you try to get a supplier device, there's like a few things it can hand back β€” and no cap, you gotta be ready for all of them:

  • ✨ a ready to use supplier device (which, btw, gets subsequently made unavailable β€” like, it's yours but also… not forever, iykyk)
  • 😭 PTR_ERR(-EPROBE_DEFER) β€” no supplier is available, like at all
  • πŸ’€ PTR_ERR(-BUSY) β€” the supplier was already taken by a previous get. sorry bestie, someone else called dibs

the way this slaps is that it lets the probe defer and wait when a possible device can be reasonably expected to show up. like, it's not here yet but it's coming, so we wait. main character patience. ⭐


🌈 RETURN 🌈

a usable supplier device on Success, or PTR_ERR on Failure. periodt. πŸ”₯


πŸ’– SEE ALSO πŸ’–

kernel file ./drivers/firmware/arm_scmi/common.h, plus the whole friend group:

  • pack_scmi_header(9)
  • unpack_scmi_header(9)
  • 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)

🧚 friendly reminder: this whole vibe lives in ./drivers/firmware/arm_scmi, and it was dated October 2026 in the original footer. so yeah, slightly from the future. iconic.

and that's the page bestie!! go get ur supplier πŸ“πŸ’…βœ¨

πŸ“¦ where this page comes from