typec_altmode_enter(9)
okay bestie, welcome to typec_altmode_enter(9) from the Kernel API Manual π this is the page for entering a mode, and it's honestly kinda iconic.
π NAME π
typec_altmode_enter β Enter Mode
β¨ SYNOPSIS β¨
int typec_altmode_enter (struct typec_altmode *adev , u32 *vdo );
πΈ ARGUMENTS πΈ
adevβ the alternate mode. yes bestie, that's the whole vibe.vdoβ the VDO for the Enter Mode command.
π DESCRIPTION π
okay so here's the tea β: the alternate mode drivers use this function to enter mode. the port drivers use this to inform the alternate mode drivers that the partner has initiated Enter Mode command. it's giving "relaying the message" energy, no cap.
π¨ caveat check, bestie: if the alternate mode does not require VDO,vdomust beNULL. that is a must, fr fr.
π¦ SEE ALSO π¦
Kernel file: ./drivers/usb/typec/bus.c
typec_altmode_notify(9)typec_altmode_exit(9)typec_altmode_attention(9)typec_altmode_vdm(9)typec_cable_altmode_enter(9)typec_cable_altmode_exit(9)typec_cable_altmode_vdm(9)typec_altmode_get_plug(9)typec_altmode_put_plug(9)typec_match_altmode(9)
mwah π source location and date: ./drivers/usb/typec Β· October 2026 Β· page typec_altmode_enter(9) β bye bestie, go slay those mode entries π«Ά
π¦ 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