Home
last modified time | relevance | path

Searched defs:Termios (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/driver/tty/
H A Dtermios.rs30 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()
H A Dtty_driver.rs151 default_termios: Termios, in new()
218 pub fn init_termios(&self) -> Termios { in init_termios()
223 pub fn init_termios_mut(&mut self) -> &mut Termios { in init_termios_mut()
247 pub fn saved_termios(&self) -> &Vec<Termios> { in saved_termios()
H A Dtty_core.rs376 pub fn termios(&self) -> RwLockReadGuard<'_, Termios> { in termios() argument
381 pub fn termios_write(&self) -> RwLockWriteGuard<Termios> { in termios_write()
386 pub fn set_termios(&self, termios: Termios) { in set_termios()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs580 fn eraser(&mut self, mut c: u8, termios: &RwLockReadGuard<Termios>) { in eraser()
763 termios: &RwLockReadGuard<Termios>, in recv_sig_char()
784 termios: &RwLockReadGuard<Termios>, in input_signal()
843 pub fn echo_char(&mut self, c: u8, termios: &RwLockReadGuard<Termios>) { in echo_char()
1088 pub fn input_available(&self, termios: RwLockReadGuard<Termios>, poll: bool) -> bool { in input_available()
1119 termios: RwLockReadGuard<Termios>, in copy_from_read_buf()
1163 termios: RwLockReadGuard<Termios>, in process_output_block()
1901 old: Option<crate::driver::tty::termios::Termios>, in set_termios()