Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/tty/
H A Dtermios.rs33 pub control_mode: ControlMode, field
58 c_cflag: termios.control_mode.bits, in from_kernel_termios()
72 control_mode: ControlMode::from_bits_truncate(self.c_cflag), in to_kernel_termios()
128 control_mode: ControlMode::B38400
H A Dtty_core.rs253 let tmp = termios.control_mode; in set_termios_next()
254 termios.control_mode ^= (tmp ^ old_termios.control_mode) & ControlMode::ADDRB; in set_termios_next()
260 termios.control_mode &= ControlMode::HUPCL | ControlMode::CREAD | ControlMode::CLOCAL; in set_termios_next()
261 termios.control_mode |= old_termios.control_mode in set_termios_next()
/DragonOS/kernel/src/driver/serial/
H A Dmod.rs56 control_mode: ControlMode::B115200
/DragonOS/kernel/src/driver/tty/pty/
H A Dunix98pty.rs153 .control_mode in set_termios()
156 .control_mode in set_termios()
H A Dmod.rs262 term.control_mode = ControlMode::B38400 | ControlMode::CS8 | ControlMode::CREAD; in pty_init()
283 term.control_mode = ControlMode::B38400 | ControlMode::CS8 | ControlMode::CREAD; in pty_init()