'\" t .\" Title: pci_request_regions .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "PCI_REQUEST_REGIONS" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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" pci_request_regions \- Reserved PCI I/O and memory resources .SH "SYNOPSIS" .HP \w'int\ pci_request_regions('u .BI "int pci_request_regions(struct\ pci_dev\ *\ " "pdev" ", const\ char\ *\ " "res_name" ");" .SH "ARGUMENTS" .PP \fIpdev\fR .RS 4 PCI device whose resources are to be reserved .RE .PP \fIres_name\fR .RS 4 Name to be associated with resource\&. .RE .SH "DESCRIPTION" .PP Mark all PCI regions associated with PCI device \fIpdev\fR as being reserved by owner \fIres_name\fR\&. Do not access any address inside the PCI regions unless this call returns successfully\&. .PP Returns 0 on success, or \fBEBUSY\fR on error\&. A warning message is also printed on failure\&. .SH "COPYRIGHT" .br