tb_port_is_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tb_port_is_enabled(9) β€” Kernel API Manual ✨

okay so bestie, welcome to the tb_port_is_enabled(9) page β€” yes that's the function name AND the man page name, we're keeping it cute and keeping it consistent, iykyk πŸŽ€


✨ NAME ✨

tb_port_is_enabled β€” literally just "is the adapter port enabled"?? that's it. that's the whole vibe check πŸ’–


🌸 SYNOPSIS 🌸

bool tb_port_is_enabled (struct tb_port *port );

she takes one port and hands you back a bool, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • port β€” the port you're checking on. the main character of this whole function ngl πŸ‘‘

⭐ RETURN ⭐

true if the port is enabled πŸ’–, false otherwise 😭. that's the tea, periodt.


πŸ”₯ SEE ALSO πŸ”₯

okay this list is LONG, grab a snack πŸ“, it's giving reference-section energy:

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

go off, read all of them, i believe in you πŸ§šβ€β™€οΈ


ok that's genuinely the whole page bestie β€” one argument, one bool, and a truly unhinged amount of SEE ALSO links πŸ’€ she ate though πŸ’…

and that's a wrap! 🌈 this icon was brought to you by the fine folks over at ./drivers/thunderbolt, dated October 2026 β€” mwah, love that for us πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from