Searched +defs:device_driver +path:device +path:. +path:h (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/include/linux/
H A Ddevice.h34 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 *));
199 * struct device_driver - The basic device driver structure
230 struct device_driver { struct
255 extern int __must_check driver_register(struct device_driver *drv);
256 extern void driver_unregister(struct device_driver *drv);
258 extern struct device_driver *driver_find(const char *name,
268 ssize_t (*show)(struct device_driver *driver, char *buf);
269 ssize_t (*store)(struct device_driver *driver, const char *buf,
282 extern int __must_check driver_create_file(struct device_driver *driver,
284 extern void driver_remove_file(struct device_driver *driver,
287 extern int __must_check driver_for_each_device(struct device_driver *drv,
292 struct device *driver_find_device(struct device_driver *drv,
737 struct device_driver *driver; /* which driver has allocated this
977 extern int __must_check driver_attach(struct device_driver *drv);

Completed in 35 milliseconds