Lines Matching refs:drv
28 static int bcma_bus_match(struct device *dev, struct device_driver *drv);
570 struct device_driver *drv = core->dev.driver; in bcma_bus_suspend() local
571 if (drv) { in bcma_bus_suspend()
572 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_suspend()
591 struct device_driver *drv = core->dev.driver; in bcma_bus_resume() local
592 if (drv) { in bcma_bus_resume()
593 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_resume()
603 int __bcma_driver_register(struct bcma_driver *drv, struct module *owner) in __bcma_driver_register() argument
605 drv->drv.name = drv->name; in __bcma_driver_register()
606 drv->drv.bus = &bcma_bus_type; in __bcma_driver_register()
607 drv->drv.owner = owner; in __bcma_driver_register()
609 return driver_register(&drv->drv); in __bcma_driver_register()
613 void bcma_driver_unregister(struct bcma_driver *drv) in bcma_driver_unregister() argument
615 driver_unregister(&drv->drv); in bcma_driver_unregister()
619 static int bcma_bus_match(struct device *dev, struct device_driver *drv) in bcma_bus_match() argument
622 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_match()
640 drv); in bcma_device_probe()
653 drv); in bcma_device_remove()