Lines Matching refs:ndrv
24 struct nubus_driver *ndrv = to_nubus_driver(dev->driver); in nubus_device_probe() local
27 if (ndrv->probe) in nubus_device_probe()
28 err = ndrv->probe(to_nubus_board(dev)); in nubus_device_probe()
34 struct nubus_driver *ndrv = to_nubus_driver(dev->driver); in nubus_device_remove() local
37 if (dev->driver && ndrv->remove) in nubus_device_remove()
38 err = ndrv->remove(to_nubus_board(dev)); in nubus_device_remove()
50 int nubus_driver_register(struct nubus_driver *ndrv) in nubus_driver_register() argument
52 ndrv->driver.bus = &nubus_bus_type; in nubus_driver_register()
53 return driver_register(&ndrv->driver); in nubus_driver_register()
57 void nubus_driver_unregister(struct nubus_driver *ndrv) in nubus_driver_unregister() argument
59 driver_unregister(&ndrv->driver); in nubus_driver_unregister()