Lines Matching refs:sys_info
104 sys_info: Option<Arc<dyn IndexNode>>, field
112 sys_info: None, in default()
158 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info()
159 self.0.lock().sys_info = sys_info; in set_sys_info()
162 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info() method
163 self.0.lock().sys_info.clone() in sys_info()
181 sys_info: Option<Arc<dyn IndexNode>>, field
189 sys_info: None, in default()
215 fn set_sys_info(&self, sys_info: Option<Arc<dyn IndexNode>>) { in set_sys_info()
216 self.0.lock().sys_info = sys_info; in set_sys_info()
219 fn sys_info(&self) -> Option<Arc<dyn IndexNode>> { in sys_info() method
220 return self.0.lock().sys_info.clone(); in sys_info()
241 pub fn new(port: UartPort, baud_rate: u32, sys_info: Option<Arc<dyn IndexNode>>) -> Self { in new()
242 Self(SpinLock::new(UartDriver::new(port, baud_rate, sys_info))) in new()
266 pub fn new(port: UartPort, baud_rate: u32, sys_info: Option<Arc<dyn IndexNode>>) -> Self { in new()
270 sys_info, in new()