Lines Matching refs:driver
14 driver::{base::device::device_number::DeviceNumber, tty::pty::ptm_driver},
46 if self.core.driver().tty_driver_sub_type() == TtyDriverSubType::PtySlave { in drop()
53 pub fn new(driver: Arc<TtyDriver>, index: usize) -> Arc<Self> { in new()
54 let name = driver.tty_line_name(index); in new()
55 let device_number = driver in new()
58 let termios = driver.init_termios(); in new()
60 tty_driver: driver, in new()
108 .driver() in write_to_core()
115 let driver = tty_core.driver(); in reopen() localVariable
117 if driver.tty_driver_type() == TtyDriverType::Pty in reopen()
118 && driver.tty_driver_sub_type() == TtyDriverSubType::PtyMaster in reopen()
172 let real_tty = if core.driver().tty_driver_type() == TtyDriverType::Pty in tty_mode_ioctl()
173 && core.driver().tty_driver_sub_type() == TtyDriverSubType::PtyMaster in tty_mode_ioctl()
337 pub fn driver(&self) -> &Arc<TtyDriver> { in driver() method
472 let driver = self.driver(); in init_termios() localVariable
474 if !driver in init_termios()
479 if let Some(t) = driver.saved_termios().get(tty_index) { in init_termios()
481 termios.line = driver.init_termios().line; in init_termios()
576 fn install(&self, driver: Arc<TtyDriver>, tty: Arc<TtyCore>) -> Result<(), SystemError> { in install()
577 return self.core().tty_driver.driver_funcs().install(driver, tty); in install()