tb_lc_dp_sink_query(9)
π tb_lc_dp_sink_query(9) π
okay bestie, welcome to the Kernel API Manual page for tb_lc_dp_sink_query β itβs giving βtiny function, very specific job,β and honestly? iconic. It checks whether a DP sink is available for a DP IN port. no cap β¨
πΈ NAME πΈ
tb_lc_dp_sink_query β Is DP sink available for DP IN port π
β¨ SYNOPSIS β¨
bool tb_lc_dp_sink_query (struct tb_switch *sw , struct tb_port *in );
π ARGUMENTS π
swβ the switch whose DP sink is queried π«Άinβ the DP IN port to check π
π¦ DESCRIPTION π¦
so hereβs the whole vibe: it queries through the LC SNK_ALLOCATION registers to see whether a DP sink is available for the given DP IN port β or not. literally thatβs the mission, bestie π
π RETURN π
It returns true if a DP sink is available, and false otherwise. thatβs the whole return section, periodt π
π₯ SEE ALSO π₯
- 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_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_alloc(9)tb_lc_dp_sink_dealloc(9)tb_lc_force_power(9)
okay thatβs the whole page, bestie β source/version: ./drivers/thunderbolt, dated October 2026. bye, love u, stay hydrated πβ¨
π¦ 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