Lines Matching refs:device_driver
30 struct device_driver;
97 int (*match)(struct device *dev, struct device_driver *drv);
148 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start,
149 void *data, int (*fn)(struct device_driver *, void *));
214 struct device_driver { struct
238 extern int __must_check driver_register(struct device_driver *drv); argument
239 extern void driver_unregister(struct device_driver *drv);
241 extern struct device_driver *driver_find(const char *name,
251 ssize_t (*show)(struct device_driver *driver, char *buf);
252 ssize_t (*store)(struct device_driver *driver, const char *buf,
260 extern int __must_check driver_create_file(struct device_driver *driver,
262 extern void driver_remove_file(struct device_driver *driver,
265 extern int __must_check driver_for_each_device(struct device_driver *drv,
270 struct device *driver_find_device(struct device_driver *drv,
641 struct device_driver *driver; /* which driver has allocated this
822 extern int __must_check driver_attach(struct device_driver *drv);