Lines Matching refs:device_driver
96 struct device_driver { struct
125 extern int __must_check driver_register(struct device_driver *drv); argument
126 extern void driver_unregister(struct device_driver *drv);
128 extern struct device_driver *driver_find(const char *name,
138 ssize_t (*show)(struct device_driver *driver, char *buf);
139 ssize_t (*store)(struct device_driver *driver, const char *buf,
150 extern int __must_check driver_create_file(struct device_driver *driver,
152 extern void driver_remove_file(struct device_driver *driver,
157 extern int __must_check driver_for_each_device(struct device_driver *drv,
162 struct device *driver_find_device(struct device_driver *drv,
172 static inline struct device *driver_find_device_by_name(struct device_driver *drv, in driver_find_device_by_name()
185 driver_find_device_by_of_node(struct device_driver *drv, in driver_find_device_by_of_node()
198 driver_find_device_by_fwnode(struct device_driver *drv, in driver_find_device_by_fwnode()
210 static inline struct device *driver_find_device_by_devt(struct device_driver *drv, in driver_find_device_by_devt()
216 static inline struct device *driver_find_next_device(struct device_driver *drv, in driver_find_next_device()
230 driver_find_device_by_acpi_dev(struct device_driver *drv, in driver_find_device_by_acpi_dev()
237 driver_find_device_by_acpi_dev(struct device_driver *drv, const void *adev) in driver_find_device_by_acpi_dev()