'\" t .\" Title: pcie_get_minimum_link .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "PCIE_GET_MINIMUM_LIN" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "Hardware Interfaces" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pcie_get_minimum_link \- determine minimum link settings of a PCI device .SH "SYNOPSIS" .HP \w'int\ pcie_get_minimum_link('u .BI "int pcie_get_minimum_link(struct\ pci_dev\ *\ " "dev" ", enum\ pci_bus_speed\ *\ " "speed" ", enum\ pcie_link_width\ *\ " "width" ");" .SH "ARGUMENTS" .PP \fIstruct pci_dev * dev\fR .RS 4 PCI device to query .RE .PP \fIenum pci_bus_speed * speed\fR .RS 4 storage for minimum speed .RE .PP \fIenum pcie_link_width * width\fR .RS 4 storage for minimum width .RE .SH "DESCRIPTION" .PP This function will walk up the PCI device chain and determine the minimum link width and speed of the device\&. .SH "COPYRIGHT" .br