Lines Matching refs:drv
130 int __must_check driver_register(struct device_driver *drv);
131 void driver_unregister(struct device_driver *drv);
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() argument
176 return driver_find_device(drv, NULL, name, device_match_name); 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() argument
189 return driver_find_device(drv, NULL, np, device_match_of_node); in driver_find_device_by_of_node()
199 driver_find_device_by_fwnode(struct device_driver *drv, in driver_find_device_by_fwnode() argument
202 return driver_find_device(drv, NULL, fwnode, device_match_fwnode); 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() argument
214 return driver_find_device(drv, NULL, &devt, device_match_devt); 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() argument
220 return driver_find_device(drv, start, NULL, device_match_any); in driver_find_next_device()
231 driver_find_device_by_acpi_dev(const struct device_driver *drv, in driver_find_device_by_acpi_dev() argument
234 return driver_find_device(drv, NULL, adev, device_match_acpi_dev); 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() argument