Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/tty/pty/
H A Dunix98pty.rs78 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.rs156 if core.driver().tty_driver_sub_type() == TtyDriverSubType::PtySlave in pty_common_open()
/DragonOS/kernel/src/driver/tty/
H A Dtty_driver.rs120 tty_driver_sub_type: TtyDriverSubType, field
167 tty_driver_sub_type: Default::default(), in new()
238 self.tty_driver_sub_type = tp; in set_subtype()
368 pub fn tty_driver_sub_type(&self) -> TtyDriverSubType { in tty_driver_sub_type() method
369 self.tty_driver_sub_type in tty_driver_sub_type()
H A Dtty_core.rs46 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.rs173 && driver.tty_driver_sub_type() == TtyDriverSubType::PtyMaster)) in open()