Home
last modified time | relevance | path

Searched refs:termios (Results 1 – 14 of 14) sorted by relevance

/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs12 termios::{ControlCharIndex, InputMode, LocalMode, OutputMode, Termios},
180 let termios = tty.core().termios(); in receive_buf_common() localVariable
189 if termios.input_mode.contains(InputMode::PARMRK) { in receive_buf_common()
242 let termios = tty.core().termios(); in receive_buf() localVariable
243 let preops = termios.input_mode.contains(InputMode::ISTRIP) in receive_buf()
244 || termios.input_mode.contains(InputMode::IUCLC) in receive_buf()
245 || termios.local_mode.contains(LocalMode::IEXTEN); in receive_buf()
250 } else if self.raw || (termios.local_mode.contains(LocalMode::EXTPROC) && !preops) { in receive_buf()
252 } else if tty.core().is_closing() && !termios.local_mode.contains(LocalMode::EXTPROC) { in receive_buf()
271 if self.icanon && !termios.local_mode.contains(LocalMode::EXTPROC) { in receive_buf()
[all …]
H A Dmod.rs9 termios::Termios,
/DragonOS/kernel/src/driver/tty/
H A Dtty_core.rs27 termios::{ControlMode, PosixTermios, Termios, TtySetTermiosOpt, WindowSize},
58 let termios = driver.init_termios(); in new() localVariable
61 termios: RwLock::new(termios), in new()
181 let termios = PosixTermios::from_kernel_termios(*real_tty.core.termios()); in tty_mode_ioctl() localVariable
188 user_writer.copy_one_to_user(&termios, 0)?; in tty_mode_ioctl()
218 let mut tmp_termios = *tty.core().termios(); in core_set_termios()
249 let mut termios = tty.core().termios_write(); in set_termios_next() localVariable
251 let old_termios = *termios; in set_termios_next()
252 *termios = new_termios; in set_termios_next()
253 let tmp = termios.control_mode; in set_termios_next()
[all …]
H A Dtermios.rs54 pub fn from_kernel_termios(termios: Termios) -> Self { in from_kernel_termios()
56 c_iflag: termios.input_mode.bits, in from_kernel_termios()
57 c_oflag: termios.output_mode.bits, in from_kernel_termios()
58 c_cflag: termios.control_mode.bits, in from_kernel_termios()
59 c_lflag: termios.local_mode.bits, in from_kernel_termios()
60 c_cc: termios.control_characters, in from_kernel_termios()
61 c_line: termios.line as u8, in from_kernel_termios()
62 c_ispeed: termios.input_speed, in from_kernel_termios()
63 c_ospeed: termios.output_speed, in from_kernel_termios()
H A Dmod.rs7 pub mod termios; module
H A Dtty_driver.rs36 termios::{Termios, WindowSize},
H A Dtty_device.rs46 termios::WindowSize,
/DragonOS/user/apps/test_pty/
H A Dtest_pty.c12 struct termios term; in main()
/DragonOS/kernel/src/driver/tty/pty/
H A Dunix98pty.rs6 termios::{ControlCharIndex, ControlMode, InputMode, LocalMode, Termios},
117 let curr_termios = *core.termios(); in set_termios()
233 winsize: crate::driver::tty::termios::WindowSize, in resize()
H A Dmod.rs23 termios::{ControlMode, InputMode, LocalMode, OutputMode, TTY_STD_TERMIOS},
/DragonOS/kernel/src/driver/serial/
H A Dmod.rs11 termios::{ControlMode, InputMode, LocalMode, OutputMode, Termios, INIT_CONTORL_CHARACTERS},
/DragonOS/kernel/src/driver/video/console/
H A Ddummycon.rs6 termios::WindowSize,
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dmod.rs29 termios::{InputMode, TTY_STD_TERMIOS},
409 _winsize: super::termios::WindowSize, in resize()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs24 termios::WindowSize,