Lines Matching refs:dyn
104 sys_info: Option<Arc<dyn IndexNode>>,
105 driver: Option<Arc<dyn PlatformDriver>>,
148 fn set_driver(&self, driver: Option<Arc<dyn PlatformDriver>>) { in set_driver()
158 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info()
162 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info()
170 fn as_any_ref(&'static self) -> &'static dyn core::any::Any { in as_any_ref()
181 sys_info: Option<Arc<dyn IndexNode>>,
207 fn as_any_ref(&'static self) -> &'static dyn core::any::Any { in as_any_ref()
215 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info()
219 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info()
225 fn open(&self, _file: Arc<dyn IndexNode>) -> Result<(), crate::syscall::SystemError> { in open()
229 fn close(&self, _file: Arc<dyn IndexNode>) -> Result<(), crate::syscall::SystemError> { in close()
241 pub fn new(port: UartPort, baud_rate: u32, sys_info: Option<Arc<dyn IndexNode>>) -> Self { in new()
249 _device: Arc<dyn PlatformDevice>, in probe()
266 pub fn new(port: UartPort, baud_rate: u32, sys_info: Option<Arc<dyn IndexNode>>) -> Self { in new()