Searched refs:PlatformDriver (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_driver.rs | 20 pub trait PlatformDriver: Driver { interface 44 pub fn register(&self, driver: Arc<dyn PlatformDriver>) -> Result<(), SystemError> { in register() 51 pub fn unregister(&self, driver: &Arc<dyn PlatformDriver>) { in unregister() argument
|
H A D | subsys.rs | 9 platform_bus_device, platform_device::PlatformDevice, platform_driver::PlatformDriver, 63 let pdrv = drv.cast::<dyn PlatformDriver>().map_err(|_|{ in probe()
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | mod.rs | 11 platform_driver::{platform_driver_manager, PlatformDriver}, 45 platform_driver_manager().register(i8042_driver.clone() as Arc<dyn PlatformDriver>)?; in i8042_init()
|
H A D | i8042_driver.rs | 13 platform::{platform_device::PlatformDevice, platform_driver::PlatformDriver}, 25 #[cast_to([sync] PlatformDriver)] 65 impl PlatformDriver for I8042Driver {
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | rtc_cmos.rs | 26 platform_driver::{platform_driver_manager, PlatformDriver}, 40 #[cast_to([sync] Driver, PlatformDriver)] 70 impl PlatformDriver for CmosPlatformDriver {
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 26 platform_driver::{platform_driver_manager, PlatformDriver}, 110 .register(serial8250_isa_driver.clone() as Arc<dyn PlatformDriver>)?; in init() 409 #[cast_to([sync] Driver, PlatformDriver)] 442 impl PlatformDriver for Serial8250ISADriver {
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 24 platform_driver::{platform_driver_manager, PlatformDriver}, 693 #[cast_to([sync] PlatformDriver)] 736 impl PlatformDriver for VesaFbDriver {
|