tb_lc_is_clx_supported(9)
π 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 π:
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_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)
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
- 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