1STRUCT RIO_MPORT(9) Internals STRUCT RIO_MPORT(9)
2
3
4
6 struct_rio_mport - RIO master port info
7
9 struct rio_mport {
10 struct list_head dbells;
11 struct list_head node;
12 struct list_head nnode;
13 struct resource iores;
14 struct resource riores[RIO_MAX_MPORT_RESOURCES];
15 struct rio_msg inb_msg[RIO_MAX_MBOX];
16 struct rio_msg outb_msg[RIO_MAX_MBOX];
17 int host_deviceid;
18 struct rio_ops * ops;
19 unsigned char id;
20 unsigned char index;
21 unsigned int sys_size;
22 enum rio_phy_type phy_type;
23 unsigned char name[40];
24 void * priv;
25 };
26
28 dbells
29 List of doorbell events
30
31 node
32 Node in global list of master ports
33
34 nnode
35 Node in network list of master ports
36
37 iores
38 I/O mem resource that this master port interface owns
39
40 riores[RIO_MAX_MPORT_RESOURCES]
41 RIO resources that this master port interfaces owns
42
43 inb_msg[RIO_MAX_MBOX]
44 RIO inbound message event descriptors
45
46 outb_msg[RIO_MAX_MBOX]
47 RIO outbound message event descriptors
48
49 host_deviceid
50 Host device ID associated with this master port
51
52 ops
53 configuration space functions
54
55 id
56 Port ID, unique among all ports
57
58 index
59 Port index, unique among all port interfaces of the same type
60
61 sys_size
62 RapidIO common transport system size
63
64 phy_type
65 RapidIO phy type
66
67 name[40]
68 Port name string
69
70 priv
71 Master port private data
72
74 Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
75 Author.
76
78Kernel Hackers Manual 2.6. June 2019 STRUCT RIO_MPORT(9)