tb_port_width_supported(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tb_port_width_supported πŸ’–

okay so this is the tb_port_width_supported(9) page from the kernel API manual β€” yes, the 9 manual, bestie. we're checking link-width vibes today, and honestly? it's giving hardware validation. πŸ’…


✨ NAME ✨

tb_port_width_supported β€” Is the given link width supported

🌸 SYNOPSIS 🌸

bool tb_port_width_supported (struct tb_port *port , unsigned int width
);

πŸŽ€ ARGUMENTS πŸŽ€

two little cuties go in here, and they both matter:

  • port β€” Port to check
  • width β€” Widths to check (bitmask)

πŸ¦‹ DESCRIPTION πŸ¦‹

Can be called to any lane adapter. It checks if given width is supported by the hardware. That's the whole assignment, no cap. Any lane adapter β€” like, don't overthink it, bestie. πŸ’…

🌈 RETURN 🌈

true if link width is supported, false otherwise. slay. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group plus the kernel file doing the work:

Kernel file: ./drivers/thunderbolt/switch.c


mwah πŸ’‹ β€” source/version: ./drivers/thunderbolt; date: October 2026. tb_port_width_supported(9) out, byeee πŸ«ΆπŸ’–

πŸ“¦ where this page comes from