'\" t .\" Title: fsl_rio_config_read .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: Internals .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "FSL_RIO_CONFIG_READ" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "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" fsl_rio_config_read \- Generate a MPC85xx read maintenance transaction .SH "SYNOPSIS" .HP \w'int\ fsl_rio_config_read('u .BI "int fsl_rio_config_read(struct\ rio_mport\ *\ " "mport" ", int\ " "index" ", u16\ " "destid" ", u8\ " "hopcount" ", u32\ " "offset" ", int\ " "len" ", u32\ *\ " "val" ");" .SH "ARGUMENTS" .PP \fIstruct rio_mport * mport\fR .RS 4 RapidIO master port info .RE .PP \fIint index\fR .RS 4 ID of RapdiIO interface .RE .PP \fIu16 destid\fR .RS 4 Destination ID of transaction .RE .PP \fIu8 hopcount\fR .RS 4 Number of hops to target device .RE .PP \fIu32 offset\fR .RS 4 Offset into configuration space .RE .PP \fIint len\fR .RS 4 Length (in bytes) of the maintenance transaction .RE .PP \fIu32 * val\fR .RS 4 Location to be read into .RE .SH "DESCRIPTION" .PP Generates a MPC85xx read maintenance transaction\&. Returns \fB0\fR on success or \fB\-EINVAL\fR on failure\&. .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br