tb_lc_read_uuid(9)
β¨ tb_lc_read_uuid(9) β¨
okay so bestie, welcome to the tb_lc_read_uuid page π
this is a section 9 Kernel API Manual situation, and it's literally about reading the switch UUID from the link controller common register. yes ma'am, that's the whole vibe π
πΈ NAME πΈ
tb_lc_read_uuid β read the switch UUID straight out of the link controller common register π
π¦ SYNOPSIS π¦
int tb_lc_read_uuid (struct tb_switch *sw , u32 *uuid );
π ARGUMENTS π
swβ the switch whose UUID is being read π«Ά like, this is the main character of the operation.uuidβ and this is where the UUID gets placed β¨ it's the output spot, the lil landing pad for the UUID.
β RETURN β
0 on success π β and a negative errno otherwise π no cap, that's the contract.
ngl bestie, always check the return value. negative errno means something went sideways π
π§ SEE ALSO π§
kernel file ./drivers/thunderbolt/lc.c plus the whole tb_lc bestie squad:
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_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)
and that's the page, periodt π
this one lives in ./drivers/thunderbolt, dated October 2026, and the manual name is tb_lc_read_uuid(9) in case you forgot already π go read some UUIDs bestie, you got this ππ₯
π¦ 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