Lines Matching defs:drv
124 extern int __must_check driver_register(struct device_driver *drv);
125 extern void driver_unregister(struct device_driver *drv);
155 extern int __must_check driver_for_each_device(struct device_driver *drv,
160 struct device *driver_find_device(struct device_driver *drv,
167 * @drv: the driver we're iterating
170 static inline struct device *driver_find_device_by_name(struct device_driver *drv,
173 return driver_find_device(drv, NULL, name, device_match_name);
179 * @drv: the driver we're iterating
183 driver_find_device_by_of_node(struct device_driver *drv,
186 return driver_find_device(drv, NULL, np, device_match_of_node);
192 * @drv: the driver we're iterating
196 driver_find_device_by_fwnode(struct device_driver *drv,
199 return driver_find_device(drv, NULL, fwnode, device_match_fwnode);
205 * @drv: the driver we're iterating
208 static inline struct device *driver_find_device_by_devt(struct device_driver *drv,
211 return driver_find_device(drv, NULL, &devt, device_match_devt);
214 static inline struct device *driver_find_next_device(struct device_driver *drv,
217 return driver_find_device(drv, start, NULL, device_match_any);
224 * @drv: the driver we're iterating
228 driver_find_device_by_acpi_dev(struct device_driver *drv,
231 return driver_find_device(drv, NULL, adev, device_match_acpi_dev);
235 driver_find_device_by_acpi_dev(struct device_driver *drv, const void *adev)