tb_lc_xhci_disconnect(9)
π tb_lc_xhci_disconnect β a kernel API manual moment
ok so this is a page from the Kernel API Manual, bestie β section 9, kernel routines, we're in the big leagues π. It's called tb_lc_xhci_disconnect and honestly? It's giving "small function, very specific job" and I respect it so much.
β¨ NAME β¨
tb_lc_xhci_disconnect β literally just: disconnect the internal xHCI. That's the whole vibe. π
πΈ SYNOPSIS πΈ
void tb_lc_xhci_disconnect (struct tb_port *port );
no return value, no drama, she just does the thing and leaves π
π¦ ARGUMENTS π¦
portβ the device router lane 0 adapter. yes bestie, lane 0 specifically, don't come at her with lane 1, it's not that girl π
π DESCRIPTION π
ok so here's the tea β β this function tells the LC to disconnect the internal xHCI from port. That's it. That's the assignment. She goes in, she says "disconnect the internal xHCI from this port," and she's done.
β οΈ important caveat bestie, do NOT skip this: this can only be called for Thunderbolt 3 routers. Thunderbolt 3 ONLY. if you're out here calling it on anything else that is not the move, no cap π
π₯ SEE ALSO π₯
if you're deep in the lc.c lore (which is literally ./drivers/thunderbolt/lc.c β the kernel file, iykyk), here's the whole friend group, all section 9, all iconic:
tb_lc_read_uuid(9)tb_lc_reset_port(9)tb_lc_configure_port(9)tb_lc_unconfigure_port(9)tb_lc_configure_xdomain(9)tb_lc_unconfigure_xdomain(9)tb_lc_start_lane_initialization(9)tb_lc_is_clx_supported(9)tb_lc_is_usb_plugged(9)tb_lc_is_xhci_connected(9)tb_lc_xhci_connect(9)tb_lc_set_wake(9)tb_lc_set_sleep(9)tb_lc_lane_bonding_possible(9)tb_lc_dp_sink_query(9)tb_lc_dp_sink_alloc(9)tb_lc_dp_sink_dealloc(9)tb_lc_force_power(9)
(and yeah, tb_lc_xhci_connect(9) is right there β she's the counterpart, the connect to this disconnect, they're matching besties π«Άβ¨)
and that's the page!! π§ this lil beauty lives in ./drivers/thunderbolt, it's dated October 2026, and it's part of the Kernel API Manual. mwah, stan, periodt ππ
π¦ 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