Home
last modified time | relevance | path

Searched defs:DeviceError (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/base/device/
Dmod.rs125 pub enum DeviceError { enum
134 impl Into<SystemError> for DeviceError { implementation
270 pub fn device_register<T: Device>(device: Arc<T>) -> Result<(), DeviceError> { in device_register() argument
284 pub fn device_unregister<T: Device>(device: Arc<T>) -> Result<(), DeviceError> { in device_unregister() argument
Dbus.rs177 pub fn bus_register<T: Bus>(bus: Arc<T>) -> Result<(), DeviceError> { in bus_register() argument
192 pub fn bus_unregister<T: Bus>(bus: Arc<T>) -> Result<(), DeviceError> { in bus_unregister() argument
/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dmod.rs96 fn register_platform_driver(&self, driver: Arc<dyn PlatformDriver>) -> Result<(), DeviceError> { in register_platform_driver() argument
126 ) -> Result<(), DeviceError> { in register_platform_device() argument
152 fn driver_match_device(&self, driver: Arc<dyn PlatformDriver>) -> Result<i32, DeviceError> { in driver_match_device() argument
185 fn device_match_driver(&self, device: Arc<dyn PlatformDevice>) -> Result<(), DeviceError> { in device_match_driver() argument