tb_switch_tmu_init(9)
tb_switch_tmu_init(9) π¦
Welcome to the Kernel API Manual, bestie β this is the page for tb_switch_tmu_init(9), and it's the lil setup moment before the TMU functions get to do their thing. π
π NAME π
tb_switch_tmu_init β Initialize switch TMU structures. β¨
π SYNOPSIS π
int tb_switch_tmu_init (struct tb_switch *sw );
π¦ ARGUMENTS π¦
swβ the switch to be initialized, aka the main character we're setting up. π«Ά
πΈ DESCRIPTION πΈ
Okay so listen: this function must be called before other TMU related functions, fr fr. That's how you make sure the internal structures are filled in correctly. β¨
It does not change any hardware configuration β zero hardware glow-ups here, just the internal setup. π
π RETURN π
0on success. π- negative
errnootherwise. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/thunderbolt/tmu.c tb_switch_tmu_post_time(9)tb_switch_tmu_disable(9)tb_switch_tmu_enable(9)tb_switch_tmu_configure(9)
Cute sign-off: brought to you by ./drivers/thunderbolt, dated October 2026, and filed under tb_switch_tmu_init(9). 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