tb_lc_read_uuid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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:


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