Lines Matching refs:sys_device
29 struct sys_device;
35 int (*shutdown)(struct sys_device *);
36 int (*suspend)(struct sys_device *, pm_message_t state);
37 int (*resume)(struct sys_device *);
68 int (*add)(struct sys_device *);
69 int (*remove)(struct sys_device *);
70 int (*shutdown)(struct sys_device *);
71 int (*suspend)(struct sys_device *, pm_message_t state);
72 int (*resume)(struct sys_device *);
85 struct sys_device {
91 extern int sysdev_register(struct sys_device *);
92 extern void sysdev_unregister(struct sys_device *);
97 ssize_t (*show)(struct sys_device *, char *);
98 ssize_t (*store)(struct sys_device *, const char *, size_t);
113 extern int sysdev_create_file(struct sys_device *, struct sysdev_attribute *);
114 extern void sysdev_remove_file(struct sys_device *, struct sysdev_attribute *);