tb_available_credits(9)
β¨ 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'snon-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:
tb_tunnel_event(9)tb_tunnel_discover_pci(9)tb_tunnel_alloc_pci(9)tb_tunnel_reserved_pci(9)tb_dp_bandwidth_mode_maximum_bandwidth(9)tb_tunnel_discover_dp(9)tb_tunnel_alloc_dp(9)tb_tunnel_alloc_dma(9)tb_tunnel_match_dma(9)tb_tunnel_discover_usb3(9)tb_tunnel_alloc_usb3(9)tb_tunnel_is_invalid(9)tb_tunnel_activate(9)tb_tunnel_deactivate(9)tb_tunnel_port_on_path(9)tb_tunnel_maximum_bandwidth(9)tb_tunnel_allocated_bandwidth(9)tb_tunnel_alloc_bandwidth(9)tb_tunnel_consumed_bandwidth(9)tb_tunnel_release_unused_bandwidth(9)tb_tunnel_reclaim_available_bandwidth(9)
okay that's the page, bestie β source/version ./drivers/thunderbolt, date October 2026, page tb_available_credits(9). mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms