tb_lc_dp_sink_dealloc(9)
π tb_lc_dp_sink_dealloc β De-allocate DP sink
okay so bestie, you opened the tb_lc_dp_sink_dealloc(9) page in the Kernel API Manual and itβs giving βtiny function, very specific cleanup job.β letβs get into it β¨
πΈ NAME πΈ
tb_lc_dp_sink_dealloc β De-allocate DP sink. thatβs literally the whole name, no cap.
π SYNOPSIS π
int tb_lc_dp_sink_dealloc (struct tb_switch *sw , struct tb_port *in );
π¦ ARGUMENTS π¦
swβ the switch whose DP sink is de-allocated. yes, that switch πinβ the DP IN port whose DP sink is de-allocated. itβs the port, bestie π«Ά
β DESCRIPTION β
This de-allocates the DP sink from in using LC SNK_ALLOCATION registers. thatβs the vibe: sink allocation cleanup, periodt β¨
π₯ RETURN π₯
0 on success, negative errno otherwise. slay when itβs 0; if itβs negative, itβs giving error energy π
π 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_alloc(9)tb_lc_force_power(9)
fr fr, this see-also list is your little group chat of related LC functions β keep it close π
xoxo, your ./drivers/thunderbolt source, dated October 2026 β tb_lc_dp_sink_dealloc(9) signing off π
π¦ 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