Home
last modified time | relevance | path

Searched refs:TtyDriverSubType (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/driver/tty/pty/
H A Dunix98pty.rs9 tty_driver::{TtyDriver, TtyDriverPrivateData, TtyDriverSubType, TtyOperation},
78 if core.driver().tty_driver_sub_type() != TtyDriverSubType::PtyMaster { in ioctl()
109 if core.driver().tty_driver_sub_type() != TtyDriverSubType::PtySlave { in set_termios()
162 if core.driver().tty_driver_sub_type() != TtyDriverSubType::PtySlave { in start()
180 if core.driver().tty_driver_sub_type() != TtyDriverSubType::PtySlave { in stop()
220 if tty.core().driver().tty_driver_sub_type() == TtyDriverSubType::PtySlave { in close()
H A Dmod.rs26 tty_driver::{TtyDriver, TtyDriverManager, TtyDriverSubType, TtyDriverType, TTY_DRIVERS},
156 if core.driver().tty_driver_sub_type() == TtyDriverSubType::PtySlave in pty_common_open()
258 ptm_driver.set_subtype(TtyDriverSubType::PtyMaster); in pty_init()
279 pts_driver.set_subtype(TtyDriverSubType::PtySlave); in pty_init()
/DragonOS/kernel/src/driver/tty/
H A Dtty_driver.rs120 tty_driver_sub_type: TtyDriverSubType,
237 pub fn set_subtype(&mut self, tp: TtyDriverSubType) { in set_subtype() argument
368 pub fn tty_driver_sub_type(&self) -> TtyDriverSubType { in tty_driver_sub_type() argument
530 pub enum TtyDriverSubType { enum
541 impl Default for TtyDriverSubType { implementation
H A Dtty_core.rs28 tty_driver::{TtyCorePrivateField, TtyDriver, TtyDriverSubType, TtyDriverType, TtyOperation},
46 if self.core.driver().tty_driver_sub_type() == TtyDriverSubType::PtySlave { in drop()
118 && driver.tty_driver_sub_type() == TtyDriverSubType::PtyMaster in reopen()
173 && core.driver().tty_driver_sub_type() == TtyDriverSubType::PtyMaster in tty_mode_ioctl()
H A Dtty_device.rs48 tty_driver::{TtyDriverManager, TtyDriverSubType, TtyDriverType, TtyOperation},
173 && driver.tty_driver_sub_type() == TtyDriverSubType::PtyMaster)) in open()