1RIO_MPORT_GET_FEATUR(9) Internals RIO_MPORT_GET_FEATUR(9)
2
3
4
6 rio_mport_get_feature - query for devicesĀ“ extended features
7
9 u32 rio_mport_get_feature(struct rio_mport * port, int local,
10 u16 destid, u8 hopcount, int ftr);
11
13 port
14 Master port to issue transaction
15
16 local
17 Indicate a local master port or remote device access
18
19 destid
20 Destination ID of the device
21
22 hopcount
23 Number of switch hops to the device
24
25 ftr
26 Extended feature code
27
29 Tell if a device supports a given RapidIO capability. Returns the
30 offset of the requested extended feature block within the deviceĀ“s RIO
31 configuration space or 0 in case the device does not support it.
32 Possible values for ftr:
33
34 RIO_EFB_PAR_EP_ID LP/LVDS EP Devices
35
36 RIO_EFB_PAR_EP_REC_ID LP/LVDS EP Recovery Devices
37
38 RIO_EFB_PAR_EP_FREE_ID LP/LVDS EP Free Devices
39
40 RIO_EFB_SER_EP_ID LP/Serial EP Devices
41
42 RIO_EFB_SER_EP_REC_ID LP/Serial EP Recovery Devices
43
44 RIO_EFB_SER_EP_FREE_ID LP/Serial EP Free Devices
45
47 Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
48 Author.
49
51Kernel Hackers Manual 2.6. June 2019 RIO_MPORT_GET_FEATUR(9)