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 u32 phys_efptr;
24 unsigned char name[RIO_MAX_MPORT_NAME];
25 void * priv;
26 #ifdef CONFIG_RAPIDIO_DMA_ENGINE
27 struct dma_device dma;
28 #endif
29 struct rio_scan * nscan;
30 };
31
33 dbells
34 List of doorbell events
35
36 node
37 Node in global list of master ports
38
39 nnode
40 Node in network list of master ports
41
42 iores
43 I/O mem resource that this master port interface owns
44
45 riores[RIO_MAX_MPORT_RESOURCES]
46 RIO resources that this master port interfaces owns
47
48 inb_msg[RIO_MAX_MBOX]
49 RIO inbound message event descriptors
50
51 outb_msg[RIO_MAX_MBOX]
52 RIO outbound message event descriptors
53
54 host_deviceid
55 Host device ID associated with this master port
56
57 ops
58 configuration space functions
59
60 id
61 Port ID, unique among all ports
62
63 index
64 Port index, unique among all port interfaces of the same type
65
66 sys_size
67 RapidIO common transport system size
68
69 phy_type
70 RapidIO phy type
71
72 phys_efptr
73 RIO port extended features pointer
74
75 name[RIO_MAX_MPORT_NAME]
76 Port name string
77
78 priv
79 Master port private data
80
81 dma
82 DMA device associated with mport
83
84 nscan
85 RapidIO network enumeration/discovery operations
86
88 Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
89 Author.
90
92Kernel Hackers Manual 3.10 June 2019 STRUCT RIO_MPORT(9)