Home
last modified time | relevance | path

Searched refs:PlatformDriver (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.7/kernel/src/driver/base/platform/
Dplatform_device.rs3 platform_driver::PlatformDriver,
33 fn set_driver(&self, driver: Option<Arc<dyn PlatformDriver>>); in set_driver() argument
Dplatform_driver.rs10 pub trait PlatformDriver: Driver { interface
Dmod.rs14 use platform_driver::PlatformDriver;
87 fn get_driver(&self, id_table: &IdTable) -> Option<Arc<dyn PlatformDriver>> { in get_driver() argument
96 fn register_platform_driver(&self, driver: Arc<dyn PlatformDriver>) -> Result<(), DeviceError> { in register_platform_driver()
114 fn unregister_platform_driver(&mut self, driver: Arc<dyn PlatformDriver>) { in unregister_platform_driver() argument
152 fn driver_match_device(&self, driver: Arc<dyn PlatformDriver>) -> Result<i32, DeviceError> { in driver_match_device()
209 drivers: BTreeMap<IdTable, Arc<dyn PlatformDriver>>, // 总线上所有驱动