fwnode_typec_mux_get(9)
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:
- Kernel file
./drivers/usb/typec/mux.c fwnode_typec_switch_get(9)typec_switch_put(9)typec_switch_register(9)typec_switch_unregister(9)typec_mux_put(9)typec_mux_register(9)typec_mux_unregister(9)
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
- 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