Home
last modified time | relevance | path

Searched refs:ndrv (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/nubus/
Dbus.c24 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
36 if (ndrv->remove) in nubus_device_remove()
37 ndrv->remove(to_nubus_board(dev)); in nubus_device_remove()
48 int nubus_driver_register(struct nubus_driver *ndrv) in nubus_driver_register() argument
50 ndrv->driver.bus = &nubus_bus_type; in nubus_driver_register()
51 return driver_register(&ndrv->driver); in nubus_driver_register()
55 void nubus_driver_unregister(struct nubus_driver *ndrv) in nubus_driver_unregister() argument
[all …]
/linux-5.19.10/include/linux/
Dnubus.h168 int nubus_driver_register(struct nubus_driver *ndrv);
169 void nubus_driver_unregister(struct nubus_driver *ndrv);