Searched refs:add_driver (Results 1 – 2 of 2) sorted by relevance
69 pub fn add_driver(&self, id_table: IdTable, drv: Arc<dyn Driver>) { in add_driver() method128 DRIVER_MANAGER.add_driver(driver.id_table(), driver); in driver_register()137 DRIVER_MANAGER.add_driver(driver.id_table(), driver); in driver_unregister()
119 pub fn add_driver(&self, id_table: IdTable, bus_drv: Arc<dyn BusDriver>) { in add_driver() method201 BUS_MANAGER.add_driver(bus_driver.id_table(), bus_driver.clone()); in bus_driver_register()210 BUS_MANAGER.add_driver(bus_driver.id_table(), bus_driver.clone()); in bus_driver_unregister()