tb_lc_dp_sink_dealloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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

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