Searched refs:driver_manager (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_driver.rs | 5 driver::{driver_manager, Driver}, 46 return driver_manager().register(driver as Arc<dyn Driver>); in register() 52 driver_manager().unregister(&(driver.clone() as Arc<dyn Driver>)); in unregister()
|
/DragonOS/kernel/src/driver/input/serio/ |
H A D | serio_driver.rs | 6 driver::{driver_manager, Driver}, 70 return driver_manager().register(driver as Arc<dyn Driver>); in register() 83 driver_manager().unregister(&(driver.clone() as Arc<dyn Driver>)); in unregister()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | driver.rs | 6 driver::{driver_manager, Driver}, 77 return driver_manager().register(driver as Arc<dyn Driver>); in register() 82 driver_manager().unregister(&(driver.clone() as Arc<dyn Driver>)); in unregister()
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | dd.rs | 22 driver::{driver_manager, Driver, DriverManager}, 175 return driver_manager() in do_device_attach_driver() 190 return driver_manager().driver_is_bound(dev); in device_is_bound() 207 let r = driver_manager().driver_sysfs_add(dev); in device_bind_driver() 210 driver_manager().driver_bound(dev); in device_bind_driver()
|
H A D | bus.rs | 7 device::{device_manager, driver::driver_manager}, 313 let r = driver_manager().driver_attach(driver); in add_driver() 320 driver_manager() in add_driver() 483 driver_manager().create_attr_file(driver, &DriverAttrUnbind)?; in add_bind_files() 485 driver_manager() in add_bind_files() 488 driver_manager().remove_attr_file(driver, &DriverAttrUnbind); in add_bind_files() 824 if driver_manager().match_device(&driver, &device)? { in store()
|
H A D | driver.rs | 45 pub fn driver_manager() -> &'static DriverManager { in driver_manager() function
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | sysfs.rs | 17 driver::{driver_manager, Driver}, 174 return driver_manager().register(driver as Arc<dyn Driver>); in register() 179 driver_manager().unregister(&(driver.clone() as Arc<dyn Driver>)); in unregister()
|