tb_switch_clx_is_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ tb_switch_clx_is_enabled(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual ✨ this page is literally all about tb_switch_clx_is_enabled, and it’s giving β€œquick vibe check for CLx states.” no cap πŸ’…

🌸 NAME 🌸

tb_switch_clx_is_enabled β€” checks if the CLx is enabled πŸ¦‹

✨ SYNOPSIS ✨

bool tb_switch_clx_is_enabled (const struct tb_switch *sw , unsigned int clx );

🌈 ARGUMENTS 🌈

  • sw β€” the router you’re checking for the CLx πŸ‘€
  • clx β€” the CLx states you’re checking for πŸŽ€

πŸ’– DESCRIPTION πŸ’–

Checks if the specified CLx is enabled on the router upstream link ✨

Not applicable for a host router 🚫 like, host routers are sitting this one out, periodt.

πŸ‘‘ RETURN πŸ‘‘

Returns true if any of the given states is enabled, false otherwise. slay πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group πŸ’œ plus the kernel file:


mwah πŸ’– β€” from the Kernel API Manual, source ./drivers/thunderbolt, October 2026, page tb_switch_clx_is_enabled(9) 🫢

πŸ“¦ where this page comes from