tb_lc_is_clx_supported(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tb_lc_is_clx_supported

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's a tiny little function from the Thunderbolt corner of the kernel, and honestly? she's short but she's iconic πŸŽ€


🌸 NAME

tb_lc_is_clx_supported β€” check whether CLx is supported by the lane adapter πŸ¦‹

✨ SYNOPSIS

bool tb_lc_is_clx_supported (struct tb_port *port );

yes that's the whole thing, she's a one-liner, no cap πŸ™ˆ

πŸŽ€ ARGUMENTS

  • port β€” the lane adapter πŸ’« (that's the port we're asking about, bestie, keep up)

πŸ’– DESCRIPTION

okay so here's the tea β˜• β€” the TB_LC_LINK_ATTR_CPS bit reflects whether the link supports CLx, and that includes active cables if they're connected on the link πŸ”₯

so like, the bit is the whole vibe check here. if that bit's in a good mood, the link is down with CLx. literally that's it πŸ’…

⭐ RETURN

true if CLx is supported, false otherwise 🫢 β€” clean, simple, no plot twist, we love that for us 😭

πŸ‘‘ SEE ALSO

okay the friend group is BIG and they're all in the kernel file ./drivers/thunderbolt/lc.c 🌈:

like, the whole squad fr fr πŸ’œ


ngl bestie, go read them all, they're all living in ./drivers/thunderbolt together and they ate πŸ“

that's the whole page! courtesy of the fine folks at ./drivers/thunderbolt, dated October 2026 β€” mwah, ily, go check your CPS bit πŸ’‹πŸ§š

πŸ“¦ where this page comes from