Lines Matching defs:drv
28 static int bcma_bus_match(struct device *dev, struct device_driver *drv);
535 struct device_driver *drv = core->dev.driver;
536 if (drv) {
537 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv);
556 struct device_driver *drv = core->dev.driver;
557 if (drv) {
558 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv);
568 int __bcma_driver_register(struct bcma_driver *drv, struct module *owner)
570 drv->drv.name = drv->name;
571 drv->drv.bus = &bcma_bus_type;
572 drv->drv.owner = owner;
574 return driver_register(&drv->drv);
578 void bcma_driver_unregister(struct bcma_driver *drv)
580 driver_unregister(&drv->drv);
584 static int bcma_bus_match(struct device *dev, struct device_driver *drv)
587 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv);
605 drv);
621 drv);