tb_switch_is_usb4(9)
β¨ tb_switch_is_usb4(9) β¨
okay so this is a page straight out of the Kernel API Manual (yes bestie, the kernel has lore too) and it's about tb_switch_is_usb4 β literally just checking if a switch is USB4 compliant π
πΈ NAME πΈ
tb_switch_is_usb4 β is the switch USB4 compliant
like, that's it. that's the whole vibe check π
π¦ SYNOPSIS π¦
bool tb_switch_is_usb4 (const struct tb_switch *sw );
it takes one thing and gives you back a bool, no cap β¨
π ARGUMENTS π
swβ the switch you wanna check, bestie
one argument, zero drama π«Ά
π₯ RETURN π₯
it hands you back true if sw is a USB4 compliant router β slay, iconic, certified USB4 π β and false otherwise π
no in-between, no "it's complicated", just vibes on or vibes off.
π SEE ALSO π
the friend group π«Ά β everything else living in ./drivers/thunderbolt/tb.h:
struct tb_nvm(9)enum tb_switch_tmu_mode(9)struct tb_switch_tmu(9)struct tb_switch(9)struct tb_bandwidth_group(9)struct tb_port(9)struct usb4_port(9)struct tb_retimer(9)struct tb_path_hop(9)enum tb_path_port(9)struct tb_path(9)struct tb_cm_ops(9)tb_upstream_port(9)tb_is_upstream_port(9)tb_port_has_remote(9)tb_domain_event(9)tb_switch_for_each_port(9)tb_switch_downstream_port(9)tb_switch_depth(9)tb_switch_is_icm(9)tb_switch_tmu_is_configured(9)tb_switch_tmu_is_enabled(9)tb_switch_clx_is_enabled(9)tb_port_path_direction_downstream(9)tb_for_each_port_on_path(9)tb_for_each_upstream_port_on_path(9)tb_path_for_each_hop(9)tb_downstream_route(9)tb_xdomain_downstream_port(9)usb4_switch_version(9)enum usb4_sb_target(9)enum usb4_margin_sw_error_counter(9)struct usb4_port_margining_params(9)
ngl this one's short and sweet β one arg, one bool, one little question answered. periodt π
kisses bestie, this page lives in ./drivers/thunderbolt and it was dated October 2026, so yeah β future-coded πβ see u in the next manpage ππ§
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms