typec_partner_set_usb_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

typec_partner_set_usb_mode β€” Assign active USB Mode for the partner πŸ’…

okay so this is the typec_partner_set_usb_mode(9) page in the Kernel API Manual, hi bestie 🫢✨


✨ SYNOPSIS ✨

void typec_partner_set_usb_mode (struct typec_partner *partner , enum
usb_mode mode );

that’s the whole signature, no cap 🌈


πŸ’… ARGUMENTS πŸ’…

  • partner β€” USB Type-C partner 🫢
  • mode β€” USB Mode (USB2, USB3 or USB4) 🌸

🌸 DESCRIPTION 🌸

The port drivers can use this function to assign the active USB Mode to partner. literally, that’s the whole job, and it ate πŸ’–

The USB Mode can change β€” for example, due to Data Reset β€” so don’t assume it’s frozen forever, bestie πŸ’€βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

It lives in the kernel file ./drivers/usb/typec/class.c, and here’s the whole friend group of related pages 🫢:


source: ./drivers/usb/typec Β· date: October 2026 Β· manual: typec_partner_set_usb_mode(9) β€” from the Kernel API Manual, mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from