Lines Matching refs:Option
77 fn get_device(&self, id_table: &IdTable) -> Option<Arc<dyn PlatformDevice>> { in get_device()
87 fn get_driver(&self, id_table: &IdTable) -> Option<Arc<dyn PlatformDriver>> { in get_driver()
211 sys_info: Option<Arc<dyn IndexNode>>,
243 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info()
249 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info()
324 fn set_driver(&self, driver: Option<Arc<LockedPlatformBusDriver>>) { in set_driver()
333 driver: Option<Arc<LockedPlatformBusDriver>>, // 总线驱动
334 sys_info: Option<Arc<dyn IndexNode>>, // 总线sys information
345 driver: Option::None, in new()
346 sys_info: Option::None, in new()
366 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info()
372 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info()