STRUCT XHCI_PROTOCOL_CAPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct xhci_protocol_caps β€” bestie, the name section is literally just the struct name and a dangling dash 😭 the original page gives us zero description text here, so that's exactly what you get. No cap, nothing more to spill in this section.


πŸ¦‹ SYNOPSIS πŸ¦‹

Here's the whole glow-up, character for character:

struct xhci_protocol_caps {
    u32 revision;
    u32 name_string;
    u32 port_info;
 };

Three u32 fields. That's the entire fit. Iconic minimalism, honestly. πŸ’…


πŸŽ€ Members πŸŽ€

Ok so let's meet the cast, because each one is carrying a whole different vibe:

  • revision β€” the major revision, the minor revision, the capability ID, and the next capability pointer, all bundled together. Yes bestie, four things in one field, it's giving packing light for a trip 🧳
  • name_string β€” four ASCII characters whose whole job is to say which spec this xHC follows. Typically "USB " β€” note the trailing space, she's four characters exactly, don't come for her 🫢
  • port_info β€” the port offset, the port count, and whatever protocol-defined information comes along with them. The extrovert of the group, knows everybody 🌈

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/usb/host/xhci-ext-caps.h β€” go read it, iykyk πŸ‘‘

ngl this page is short and sweet and that's the whole point β€” every field, every word, nothing invented, nothing skipped. periodt πŸ’–

And that's the wrap, bestie! This one came out of ./drivers/usb/host, dated October 2026 ✨ go forth and inspect your extended capabilities, you absolute main character πŸŒΈπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from