tb_lc_dp_sink_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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


β€” signed with love from source/version vibes: ./drivers/thunderbolt, October 2026 πŸ’–

πŸ“¦ where this page comes from