1PCIE_GET_MINIMUM_LIN(9) Hardware Interfaces PCIE_GET_MINIMUM_LIN(9)
2
3
4
6 pcie_get_minimum_link - determine minimum link settings of a PCI device
7
9 int pcie_get_minimum_link(struct pci_dev * dev,
10 enum pci_bus_speed * speed,
11 enum pcie_link_width * width);
12
14 dev
15 PCI device to query
16
17 speed
18 storage for minimum speed
19
20 width
21 storage for minimum width
22
24 This function will walk up the PCI device chain and determine the
25 minimum link width and speed of the device.
26
28Kernel Hackers Manual 3.10 June 2019 PCIE_GET_MINIMUM_LIN(9)