Home
last modified time | relevance | path

Searched refs:pts_driver (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/driver/tty/pty/
H A Dmod.rs40 pub(super) fn pts_driver() -> Arc<TtyDriver> { in pts_driver() function
219 let pts_driver = pts_driver(); in unix98pty_init() localVariable
220 ptm_driver.set_other_pty_driver(Arc::downgrade(&pts_driver)); in unix98pty_init()
221 pts_driver.set_other_pty_driver(Arc::downgrade(&ptm_driver)); in unix98pty_init()
238 TTY_DRIVERS.lock().push(pts_driver); in unix98pty_init()
268 let mut pts_driver = TtyDriver::new( in pty_init() localVariable
279 pts_driver.set_subtype(TtyDriverSubType::PtySlave); in pty_init()
280 let term = pts_driver.init_termios_mut(); in pty_init()
287 PTS_DRIVER.init(TtyDriverManager::tty_register_driver(pts_driver).unwrap()); in pty_init()
H A Dunix98pty.rs24 use super::{ptm_driver, pts_driver, PtyCommon};
207 return pts_driver() in lookup()