Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dplatform_driver.rs3 platform_device::PlatformDevice,
14 fn probe(&self, device: Arc<dyn PlatformDevice>) -> Result<(), DriverError>; in probe()
Dplatform_device.rs10 pub trait PlatformDevice: Device { interface
Dmod.rs13 use platform_device::PlatformDevice;
77 fn get_device(&self, id_table: &IdTable) -> Option<Arc<dyn PlatformDevice>> { in get_device() argument
125 device: Arc<dyn PlatformDevice>, in register_platform_device() argument
143 fn unregister_platform_device(&mut self, device: Arc<dyn PlatformDevice>) { in unregister_platform_device() argument
185 fn device_match_driver(&self, device: Arc<dyn PlatformDevice>) -> Result<(), DeviceError> { in device_match_driver()
210 devices: BTreeMap<IdTable, Arc<dyn PlatformDevice>>, // 总线上所有设备
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs7 self, platform_device::PlatformDevice, platform_driver::PlatformDriver, CompatibleTable,
130 impl PlatformDevice for LockedUart {
249 _device: Arc<dyn PlatformDevice>, in probe() argument