1STRUCT RIO_OPS(9) Internals STRUCT RIO_OPS(9)
2
3
4
6 struct_rio_ops - Low-level RIO configuration space operations
7
9 struct rio_ops {
10 int (* lcread) (struct rio_mport *mport, int index, u32 offset, int len,u32 *data);
11 int (* lcwrite) (struct rio_mport *mport, int index, u32 offset, int len,u32 data);
12 int (* cread) (struct rio_mport *mport, int index, u16 destid,u8 hopcount, u32 offset, int len, u32 *data);
13 int (* cwrite) (struct rio_mport *mport, int index, u16 destid,u8 hopcount, u32 offset, int len, u32 data);
14 int (* dsend) (struct rio_mport *mport, int index, u16 destid, u16 data);
15 int (* pwenable) (struct rio_mport *mport, int enable);
16 };
17
19 lcread
20 Callback to perform local (master port) read of config space.
21
22 lcwrite
23 Callback to perform local (master port) write of config space.
24
25 cread
26 Callback to perform network read of config space.
27
28 cwrite
29 Callback to perform network write of config space.
30
31 dsend
32 Callback to send a doorbell message.
33
34 pwenable
35 Callback to enable/disable port-write message handling.
36
38 Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
39 Author.
40
42Kernel Hackers Manual 2.6. November 2011 STRUCT RIO_OPS(9)