/DragonOS/kernel/src/driver/tty/ |
H A D | termios.rs | 30 pub struct Termios { struct 54 pub fn from_kernel_termios(termios: Termios) -> Self { in from_kernel_termios() argument 67 pub fn to_kernel_termios(self) -> Termios { in to_kernel_termios() argument 69 Termios { in to_kernel_termios() 124 pub static ref TTY_STD_TERMIOS: Termios = { 125 Termios {
|
H A D | tty_driver.rs | 36 termios::{Termios, WindowSize}, 122 init_termios: Termios, 124 saved_termios: Vec<Termios>, 151 default_termios: Termios, in new() argument 218 pub fn init_termios(&self) -> Termios { in init_termios() argument 223 pub fn init_termios_mut(&mut self) -> &mut Termios { in init_termios_mut() argument 247 pub fn saved_termios(&self) -> &Vec<Termios> { in saved_termios() argument 498 fn set_termios(&self, _tty: Arc<TtyCore>, _old_termios: Termios) -> Result<(), SystemError> { in set_termios()
|
H A D | tty_core.rs | 27 termios::{ControlMode, PosixTermios, Termios, TtySetTermiosOpt, WindowSize}, 248 fn set_termios_next(tty: Arc<TtyCore>, new_termios: Termios) -> Result<(), SystemError> { in set_termios_next() 304 termios: RwLock<Termios>, 376 pub fn termios(&self) -> RwLockReadGuard<'_, Termios> { in termios() argument 381 pub fn termios_write(&self) -> RwLockWriteGuard<Termios> { in termios_write() argument 386 pub fn set_termios(&self, termios: Termios) { in set_termios() argument 601 fn set_termios(&self, tty: Arc<TtyCore>, old_termios: Termios) -> Result<(), SystemError> { in set_termios()
|
/DragonOS/kernel/src/driver/serial/ |
H A D | mod.rs | 11 termios::{ControlMode, InputMode, LocalMode, OutputMode, Termios, INIT_CONTORL_CHARACTERS}, 52 pub static ref TTY_SERIAL_DEFAULT_TERMIOS: Termios = { 53 Termios {
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | mod.rs | 9 termios::Termios, 49 fn set_termios(&self, tty: Arc<TtyCore>, old: Option<Termios>) -> Result<(), SystemError>; in set_termios()
|
H A D | ntty.rs | 12 termios::{ControlCharIndex, InputMode, LocalMode, OutputMode, Termios}, 580 fn eraser(&mut self, mut c: u8, termios: &RwLockReadGuard<Termios>) { in eraser() argument 731 fn is_continuation(c: u8, termios: &RwLockReadGuard<Termios>) -> bool { in is_continuation() 763 termios: &RwLockReadGuard<Termios>, in recv_sig_char() argument 784 termios: &RwLockReadGuard<Termios>, in input_signal() argument 843 pub fn echo_char(&mut self, c: u8, termios: &RwLockReadGuard<Termios>) { in echo_char() argument 1088 pub fn input_available(&self, termios: RwLockReadGuard<Termios>, poll: bool) -> bool { in input_available() argument 1119 termios: RwLockReadGuard<Termios>, in copy_from_read_buf() argument 1163 termios: RwLockReadGuard<Termios>, in process_output_block() argument 1901 old: Option<crate::driver::tty::termios::Termios>, in set_termios() argument
|
/DragonOS/kernel/src/driver/tty/pty/ |
H A D | unix98pty.rs | 6 termios::{ControlCharIndex, ControlMode, InputMode, LocalMode, Termios}, 107 fn set_termios(&self, tty: Arc<TtyCore>, old_termios: Termios) -> Result<(), SystemError> { in set_termios()
|