tb_port_find_cap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ tb_port_find_cap(9) β€” find that port capability, bestie πŸ‘‘

okay so welcome to the tb_port_find_cap(9) page from the Kernel API Manual ✨ this one is literally here to help you find a port capability, and it’s giving kernel detective energy πŸ”πŸ’…


πŸ’– NAME πŸ’–

tb_port_find_cap β€” Find port capability πŸŽ€

🌸 SYNOPSIS 🌸

int tb_port_find_cap (struct tb_port *port , enum tb_port_cap cap );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • port β€” the port to find the capability for πŸ‘€
  • cap β€” the capability you’re looking for πŸ’…

πŸ”₯ RETURN πŸ”₯

  • Offset to the start of capability β€” on success πŸŽ‰
  • -ENOENT β€” if no such capability was found 😭
  • Negative errno β€” another error occurred πŸ’€

🌈 SEE ALSO 🌈


mwah πŸ’‹ this one comes from ./drivers/thunderbolt, dated October 2026, and it ate, no cap 🫢✨

πŸ“¦ where this page comes from