Lines Matching refs:device_driver
34 struct device_driver;
114 int (*match)(struct device *dev, struct device_driver *drv);
162 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start,
163 void *data, int (*fn)(struct device_driver *, void *));
259 struct device_driver { struct
285 extern int __must_check driver_register(struct device_driver *drv); argument
286 extern void driver_unregister(struct device_driver *drv);
288 extern struct device_driver *driver_find(const char *name,
298 ssize_t (*show)(struct device_driver *driver, char *buf);
299 ssize_t (*store)(struct device_driver *driver, const char *buf,
312 extern int __must_check driver_create_file(struct device_driver *driver,
314 extern void driver_remove_file(struct device_driver *driver,
317 extern int __must_check driver_for_each_device(struct device_driver *drv,
322 struct device *driver_find_device(struct device_driver *drv,
778 struct device_driver *driver; /* which driver has allocated this
1042 extern int __must_check driver_attach(struct device_driver *drv);