typec_altmode_get_data_role(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

typec_altmode_get_data_role(9) 🌸

Hii bestie, welcome to the Kernel API Manual page for typec_altmode_get_data_role(9) β€” manual name folded in near the top, housekeeping done with style πŸŽ€

✨ NAME ✨

typec_altmode_get_data_role β€” get port data role πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

enum typec_data_role typec_altmode_get_data_role (struct typec_altmode
*altmode );

🌸 ARGUMENTS 🌸

  • altmode β€” handle to the alternate mode 🫢 that’s the one and only argument, bestie.

πŸ‘‘ DESCRIPTION πŸ‘‘

Alt Mode drivers should only issue Enter Mode through the port if they are the DFP. Periodt. That’s the rule β€” if you are not the DFP, do not issue Enter Mode through the port. No cap, that’s the whole vibe πŸ˜­πŸ’€

Keep the DFP condition in mind, bestie β€” it’s giving β€œread the room before you touch the port” energy πŸ’…

🌈 SEE ALSO 🌈


Bye bestie 🫢 source/version line energy: ./include/linux/usb, October 2026 β€” page: typec_altmode_get_data_role(9) πŸ’–βœ¨

πŸ“¦ where this page comes from