scmi_transport_supplier_get(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms