---
name: "fsl_rio_config_write"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/fsl_rio_config_write"
---

# fsl\_rio\_config\_write(9)

Generate a MPC85xx write maintenance transaction

## NAME

fsl\_rio\_config\_write - Generate a MPC85xx write maintenance transaction

## SYNOPSIS

**int fsl\_rio\_config\_write(struct rio\_mport \*** *mport***, int** *index***, u16** *destid***, u8** *hopcount***, u32** *offset***, int** *len***, u32** *val***);**

## ARGUMENTS

*mport*

RapidIO master port info

*index*

ID of RapdiIO interface

*destid*

Destination ID of transaction

*hopcount*

Number of hops to target device

*offset*

Offset into configuration space

*len*

Length (in bytes) of the maintenance transaction

*val*

Value to be written

## DESCRIPTION

Generates an MPC85xx write maintenance transaction. Returns **0** on success or **-EINVAL** on failure.

## AUTHOR

**Matt Porter** \<mporter@kernel.crashing.org\>, \<mporter@mvista.com\>

Author.

## COPYRIGHT
