/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | mod.rs | 30 tty: Arc<TtyCore>, in read() 39 tty: Arc<TtyCore>, in write() 44 fn ioctl(&self, tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<usize, SystemError>; in ioctl() 49 fn set_termios(&self, tty: Arc<TtyCore>, old: Option<Termios>) -> Result<(), SystemError>; in set_termios() 57 tty: Arc<TtyCore>, in receive_buf() 66 tty: Arc<TtyCore>, in receive_buf2() 102 pub fn ldisc_setup(tty: Arc<TtyCore>, o_tty: Option<Arc<TtyCore>>) -> Result<(), SystemError> { in ldisc_setup()
|
H A D | ntty.rs | 54 fn ioctl_helper(&self, tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<usize, SystemError> { in ioctl_helper() 173 tty: Arc<TtyCore>, in receive_buf_common() 237 tty: Arc<TtyCore>, in receive_buf() 324 pub fn flush_echoes(&mut self, tty: Arc<TtyCore>) { in flush_echoes() 340 tty: Arc<TtyCore>, in receive_buf_standard() 403 pub fn receive_special_char(&mut self, mut c: u8, tty: Arc<TtyCore>, lookahead_done: bool) { in receive_special_char() 736 pub fn is_flow_ctrl_char(&mut self, tty: Arc<TtyCore>, c: u8, lookahead_done: bool) -> bool { in is_flow_ctrl_char() 762 tty: Arc<TtyCore>, in recv_sig_char() 783 tty: Arc<TtyCore>, in input_signal() 819 pub fn receive_char(&mut self, c: u8, tty: Arc<TtyCore>) { in receive_char() [all …]
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_job_control.rs | 20 pub fn proc_set_tty(tty: Arc<TtyCore>) { in proc_set_tty() 35 pub fn tty_check_change(tty: Arc<TtyCore>, sig: Signal) -> Result<(), SystemError> { in tty_check_change() 72 pub fn job_ctrl_ioctl(tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<usize, SystemError> { in job_ctrl_ioctl()
|
H A D | tty_core.rs | 38 pub struct TtyCore { struct 39 core: TtyCoreData, argument 44 impl Drop for TtyCore { argument 52 impl TtyCore { implementation 170 pub fn tty_mode_ioctl(tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<usize, SystemError> { in tty_mode_ioctl() 212 tty: Arc<TtyCore>, in core_set_termios() 248 fn set_termios_next(tty: Arc<TtyCore>, new_termios: Termios) -> Result<(), SystemError> { in set_termios_next() 455 pub fn link(&self) -> Option<Arc<TtyCore>> { in link() 459 pub fn checked_link(&self) -> Result<Arc<TtyCore>, SystemError> { in checked_link() 466 pub fn set_link(&self, link: Weak<TtyCore>) { in set_link() [all …]
|
H A D | tty_port.rs | 47 pub fn internal_tty(&self) -> Option<Arc<TtyCore>> { in internal_tty() 51 pub fn tty(&self) -> Option<Arc<TtyCore>> { in tty() 76 fn setup_internal_tty(&self, tty: Weak<TtyCore>) { in setup_internal_tty()
|
H A D | tty_driver.rs | 192 pub fn add_tty(&self, tty_core: Arc<TtyCore>) { in add_tty() 242 pub fn ttys(&self) -> SpinLockGuard<HashMap<usize, Arc<TtyCore>>> { in ttys() 257 fn lookup_tty(&self, index: usize) -> Option<Arc<TtyCore>> { in lookup_tty() 301 pub fn init_tty_device(&self, index: Option<usize>) -> Result<Arc<TtyCore>, SystemError> { in init_tty_device() 341 pub fn open_tty(&self, index: Option<usize>) -> Result<Arc<TtyCore>, SystemError> { in open_tty() 492 fn ioctl(&self, tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<(), SystemError>; in ioctl() 498 fn set_termios(&self, _tty: Arc<TtyCore>, _old_termios: Termios) -> Result<(), SystemError> { in set_termios() 506 ) -> Result<Arc<TtyCore>, SystemError> { in lookup() 512 fn resize(&self, _tty: Arc<TtyCore>, _winsize: WindowSize) -> Result<(), SystemError> { in resize()
|
H A D | tty_device.rs | 590 pub fn tty(&self) -> Arc<TtyCore> { in tty()
|
/DragonOS/kernel/src/driver/tty/pty/ |
H A D | unix98pty.rs | 76 fn ioctl(&self, tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<(), SystemError> { in ioctl() 107 fn set_termios(&self, tty: Arc<TtyCore>, old_termios: Termios) -> Result<(), SystemError> { in set_termios() 205 ) -> Result<Arc<TtyCore>, SystemError> { in lookup() 232 tty: Arc<TtyCore>, in resize()
|
H A D | mod.rs | 97 tty: Arc<TtyCore>, in pty_common_install()
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | serial8250_pio.rs | 350 tty: Arc<TtyCore>, in do_install() 384 fn ioctl(&self, _tty: Arc<TtyCore>, _cmd: u32, _arg: usize) -> Result<(), SystemError> { in ioctl() 392 fn resize(&self, tty: Arc<TtyCore>, winsize: WindowSize) -> Result<(), SystemError> { in resize()
|
/DragonOS/kernel/src/driver/tty/virtual_terminal/ |
H A D | mod.rs | 303 fn do_install(&self, tty: Arc<TtyCore>, vc: &Arc<VirtConsole>) -> Result<(), SystemError> { in do_install() 397 fn ioctl(&self, _tty: Arc<TtyCore>, _cmd: u32, _arg: usize) -> Result<(), SystemError> { in ioctl() 408 _tty: Arc<TtyCore>, in resize()
|
/DragonOS/kernel/src/process/ |
H A D | mod.rs | 1559 pub fn tty(&self) -> Option<Arc<TtyCore>> { in tty() 1563 pub fn set_tty(&mut self, tty: Option<Arc<TtyCore>>) { in set_tty()
|