STRUCT TB_CAP_EXTENDED_SHORT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct tb_cap_extended_short β€” Kernel API Manual ✨

🌸 NAME 🌸

struct tb_cap_extended_short β€” Switch extended short capability. Okay bestie, this is the page for that exact struct, and it’s giving kernel-register realness. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

Here’s the whole struct layout, no cap β€” keep it character-for-character:

       struct tb_cap_extended_short {
           u8 next;
           u8 cap;
           u8 vsec_id;
           u8 length;
        };

πŸŽ€ Members πŸŽ€

  • next β€” Pointer to the next capability. If next and length are zero then we have a long cap. πŸ‘€ So yeah, that zero-zero combo is the long-cap signal.
  • cap β€” Base capability ID (see enum tb_switch_cap). ✨
  • vsec_id β€” Vendor specific capability ID (see enum switch_vse_cap). πŸ¦‹
  • length β€” Length of this capability. πŸ“

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/thunderbolt/tb_regs.h β€” the file, exactly as written. 🫢
  • struct tb_cap_extended_long(9) β€” also in the SEE ALSO squad. πŸ’…
  • struct tb_cap_any(9) β€” another one, bestie. πŸ‘‘
🫢 That’s the whole page β€” source/version: ./drivers/thunderbolt, date: October 2026, page tag: struct tb_ca...tended_short(9). Mwah πŸ’‹βœ¨
πŸ“¦ where this page comes from