Lines Matching defs:drv
29 static int bcma_bus_match(struct device *dev, struct device_driver *drv);
538 struct device_driver *drv = core->dev.driver;
539 if (drv) {
540 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv);
559 struct device_driver *drv = core->dev.driver;
560 if (drv) {
561 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv);
571 int __bcma_driver_register(struct bcma_driver *drv, struct module *owner)
573 drv->drv.name = drv->name;
574 drv->drv.bus = &bcma_bus_type;
575 drv->drv.owner = owner;
577 return driver_register(&drv->drv);
581 void bcma_driver_unregister(struct bcma_driver *drv)
583 driver_unregister(&drv->drv);
587 static int bcma_bus_match(struct device *dev, struct device_driver *drv)
590 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv);
608 drv);
624 drv);