ENUM TB_SWITCH_TMU_MODE(9)
π enum tb_switch_tmu_mode(9) β like, the TMU mode enum, bestie
Okay so this is a page from the Kernel API Manual and it's about enum tb_switch_tmu_mode β yes the whole name is the title, yes it's a mouthful, we deal. π«Ά
β¨ NAME β¨
enum tb_switch_tmu_mode β the TMU mode β¨ that's it, that's the name, no cap
π¦ SYNOPSIS π¦
enum tb_switch_tmu_mode {
TB_SWITCH_TMU_MODE_OFF ,
TB_SWITCH_TMU_MODE_LOWRES ,
TB_SWITCH_TMU_MODE_HIFI_UNI ,
TB_SWITCH_TMU_MODE_HIFI_BI ,
TB_SWITCH_TMU_MODE_MEDRES_ENHANCED_UNI
};
πΈ Constants πΈ
Bestie, here's the whole lineup, in order, no skips π
TB_SWITCH_TMU_MODE_OFFβ TMU is off. literally just off. nothing happening, we're resting π΄TB_SWITCH_TMU_MODE_LOWRESβ Uni-directional, normal mode. one direction only, keeping it chill β¨TB_SWITCH_TMU_MODE_HIFI_UNIβ Uni-directional, HiFi mode. still one direction, but make it fancy π₯TB_SWITCH_TMU_MODE_HIFI_BIβ Bi-directional, HiFi mode. both directions now, and HiFi the whole time πTB_SWITCH_TMU_MODE_MEDRES_ENHANCED_UNIβ Enhanced Uni-directional, MedRes mode. enhanced!! medres!! uni-directional!! the whole vibe π
π Description π
The ordering here is based on TMU accuracy level β and the highest accuracy is last, iykyk. So when you're reading down the list, you're climbing the accuracy ladder, and the bottom rung is the most accurate one. β
π SEE ALSO π
The kernel file is ./drivers/thunderbolt/tb.h and it's giving main character energy. Go look at all of these besties π
struct tb_nvm(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)tb_switch_is_usb4(9)enum usb4_sb_target(9)enum usb4_margin_sw_error_counter(9)struct usb4_port_margining_params(9)
Fr fr that's the whole page, nothing left out, promise π«Ά
And that's a wrap, bestie! This one came straight out of ./drivers/thunderbolt, dated October 2026, and it's enum tb_switch_tmu_mode(9) forever and always. Slay ππβ¨
π¦ 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