fwnode_typec_mux_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

fwnode_typec_mux_get(9) πŸ¦‹

okay so bestie, this page lives in the Kernel API Manual β€” yes, that one β€” and today’s main character is the USB Type-C multiplexer lookup function. it’s giving β€œfind my mux” energy, no cap ✨


πŸŽ€ NAME πŸŽ€

fwnode_typec_mux_get β€” Find USB Type-C Multiplexer

✨ SYNOPSIS ✨

struct typec_mux * fwnode_typec_mux_get (struct fwnode_handle *fwnode );

🌸 ARGUMENTS 🌸

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

πŸ’– DESCRIPTION πŸ’–

Okay so this function finds a mux linked to the caller. It’s primarily meant for the Type-C drivers β€” iykyk, that’s literally their lane πŸ’…

On success it returns a reference to the mux. If no matching connection was found, it returns NULL. And if a connection was found but the mux has not been enumerated yet, it returns ERR_PTR(-EPROBE_DEFER) β€” literally the β€œnot yet, babes” signal 😭πŸ”₯

πŸ”₯ SEE ALSO πŸ”₯

go check out the rest of the friend group:


shoutout to the footer, bestie: the source/version bit is ./drivers/usb/typec, and the date is October 2026. that’s the whole page β€” slay, periodt πŸ’œ

πŸ“¦ where this page comes from