tb_lc_dp_sink_alloc(9)
π
tb_lc_dp_sink_alloc(9) β Kernel API Manual π
πΈ NAME πΈ
tb_lc_dp_sink_alloc β Allocate DP sink β¨
β¨ SYNOPSIS β¨
Bestie, here's the exact signature β keep it character-for-character:
int tb_lc_dp_sink_alloc (struct tb_switch *sw , struct tb_port *in );
π ARGUMENTS π
swβ the switch whose DP sink is allocated π«Άinβ the DP IN port the DP sink is allocated for π
π DESCRIPTION π
Okay so this one allocates the DP sink for in via the LC SNK_ALLOCATION registers β that's literally the whole vibe, no cap β¨
πΈ RETURN πΈ
0β if the resource is available and allocation is successful π-EBUSYβ if the resource is not available π«- Negative errno β another error occurred π
π¦ 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_query(9)tb_lc_dp_sink_dealloc(9)tb_lc_force_power(9)
β signed with love from source/version vibes: ./drivers/thunderbolt, October 2026 π
π¦ 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