other versions
- stretch 4.9.168-1
RIO_IS_SWITCH(9) | Internals | RIO_IS_SWITCH(9) |
NAME¶
rio_is_switch - Tests if a RIO device has switch capabilitiesSYNOPSIS¶
int rio_is_switch(struct rio_dev * rdev);
ARGUMENTS¶
rdevRIO device
DESCRIPTION¶
Gets the RIO device Processing Element Features register contents and tests for switch capabilities. Returns 1 if the device is a switch or 0 if it is not a switch. The RIO device struct is freed.AUTHOR¶
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |