Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_driver.rs20 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 Dsubsys.rs9 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 Dmod.rs11 platform_driver::{platform_driver_manager, PlatformDriver},
45 platform_driver_manager().register(i8042_driver.clone() as Arc<dyn PlatformDriver>)?; in i8042_init()
H A Di8042_driver.rs13 platform::{platform_device::PlatformDevice, platform_driver::PlatformDriver},
25 #[cast_to([sync] PlatformDriver)]
65 impl PlatformDriver for I8042Driver {
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs26 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 Dmod.rs26 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 Dvesafb.rs24 platform_driver::{platform_driver_manager, PlatformDriver},
693 #[cast_to([sync] PlatformDriver)]
736 impl PlatformDriver for VesaFbDriver {