other versions
RIO_MPORT_GET_FEATUR(9) | RapidIO driver interface | RIO_MPORT_GET_FEATUR(9) |
NAME¶
rio_mport_get_feature - query for devices' extended features
SYNOPSIS¶
u32 rio_mport_get_feature(struct rio_mport * port, int local, u16 destid, u8 hopcount, int ftr);
ARGUMENTS¶
struct rio_mport * port
Master port to issue transaction
int local
Indicate a local master port or remote device
access
u16 destid
Destination ID of the device
u8 hopcount
Number of switch hops to the device
int ftr
Extended feature code
DESCRIPTION¶
Tell if a device supports a given RapidIO capability. Returns the offset of the requested extended feature block within the device's RIO configuration space or 0 in case the device does not support it.
AUTHOR¶
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |