STRUCT TYPEC_DEVICE_ID(9)
β¨ NAME β¨
hey bestie, welcome to the struct typec_device_id(9) page from the Kernel API Manual π
β this one is all about USB Type-C alternate mode identifiers. iconic little struct, fr fr.
π SYNOPSIS π
okay so hereβs the exact shape of the thing, no cap:
struct typec_device_id {
__u16 svid;
__u8 mode;
kernel_ulong_t driver_data;
};
π¦ Members π¦
these are the members, bestie, and yes theyβre all important:
svidβ Standard or Vendor ID. thatβs the fieldβs whole job πmodeβ Mode index. literally the mode index β¨driver_dataβ Driver specific data. driver-specific vibes only π
π SEE ALSO π
- Kernel file
./include/linux/device-id/typec.hβ go peek if you want the context, iykyk π
thatβs the whole page, bestie π«Ά source/version: ./include/linux/device-id, dated October 2026, for struct typec_device_id(9) β mwah π
π¦ 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