Lines Matching refs:TtyCore
24 tty_core::{TtyCore, TtyCoreData},
107 ttys: SpinLock<HashMap<usize, Arc<TtyCore>>>,
151 pub fn add_tty(&self, tty_core: Arc<TtyCore>) { in add_tty() argument
166 fn lockup_tty(&self, index: usize) -> Option<Arc<TtyCore>> { in lockup_tty() argument
174 fn standard_install(&self, tty_core: Arc<TtyCore>) -> Result<(), SystemError> { in standard_install()
195 fn driver_install_tty(driver: Arc<TtyDriver>, tty: Arc<TtyCore>) -> Result<(), SystemError> { in driver_install_tty()
212 fn init_tty_device(driver: Arc<TtyDriver>, index: usize) -> Result<Arc<TtyCore>, SystemError> { in init_tty_device() argument
213 let tty = TtyCore::new(driver.clone(), index); in init_tty_device()
230 pub fn open_tty(dev_num: DeviceNumber) -> Result<Arc<TtyCore>, SystemError> { in open_tty() argument
356 fn install(&self, _driver: Arc<TtyDriver>, _tty: Arc<TtyCore>) -> Result<(), SystemError> { in install()
386 fn ioctl(&self, tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<(), SystemError>; in ioctl() argument
392 fn set_termios(&self, _tty: Arc<TtyCore>, _old_termios: Termios) -> Result<(), SystemError> { in set_termios() argument