other versions
STRUCT RIO_DRIVER(9) | Internals | STRUCT RIO_DRIVER(9) |
NAME¶
struct_rio_driver - RIO driver infoSYNOPSIS¶
struct rio_driver { struct list_head node; char * name; const struct rio_device_id * id_table; int (* probe) (struct rio_dev * dev, const struct rio_device_id * id); void (* remove) (struct rio_dev * dev); void (* shutdown) (struct rio_dev *dev); int (* suspend) (struct rio_dev * dev, u32 state); int (* resume) (struct rio_dev * dev); int (* enable_wake) (struct rio_dev * dev, u32 state, int enable); struct device_driver driver; };
MEMBERS¶
struct list_head nodeNode in list of drivers
char * name
RIO driver name
const struct rio_device_id * id_table
RIO device ids to be associated with this driver
int (*) (struct rio_dev * dev, const struct rio_device_id * id) probe
RIO device inserted
void (*) (struct rio_dev * dev) remove
RIO device removed
void (*)(struct rio_dev *dev) shutdown
shutdown notification callback
int (*) (struct rio_dev * dev, u32 state) suspend
RIO device suspended
int (*) (struct rio_dev * dev) resume
RIO device awakened
int (*) (struct rio_dev * dev, u32 state, int enable) enable_wake
RIO device enable wake event
struct device_driver driver
LDM driver struct
DESCRIPTION¶
Provides info on a RIO device driver for insertion/removal and power management purposes.AUTHOR¶
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |