typec_switch_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

typec_switch_put(9) πŸ’…

okay bestie, welcome to the Kernel API Manual side of the USB Type-C universe β€” this page is about typec_switch_put(9), and it's lowkey a tiny little icon. πŸŽ€

✨ NAME ✨

typec_switch_put β€” release USB Type-C orientation switch πŸ¦‹

🌸 SYNOPSIS 🌸

void typec_switch_put (struct typec_switch *sw );

πŸŽ€ ARGUMENTS πŸŽ€

  • sw β€” the USB Type-C orientation switch. that's the main character right there. πŸ’…

πŸ’– DESCRIPTION πŸ’–

okay so the whole entire job is: Decrement reference count for sw. that's it, that's the tea. β˜• no cap β€” it's giving "release the USB Type-C orientation switch" energy, and the reference count for sw goes down by one. periodt. ✨

🌈 SEE ALSO 🌈

the kernel file is ./drivers/usb/typec/mux.c, and you should also go say hi to these besties:


mwah πŸ’‹ this page is from the Kernel API Manual, source ./drivers/usb/typec, dated October 2026 β€” slay and goodbye 🫢✨

πŸ“¦ where this page comes from