Lines Matching refs:device_driver
96 struct device_driver { struct
130 int __must_check driver_register(struct device_driver *drv); argument
131 void driver_unregister(struct device_driver *drv);
133 struct device_driver *driver_find(const char *name, const struct bus_type *bus);
142 ssize_t (*show)(struct device_driver *driver, char *buf);
143 ssize_t (*store)(struct device_driver *driver, const char *buf,
154 int __must_check driver_create_file(const struct device_driver *driver,
156 void driver_remove_file(const struct device_driver *driver,
161 int __must_check driver_for_each_device(struct device_driver *drv, struct device *start,
163 struct device *driver_find_device(const struct device_driver *drv,
173 static inline struct device *driver_find_device_by_name(const struct device_driver *drv, in driver_find_device_by_name()
186 driver_find_device_by_of_node(const struct device_driver *drv, in driver_find_device_by_of_node()
199 driver_find_device_by_fwnode(struct device_driver *drv, in driver_find_device_by_fwnode()
211 static inline struct device *driver_find_device_by_devt(const struct device_driver *drv, in driver_find_device_by_devt()
217 static inline struct device *driver_find_next_device(const struct device_driver *drv, in driver_find_next_device()
231 driver_find_device_by_acpi_dev(const struct device_driver *drv, in driver_find_device_by_acpi_dev()
238 driver_find_device_by_acpi_dev(const struct device_driver *drv, const void *adev) in driver_find_device_by_acpi_dev()