STRUCT UCSI_TBT(9)
π¦ NAME π¦
struct ucsi_tbt β the Thunderbolt Alternate Mode private data structure, and yes bestie it's exactly as niche and iconic as it sounds π
So this is a manpage from the Kernel API Manual, aka struct ucsi_tbt(9) β go off kernel docs β¨
πΈ SYNOPSIS πΈ
okay so here's the whole struct, copy it exactly, no cap:
struct ucsi_tbt {
struct ucsi_connector *con;
struct typec_altmode *alt;
struct work_struct work;
int cam;
u32 header;
};
that's it. that's the struct. she's small but she's doing the most π
β¨ Members β¨
Every field, get into it:
conβ a pointer to theUCSI connectorstructure π«Ά literally just pointing at her connector, iykykaltβ a pointer to thetypec altmodestructure β the altmode bestie in questionworkβ a Work structure π yes it's called work, and yes it's doing the actual labourcamβ an offset into the list of alternate modes supported by thePPMπ that's the number that tells you where you are in the whole altmode lineupheaderβ theVDOheader π₯ header era, we love to see it
π SEE ALSO π
- Kernel file
./drivers/usb/typec/ucsi/thunderbolt.cβ go read the source if you're feeling brave, it's giving main character energy π
π reminder bestie:camis literally an offset into the list of alternate modes supported by thePPM, don't forget it or the vibe check fails π
okay that's the whole page, you ate that π this was struct ucsi_tbt(9) from the Kernel API Manual, source ./drivers/usb/typec/ucsi, dated October 2026 β slay, periodt, go read some kernel code ππ§
π¦ 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