Searched refs:LockedPlatformBusDriver (Results 1 – 1 of 1) sorted by relevance
51 pub struct LockedPlatformBusDriver(SpinLock<PlatformBusDriver>); struct53 impl LockedPlatformBusDriver { implementation59 pub fn new() -> LockedPlatformBusDriver { in new()60 LockedPlatformBusDriver(SpinLock::new(PlatformBusDriver::new())) in new()230 impl Driver for LockedPlatformBusDriver { implementation255 impl BusDriver for LockedPlatformBusDriver { implementation322 fn set_driver(&self, driver: Option<Arc<LockedPlatformBusDriver>>) { in set_driver() argument331 driver: Option<Arc<LockedPlatformBusDriver>>, // 总线驱动382 let platform_driver: Arc<LockedPlatformBusDriver> = Arc::new(LockedPlatformBusDriver::new()); in platform_bus_init()