'\" t
.\"     Title: fsl_rio_config_write
.\"    Author: 
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: March 2017
.\"    Manual: Internals
.\"    Source: Kernel Hackers Manual 4.10.7
.\"  Language: English
.\"
.TH "FSL_RIO_CONFIG_WRITE" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "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_write \- Generate a MPC85xx write maintenance transaction
.SH "SYNOPSIS"
.HP \w'int\ fsl_rio_config_write('u
.BI "int fsl_rio_config_write(struct\ rio_mport\ *\ " "mport" ", int\ " "index" ", u16\ " "destid" ", u8\ " "hopcount" ", u32\ " "offset" ", int\ " "len" ", u32\ " "val" ");"
.SH "ARGUMENTS"
.PP
\fImport\fR
.RS 4
RapidIO master port info
.RE
.PP
\fIindex\fR
.RS 4
ID of RapdiIO interface
.RE
.PP
\fIdestid\fR
.RS 4
Destination ID of transaction
.RE
.PP
\fIhopcount\fR
.RS 4
Number of hops to target device
.RE
.PP
\fIoffset\fR
.RS 4
Offset into configuration space
.RE
.PP
\fIlen\fR
.RS 4
Length (in bytes) of the maintenance transaction
.RE
.PP
\fIval\fR
.RS 4
Value to be written
.RE
.SH "DESCRIPTION"
.PP
Generates an MPC85xx write 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
