Searched refs:TtyDriverSubType (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/src/driver/tty/pty/ |
H A D | unix98pty.rs | 9 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 D | mod.rs | 26 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 D | tty_driver.rs | 120 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 D | tty_core.rs | 28 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 D | tty_device.rs | 48 tty_driver::{TtyDriverManager, TtyDriverSubType, TtyDriverType, TtyOperation}, 173 && driver.tty_driver_sub_type() == TtyDriverSubType::PtyMaster)) in open()
|