fwnode_typec_retimer_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, we're in the Kernel API Manual and this is fwnode_typec_retimer_get(9) β€” aka Find USB Type-C retimer. no cap, that's the whole mission. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct typec_retimer * fwnode_typec_retimer_get (struct fwnode_handle
*fwnode );

πŸ’– ARGUMENTS πŸ’–

  • fwnode β€” the caller device node. that's the one, bestie. 🫢

🌈 DESCRIPTION 🌈

So here's the tea: this function finds a retimer linked to the caller. It is primarily meant for the Type-C drivers. πŸ‘‘

Returns a reference to the retimer on success, NULL if no matching connection was found, or ERR_PTR(-EPROBE_DEFER) when a connection was found but the retimer has not been enumerated yet. πŸ’€

lowkey important vibe check: success gives you a reference, no match gives you NULL, and β€œfound it but it's not ready yet” gives you ERR_PTR(-EPROBE_DEFER). periodt. πŸ’…

🧚 SEE ALSO 🧚

Kernel file ./drivers/usb/typec/retimer.c β€” plus these besties:


xoxo, signing off from source/version ./drivers/usb/typec, dated October 2026, on page fwnode_typec_retimer_get(9) β€” slay and goodbye. πŸ’œ

πŸ“¦ where this page comes from