Searched refs:EchoOperation (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | ntty.rs | 13 tty_core::{EchoOperation, TtyCore, TtyCoreData, TtyFlag, TtyIoctlCmd, TtyPacketStatus}, 531 self.add_echo_byte(EchoOperation::Start.to_u8()); in receive_special_char() 532 self.add_echo_byte(EchoOperation::SetCanonCol.to_u8()); in receive_special_char() 560 self.add_echo_byte(EchoOperation::Start.to_u8()); in receive_special_char() 561 self.add_echo_byte(EchoOperation::SetCanonCol.to_u8()); in receive_special_char() 652 self.add_echo_byte(EchoOperation::Start.to_u8()); in eraser() 653 self.add_echo_byte(EchoOperation::MoveBackCol.to_u8()); in eraser() 717 self.add_echo_byte(EchoOperation::Start.to_u8()); in echo_erase_tab() 718 self.add_echo_byte(EchoOperation::EraseTab.to_u8()); in echo_erase_tab() 829 self.add_echo_byte(EchoOperation::Start.to_u8()); in receive_char() [all …]
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_core.rs | 661 pub enum EchoOperation { enum 674 impl EchoOperation { impl 675 pub fn from_u8(num: u8) -> EchoOperation { in from_u8() argument 687 EchoOperation::Start => 0xff, in to_u8() 688 EchoOperation::MoveBackCol => 0x80, in to_u8() 689 EchoOperation::SetCanonCol => 0x81, in to_u8() 690 EchoOperation::EraseTab => 0x82, in to_u8() 691 EchoOperation::Undefined(num) => num, in to_u8()
|