1STRUCT RIO_DEV(9) Internals STRUCT RIO_DEV(9)
2
3
4
6 struct_rio_dev - RIO device info
7
9 struct rio_dev {
10 struct list_head global_list;
11 struct list_head net_list;
12 struct rio_net * net;
13 u16 did;
14 u16 vid;
15 u32 device_rev;
16 u16 asm_did;
17 u16 asm_vid;
18 u16 asm_rev;
19 u16 efptr;
20 u32 pef;
21 u32 swpinfo;
22 u32 src_ops;
23 u32 dst_ops;
24 u64 dma_mask;
25 struct rio_switch * rswitch;
26 struct rio_driver * driver;
27 struct device dev;
28 struct resource riores[RIO_MAX_DEV_RESOURCES];
29 u16 destid;
30 };
31
33 global_list
34 Node in list of all RIO devices
35
36 net_list
37 Node in list of RIO devices in a network
38
39 net
40 Network this device is a part of
41
42 did
43 Device ID
44
45 vid
46 Vendor ID
47
48 device_rev
49 Device revision
50
51 asm_did
52 Assembly device ID
53
54 asm_vid
55 Assembly vendor ID
56
57 asm_rev
58 Assembly revision
59
60 efptr
61 Extended feature pointer
62
63 pef
64 Processing element features
65
66 swpinfo
67 Switch port info
68
69 src_ops
70 Source operation capabilities
71
72 dst_ops
73 Destination operation capabilities
74
75 dma_mask
76 Mask of bits of RIO address this device implements
77
78 rswitch
79 Pointer to struct rio_switch if valid for this device
80
81 driver
82 Driver claiming this device
83
84 dev
85 Device model device
86
87 riores[RIO_MAX_DEV_RESOURCES]
88 RIO resources this device owns
89
90 destid
91 Network destination ID
92
94 Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
95 Author.
96
98Kernel Hackers Manual 2.6. June 2019 STRUCT RIO_DEV(9)