tb_lc_dp_sink_query(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ”₯


okay that’s the whole page, bestie β€” source/version: ./drivers/thunderbolt, dated October 2026. bye, love u, stay hydrated πŸ’‹βœ¨

πŸ“¦ where this page comes from