Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dplatform_device.rs3 platform_driver::PlatformDriver,
29 fn set_driver(&self, driver: Option<Arc<dyn PlatformDriver>>); in set_driver() argument
Dplatform_driver.rs10 pub trait PlatformDriver: Driver { trait
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>>, // 总线上所有驱动
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs7 self, platform_device::PlatformDevice, platform_driver::PlatformDriver, CompatibleTable,
105 driver: Option<Arc<dyn PlatformDriver>>,
148 fn set_driver(&self, driver: Option<Arc<dyn PlatformDriver>>) { in set_driver() argument
246 impl PlatformDriver for LockedUartDriver {