Searched refs:TtyDevice (Results 1 – 2 of 2) sorted by relevance
23 …pub static ref TTY_DEVICES: RwLock<BTreeMap<String, Arc<TtyDevice>>> = RwLock::new(BTreeMap::new()…28 pub struct TtyDevice { struct46 impl TtyDevice { implementation47 pub fn new(name: &str) -> Arc<TtyDevice> { in new() argument48 let result = Arc::new(TtyDevice { in new()104 impl DeviceINode for TtyDevice { implementation110 impl IndexNode for TtyDevice { implementation292 let tty: Arc<TtyDevice> = TtyDevice::new("tty0"); in tty_init()
3 use crate::driver::tty::tty_device::TtyDevice;31 tty: Arc<TtyDevice>,36 pub fn new(tty: Arc<TtyDevice>) -> Self { in new()76 tty: &Arc<TtyDevice>, in parse() argument106 tty: &Arc<TtyDevice>, in handle_start() argument128 tty: &Arc<TtyDevice>, in handle_pause_break() argument153 tty: &Arc<TtyDevice>, in handle_func0() argument295 tty: &Arc<TtyDevice>, in handle_type3() argument370 fn emit(tty: &Arc<TtyDevice>, ch: u8) { in emit() argument380 tty: &Arc<TtyDevice>, in handle_prtsc_press() argument[all …]