tb_lc_reset_port(9)
π NAME π
Okay bestie, welcome to the tb_lc_reset_port(9) page from the Kernel API Manual! π This function is literally βTrigger downstream port reset through LCβ β thatβs the whole vibe. β¨
β¨ SYNOPSIS β¨
int tb_lc_reset_port (struct tb_port *port );
π ARGUMENTS π
portβ the port that is reset. Itβs thestruct tb_port *portfrom the synopsis, bestie π«Ά.
π¦ DESCRIPTION π¦
So what does it do? It triggers downstream port reset through link controller registers. Thatβs the main character move π .
But hear me out: it only supports non-USB4 routers with link controller β and yes, thatβs Thunderbolt 2 and Thunderbolt 3 π§. No cap, thatβs the whole compatibility situation.
π₯ RETURN π₯
- It returns
0on success β slay, we love a clean win β . - Otherwise it returns a negative errno π.
πΈ SEE ALSO πΈ
Kernel file: ./drivers/thunderbolt/lc.c π β and the whole friend group is:
tb_lc_read_uuid(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_xhci_disconnect(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)
Thatβs the whole page, bestie π β source/version: ./drivers/thunderbolt, date: October 2026. Mwah! π
π
π¦ 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