1RIO_MPORT_IS_ACTIVE(9) Internals RIO_MPORT_IS_ACTIVE(9)
2
3
4
6 rio_mport_is_active - Tests if master port link is active
7
9 int rio_mport_is_active(struct rio_mport * port);
10
12 port
13 Master port to test
14
16 Reads the port error status CSR for the master port to determine if the
17 port has an active link. Returns RIO_PORT_N_ERR_STS_PORT_OK if the
18 master port is active or 0 if it is inactive.
19
21 Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
22 Author.
23
25Kernel Hackers Manual 3.10 June 2019 RIO_MPORT_IS_ACTIVE(9)