Lines Matching refs:device_driver
84 struct device_driver *driver;
116 const struct device_driver *async_driver;
158 int bus_add_driver(struct device_driver *drv);
159 void bus_remove_driver(struct device_driver *drv);
160 void device_release_driver_internal(struct device *dev, const struct device_driver *drv,
163 void driver_detach(const struct device_driver *drv);
166 static inline int driver_match_device(const struct device_driver *drv, in driver_match_device()
180 int driver_add_groups(const struct device_driver *drv, const struct attribute_group **groups);
181 void driver_remove_groups(const struct device_driver *drv, const struct attribute_group **groups);
184 static inline void device_set_driver(struct device *dev, const struct device_driver *drv) in device_set_driver()
197 WRITE_ONCE(dev->driver, (struct device_driver *)drv); in device_set_driver()
213 int module_add_driver(struct module *mod, const struct device_driver *drv);
214 void module_remove_driver(const struct device_driver *drv);
217 struct device_driver *drv) in module_add_driver()
221 static inline void module_remove_driver(struct device_driver *drv) { } in module_remove_driver()