tb_dp_port_is_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, tb_dp_port_is_enabled β€” this is the one that tells you whether a DP adapter port is enabled. That's it, that's the whole vibe check. ✨

This page lives in the Kernel API Manual, and the function itself is shown as tb_dp_port_is_enabled(9) β€” the (9) is giving kernel-API section energy, iykyk. πŸŽ€


✨ SYNOPSIS ✨

bool tb_dp_port_is_enabled (struct tb_port *port );

literally just hand it a struct tb_port * and it hands you back a bool. no cap. πŸ¦‹


🌸 ARGUMENTS 🌸

  • port β€” the DP adapter port you want to check. that's the whole assignment, bestie. πŸ”

πŸ’– RETURN πŸ’–

true if the DP port is enabled. false otherwise. periodt. πŸ’…

no in-between, no "maybe", no mysterious third state. it's giving binary. 🫢

πŸ”₯ SEE ALSO πŸ”₯

this is the part where the manpage just dumps the whole friend group, and honestly? iconic. πŸ‘‘

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


and that's the page, bestie!! 🫢 this one's from the ./drivers/thunderbolt source directory, dated October 2026 β€” so go forth, check your DP adapter port, and slay πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from