Home
last modified time | relevance | path

Searched defs:TtyCoreData (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/driver/tty/
H A Dtty_core.rs89 pub fn core(&self) -> &TtyCoreData { in core()
302 pub struct TtyCoreData { struct
303 tty_driver: Arc<TtyDriver>,
304 termios: RwLock<Termios>,
305 name: String,
306 flags: RwLock<TtyFlag>,
308 index: usize,
309 vc_index: AtomicUsize,
310 count: AtomicUsize,
335 impl TtyCoreData { argument
[all …]
H A Dtty_driver.rs472 fn write(&self, tty: &TtyCoreData, buf: &[u8], nr: usize) -> Result<usize, SystemError>; in write()
474 fn flush_chars(&self, tty: &TtyCoreData); in flush_chars()
476 fn put_char(&self, _tty: &TtyCoreData, _ch: u8) -> Result<(), SystemError> { in put_char()
/DragonOS/kernel/src/driver/tty/pty/
H A Dmod.rs173 pub fn pty_set_lock(tty: &TtyCoreData, arg: VirtAddr) -> Result<(), SystemError> { in pty_set_lock()
186 pub fn pty_get_lock(tty: &TtyCoreData, arg: VirtAddr) -> Result<(), SystemError> { in pty_get_lock()
193 pub fn pty_set_packet_mode(tty: &TtyCoreData, arg: VirtAddr) -> Result<(), SystemError> { in pty_set_packet_mode()
210 pub fn pty_get_packet_mode(tty: &TtyCoreData, arg: VirtAddr) -> Result<(), SystemError> { in pty_get_packet_mode()
H A Dunix98pty.rs46 fn write(&self, tty: &TtyCoreData, buf: &[u8], nr: usize) -> Result<usize, SystemError> { in write()
197 fn flush_chars(&self, _tty: &TtyCoreData) { in flush_chars()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs367 fn write(&self, tty: &TtyCoreData, buf: &[u8], nr: usize) -> Result<usize, SystemError> { in write()
378 fn flush_chars(&self, _tty: &TtyCoreData) {} in flush_chars()
380 fn put_char(&self, tty: &TtyCoreData, ch: u8) -> Result<(), SystemError> { in put_char()
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dmod.rs375 fn write(&self, tty: &TtyCoreData, buf: &[u8], nr: usize) -> Result<usize, SystemError> { in write()
386 fn flush_chars(&self, tty: &TtyCoreData) { in flush_chars()
392 fn put_char(&self, tty: &TtyCoreData, ch: u8) -> Result<(), SystemError> { in put_char()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs1162 core: &TtyCoreData, in process_output_block()
1527 fn packet_mode_flush(&self, tty: &TtyCoreData) { in packet_mode_flush()