Lines Matching refs:device_driver

33 struct device_driver;
123 int (*match)(struct device *dev, struct device_driver *drv);
265 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start,
266 void *data, int (*fn)(struct device_driver *, void *));
368 struct device_driver { struct
396 extern int __must_check driver_register(struct device_driver *drv); argument
397 extern void driver_unregister(struct device_driver *drv);
399 extern struct device_driver *driver_find(const char *name,
408 ssize_t (*show)(struct device_driver *driver, char *buf);
409 ssize_t (*store)(struct device_driver *driver, const char *buf,
420 extern int __must_check driver_create_file(struct device_driver *driver,
422 extern void driver_remove_file(struct device_driver *driver,
425 extern int __must_check driver_for_each_device(struct device_driver *drv,
430 struct device *driver_find_device(struct device_driver *drv,
440 static inline struct device *driver_find_device_by_name(struct device_driver *drv, in driver_find_device_by_name()
453 driver_find_device_by_of_node(struct device_driver *drv, in driver_find_device_by_of_node()
466 driver_find_device_by_fwnode(struct device_driver *drv, in driver_find_device_by_fwnode()
478 static inline struct device *driver_find_device_by_devt(struct device_driver *drv, in driver_find_device_by_devt()
484 static inline struct device *driver_find_next_device(struct device_driver *drv, in driver_find_next_device()
498 driver_find_device_by_acpi_dev(struct device_driver *drv, in driver_find_device_by_acpi_dev()
505 driver_find_device_by_acpi_dev(struct device_driver *drv, const void *adev) in driver_find_device_by_acpi_dev()
1239 struct device_driver *driver; /* which driver has allocated this
1562 extern int __must_check driver_attach(struct device_driver *drv);