1STRUCT RIO_DRIVER(9) Internals STRUCT RIO_DRIVER(9)
2
3
4
6 struct_rio_driver - RIO driver info
7
9 struct rio_driver {
10 struct list_head node;
11 char * name;
12 const struct rio_device_id * id_table;
13 int (* probe) (struct rio_dev * dev, const struct rio_device_id * id);
14 void (* remove) (struct rio_dev * dev);
15 int (* suspend) (struct rio_dev * dev, u32 state);
16 int (* resume) (struct rio_dev * dev);
17 int (* enable_wake) (struct rio_dev * dev, u32 state, int enable);
18 struct device_driver driver;
19 };
20
22 node
23 Node in list of drivers
24
25 name
26 RIO driver name
27
28 id_table
29 RIO device ids to be associated with this driver
30
31 probe
32 RIO device inserted
33
34 remove
35 RIO device removed
36
37 suspend
38 RIO device suspended
39
40 resume
41 RIO device awakened
42
43 enable_wake
44 RIO device enable wake event
45
46 driver
47 LDM driver struct
48
50 Provides info on a RIO device driver for insertion/removal and power
51 management purposes.
52
54 Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
55 Author.
56
58Kernel Hackers Manual 3.10 June 2019 STRUCT RIO_DRIVER(9)