Lines Matching refs:drv
25 static int bcma_bus_match(struct device *dev, struct device_driver *drv);
539 struct device_driver *drv = core->dev.driver; in bcma_bus_suspend() local
540 if (drv) { in bcma_bus_suspend()
541 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_suspend()
560 struct device_driver *drv = core->dev.driver; in bcma_bus_resume() local
561 if (drv) { in bcma_bus_resume()
562 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_resume()
572 int __bcma_driver_register(struct bcma_driver *drv, struct module *owner) in __bcma_driver_register() argument
574 drv->drv.name = drv->name; in __bcma_driver_register()
575 drv->drv.bus = &bcma_bus_type; in __bcma_driver_register()
576 drv->drv.owner = owner; in __bcma_driver_register()
578 return driver_register(&drv->drv); in __bcma_driver_register()
582 void bcma_driver_unregister(struct bcma_driver *drv) in bcma_driver_unregister() argument
584 driver_unregister(&drv->drv); in bcma_driver_unregister()
588 static int bcma_bus_match(struct device *dev, struct device_driver *drv) in bcma_bus_match() argument
591 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_match()
609 drv); in bcma_device_probe()
622 drv); in bcma_device_remove()