table of contents
PCIE_BANDWIDTH_AVAIL(9) | Hardware Interfaces | PCIE_BANDWIDTH_AVAIL(9) |
NAME¶
pcie_bandwidth_available - determine minimum link settings of a PCIe device and its bandwidth limitation
SYNOPSIS¶
u32 pcie_bandwidth_available(struct pci_dev * dev, struct pci_dev ** limiting_dev, enum pci_bus_speed * speed, enum pcie_link_width * width);
ARGUMENTS¶
dev
PCI device to query
limiting_dev
storage for device causing the bandwidth limitation
speed
storage for speed of limiting device
width
storage for width of limiting device
DESCRIPTION¶
Walk up the PCI device chain and find the point where the minimum bandwidth is available. Return the bandwidth available there and (if limiting_dev, speed, and width pointers are supplied) information about that point. The bandwidth returned is in Mb/s, i.e., megabits/second of raw bandwidth.
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |