Scroll to navigation

FSL_LOCAL_CONFIG_REA(9) Internals FSL_LOCAL_CONFIG_REA(9)

NAME

fsl_local_config_read - Generate a MPC85xx local config space read

SYNOPSIS

int fsl_local_config_read(struct rio_mport * mport, int index, u32 offset, int len, u32 * data);

ARGUMENTS

struct rio_mport * mport
RapidIO master port info

int index

ID of RapdiIO interface

u32 offset

Offset into configuration space

int len

Length (in bytes) of the maintenance transaction

u32 * data

Value to be read into

DESCRIPTION

Generates a MPC85xx local configuration space read. Returns 0 on success or -EINVAL on failure.

AUTHOR

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

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11