Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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 { trait
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>>, // 总线上所有设备