---
name: "pcie_get_minimum_link"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/pcie_get_minimum_link"
---

# pcie\_get\_minimum\_link(9)

determine minimum link settings of a PCI device

## NAME

pcie\_get\_minimum\_link - determine minimum link settings of a PCI device

## SYNOPSIS

**int pcie\_get\_minimum\_link(struct pci\_dev \*** *dev***, enum pci\_bus\_speed \*** *speed***, enum pcie\_link\_width \*** *width***);**

## ARGUMENTS

*dev*

PCI device to query

*speed*

storage for minimum speed

*width*

storage for minimum width

## DESCRIPTION

This function will walk up the PCI device chain and determine the minimum link width and speed of the device.

## COPYRIGHT
