Lines Matching refs:drv
272 static int nvdimm_bus_match(struct device *dev, struct device_driver *drv);
459 .drv = {
468 static int nvdimm_bus_match(struct device *dev, struct device_driver *drv) in nvdimm_bus_match() argument
470 struct nd_device_driver *nd_drv = to_nd_device_driver(drv); in nvdimm_bus_match()
602 struct device_driver *drv = &nd_drv->drv; in __nd_driver_register() local
615 drv->bus = &nvdimm_bus_type; in __nd_driver_register()
616 drv->owner = owner; in __nd_driver_register()
617 drv->mod_name = mod_name; in __nd_driver_register()
619 return driver_register(drv); in __nd_driver_register()
1329 rc = driver_register(&nd_bus_driver.drv); in nvdimm_bus_init()
1349 driver_unregister(&nd_bus_driver.drv); in nvdimm_bus_exit()