tb_is_upstream_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 tb_is_upstream_port(9) 🌈

okay so bestie, welcome to the Kernel API Manual entry for tb_is_upstream_port(9) β€” yes, the whole vibe is β€œis this port upstream facing?” and we’re gonna find out together πŸ’…βœ¨


πŸŽ€ NAME πŸŽ€

tb_is_upstream_port β€” Is the port upstream facing

✨ SYNOPSIS ✨

bool tb_is_upstream_port (const struct tb_port *port );

πŸ’– ARGUMENTS πŸ’–

  • port β€” Port to check. that’s the one, the port in question πŸ‘€

πŸ¦‹ RETURN πŸ¦‹

true if port is an upstream facing port. and in case of dual link ports, both return true β€” both of them, no cap πŸ’―

🌸 SEE ALSO 🌸

Kernel file ./drivers/thunderbolt/tb.h plus this whole friend group:


mwah πŸ’‹ β€” source: ./drivers/thunderbolt, date: October 2026, page title: tb_is_upstream_port(9). byeee, go check those ports 🫢✨

πŸ“¦ where this page comes from