tb_switch_tmu_enable(9)
β¨ tb_switch_tmu_enable(9) β¨
okay so bestie, welcome to the Kernel API Manual β this is the whole vibe for tb_switch_tmu_enable, and ngl it's a little cutie of a function that just... turns a thing on. iconic behavior honestly π
πΈ NAME πΈ
tb_switch_tmu_enable β Enable TMU on a router π
β¨ SYNOPSIS β¨
int tb_switch_tmu_enable (struct tb_switch *sw );
π¦ ARGUMENTS π¦
swβ the Router whose TMU you're about to enable. yes, that one. the main character π«Ά
π DESCRIPTION π
so here's the tea β β this function enables the TMU of a router, and it can land in one of these modes:
- uni-directional Normal
- uni-directional HiFi
- bi-directional HiFi
but bestie, listen to me: calling tb_switch_tmu_configure is required before calling this function. like, mandatory mandatory. no skipping, no "I'll do it later", none of that π
π₯ RETURN π₯
0on success π- negative
errnootherwise π (it's giving "something went wrong", iykyk)
π SEE ALSO π
- Kernel file
./drivers/thunderbolt/tmu.c tb_switch_tmu_init(9)tb_switch_tmu_post_time(9)tb_switch_tmu_disable(9)tb_switch_tmu_configure(9)
friendly reminder from your girl: configure first. that's it. that's the whole warning. do NOT come for me when it doesn't work because you skipped tb_switch_tmu_configure. π
okay that's the whole page, you ate that π this lil masterpiece lives in ./drivers/thunderbolt and it's dated October 2026 β so yes, she's from the future, we stan a forward-thinking icon πβ¨ periΠΎdt.
π¦ 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