tb_available_credits(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to tb_available_credits(9) from the Kernel API Manual β€” it's literally the page for Available credits for PCIe and DMA. That's the whole vibe. no cap. 🫢

🌸 SYNOPSIS 🌸

unsigned int tb_available_credits (const struct tb_port *port , size_t
*max_dp_streams );

πŸŽ€ ARGUMENTS πŸŽ€

  • port β€” the lane adapter to check. πŸ‘€
  • max_dp_streams β€” if it's non-NULL, it stores the maximum number of simultaneous DP streams possible through this lane adapter. πŸ’…

πŸ’– RETURN πŸ’–

It returns the number of available credits. slay, that's the whole return. ✨

πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file is ./drivers/thunderbolt/tunnel.c, and the related crew is:


okay that's the page, bestie β€” source/version ./drivers/thunderbolt, date October 2026, page tb_available_credits(9). mwah πŸ’‹

πŸ“¦ where this page comes from