Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dmod.rs51 pub struct LockedPlatformBusDriver(SpinLock<PlatformBusDriver>); struct
53 impl LockedPlatformBusDriver { implementation
59 pub fn new() -> LockedPlatformBusDriver { in new()
60 LockedPlatformBusDriver(SpinLock::new(PlatformBusDriver::new())) in new()
230 impl Driver for LockedPlatformBusDriver { implementation
255 impl BusDriver for LockedPlatformBusDriver { implementation
265 impl KObject for LockedPlatformBusDriver {} implementation
324 fn set_driver(&self, driver: Option<Arc<LockedPlatformBusDriver>>) { in set_driver() argument
333 driver: Option<Arc<LockedPlatformBusDriver>>, // 总线驱动
390 let platform_driver: Arc<LockedPlatformBusDriver> = Arc::new(LockedPlatformBusDriver::new()); in platform_bus_init()