'\" t .\" Title: rio_find_mport .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Internals .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "RIO_FIND_MPORT" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "Internals" .\" ----------------------------------------------------------------- .\" * 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" rio_find_mport \- find RIO mport by its ID .SH "SYNOPSIS" .HP \w'struct\ rio_mport\ *\ rio_find_mport('u .BI "struct rio_mport * rio_find_mport(int\ " "mport_id" ");" .SH "ARGUMENTS" .PP \fImport_id\fR .RS 4 number (ID) of mport device .RE .SH "DESCRIPTION" .PP Given a RIO mport number, the desired mport is located in the global list of mports\&. If the mport is found, a pointer to its data structure is returned\&. If no mport is found, \fBNULL\fR is returned\&. .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br