'\" t .\" Title: rio_get_device_id .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: September 2017 .\" Manual: Internals .\" Source: Kernel Hackers Manual 4.12.13 .\" Language: English .\" .TH "RIO_GET_DEVICE_ID" "9" "September 2017" "Kernel Hackers Manual 4\&.12\&" "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_get_device_id \- Get the base/extended device id for a device .SH "SYNOPSIS" .HP \w'u16\ rio_get_device_id('u .BI "u16 rio_get_device_id(struct\ rio_mport\ *\ " "port" ", u16\ " "destid" ", u8\ " "hopcount" ");" .SH "ARGUMENTS" .PP \fIstruct rio_mport * port\fR .RS 4 RIO master port .RE .PP \fIu16 destid\fR .RS 4 Destination ID of device .RE .PP \fIu8 hopcount\fR .RS 4 Hopcount to device .RE .SH "DESCRIPTION" .PP Reads the base/extended device id from a device\&. Returns the 8/16\-bit device ID\&. .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br