other versions
FSL_RIO_CONFIG_WRITE(9) | Internals | FSL_RIO_CONFIG_WRITE(9) |
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¶
struct rio_mport * mport
RapidIO master port info
int index
ID of RapdiIO interface
u16 destid
Destination ID of transaction
u8 hopcount
Number of hops to target device
u32 offset
Offset into configuration space
int len
Length (in bytes) of the maintenance transaction
u32 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¶
September 2017 | Kernel Hackers Manual 4.12 |