/linux-6.3-rc2/include/linux/ |
A D | tty_driver.h | 14 struct tty_struct; 357 void (*shutdown)(struct tty_struct *tty); 358 void (*cleanup)(struct tty_struct *tty); 359 int (*write)(struct tty_struct * tty, 365 int (*ioctl)(struct tty_struct *tty, 372 void (*stop)(struct tty_struct *tty); 373 void (*start)(struct tty_struct *tty); 374 void (*hangup)(struct tty_struct *tty); 380 int (*tiocmget)(struct tty_struct *tty); 381 int (*tiocmset)(struct tty_struct *tty, [all …]
|
A D | tty.h | 193 struct tty_struct { struct 234 struct tty_struct *link; argument 255 struct tty_struct *tty; argument 356 void tty_kclose(struct tty_struct *tty); 401 static inline struct tty_struct *tty_kref_get(struct tty_struct *tty) in tty_kref_get() 410 void stop_tty(struct tty_struct *tty); 411 void start_tty(struct tty_struct *tty); 428 void do_SAK(struct tty_struct *tty); 429 void __do_SAK(struct tty_struct *tty); 468 struct tty_struct *tty); [all …]
|
A D | tty_ldisc.h | 5 struct tty_struct; 218 int (*open)(struct tty_struct *tty); 219 void (*close)(struct tty_struct *tty); 220 void (*flush_buffer)(struct tty_struct *tty); 226 int (*ioctl)(struct tty_struct *tty, unsigned int cmd, 233 void (*hangup)(struct tty_struct *tty); 240 void (*write_wakeup)(struct tty_struct *tty); 252 struct tty_struct *tty; 260 struct tty_ldisc *tty_ldisc_ref(struct tty_struct *); 264 void tty_ldisc_flush(struct tty_struct *tty); [all …]
|
A D | tty_port.h | 14 struct tty_struct; 37 int (*activate)(struct tty_port *port, struct tty_struct *tty); 102 struct tty_struct *tty; 103 struct tty_struct *itty; 231 struct tty_struct *tty_port_tty_get(struct tty_port *port); 232 void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty); 241 int tty_port_close_start(struct tty_port *port, struct tty_struct *tty, 243 void tty_port_close_end(struct tty_port *port, struct tty_struct *tty); 244 void tty_port_close(struct tty_port *port, struct tty_struct *tty, 247 struct tty_struct *tty); [all …]
|
A D | selection.h | 14 struct tty_struct; 19 struct tty_struct *tty); 21 struct tty_struct *tty); 22 extern int paste_selection(struct tty_struct *tty); 25 extern void mouse_report(struct tty_struct * tty, int butt, int mrx, int mry);
|
/linux-6.3-rc2/drivers/tty/ |
A D | tty.h | 59 void tty_ldisc_unlock(struct tty_struct *tty); 61 int __tty_check_change(struct tty_struct *tty, int sig); 62 int tty_check_change(struct tty_struct *tty); 63 void __stop_tty(struct tty_struct *tty); 64 void __start_tty(struct tty_struct *tty); 65 void tty_vhangup_session(struct tty_struct *tty); 78 int tty_ldisc_reinit(struct tty_struct *tty, int disc); 80 long tty_jobctrl_ioctl(struct tty_struct *tty, struct tty_struct *real_tty, 91 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty); 92 void tty_ldisc_release(struct tty_struct *tty); [all …]
|
A D | tty_ldisc.c | 321 void tty_ldisc_unlock(struct tty_struct *tty) in tty_ldisc_unlock() 330 tty_ldisc_lock_pair_timeout(struct tty_struct *tty, struct tty_struct *tty2, in tty_ldisc_lock_pair_timeout() 365 static void tty_ldisc_lock_pair(struct tty_struct *tty, struct tty_struct *tty2) in tty_ldisc_lock_pair() 371 struct tty_struct *tty2) in tty_ldisc_unlock_pair() 385 void tty_ldisc_flush(struct tty_struct *tty) in tty_ldisc_flush() 600 static void tty_ldisc_kill(struct tty_struct *tty) in tty_ldisc_kill() 738 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty) in tty_ldisc_setup() 766 void tty_ldisc_release(struct tty_struct *tty) in tty_ldisc_release() 768 struct tty_struct *o_tty = tty->link; in tty_ldisc_release() 796 int tty_ldisc_init(struct tty_struct *tty) in tty_ldisc_init() [all …]
|
A D | pty.c | 93 static void pty_unthrottle(struct tty_struct *tty) in pty_unthrottle() 113 struct tty_struct *to = tty->link; in pty_write() 206 struct tty_struct *to = tty->link; in pty_flush_buffer() 286 struct tty_struct *pty = tty->link; in pty_resize() 322 static void pty_start(struct tty_struct *tty) in pty_start() 335 static void pty_stop(struct tty_struct *tty) in pty_stop() 362 struct tty_struct *o_tty; in pty_common_install() 431 static void pty_cleanup(struct tty_struct *tty) in pty_cleanup() 446 struct tty_struct *pair = tty->link; in pty_remove() 708 struct tty_struct *tty; in pts_unix98_lookup() [all …]
|
A D | tty_io.c | 670 struct tty_struct *tty = in do_tty_hangup() 713 struct tty_struct *tty; in tty_vhangup_self() 959 struct tty_struct *tty, in do_tty_write() 1225 struct tty_struct *tty; in tty_driver_lookup_tty() 1394 struct tty_struct *tty; in tty_init_dev() 1546 struct tty_struct *tty = container_of(kref, struct tty_struct, kref); in queue_release_one_tty() 1877 struct tty_struct *tty; in tty_open_current_tty() 1954 struct tty_struct *tty; in tty_kopen() 2040 struct tty_struct *tty; in tty_open_by_driver() 2114 struct tty_struct *tty; in tty_open() [all …]
|
A D | tty_mutex.c | 15 void tty_lock(struct tty_struct *tty) in tty_lock() 22 int tty_lock_interruptible(struct tty_struct *tty) in tty_lock_interruptible() 33 void tty_unlock(struct tty_struct *tty) in tty_unlock() 40 void tty_lock_slave(struct tty_struct *tty) in tty_lock_slave() 46 void tty_unlock_slave(struct tty_struct *tty) in tty_unlock_slave() 52 void tty_set_lock_subclass(struct tty_struct *tty) in tty_set_lock_subclass()
|
A D | tty_jobctrl.c | 69 int tty_check_change(struct tty_struct *tty) in tty_check_change() 78 struct tty_struct *tty; in proc_clear_tty() 98 static void __proc_set_tty(struct tty_struct *tty) in __proc_set_tty() 122 static void proc_set_tty(struct tty_struct *tty) in proc_set_tty() 160 struct tty_struct *get_current_tty(void) in get_current_tty() 162 struct tty_struct *tty; in get_current_tty() 267 struct tty_struct *tty; in disassociate_ctty() 461 static int tiocgpgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgpgrp() 488 static int tiocspgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocspgrp() 538 static int tiocgsid(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgsid() [all …]
|
A D | n_null.c | 13 static int n_null_open(struct tty_struct *tty) in n_null_open() 18 static void n_null_close(struct tty_struct *tty) in n_null_close() 22 static ssize_t n_null_read(struct tty_struct *tty, struct file *file, in n_null_read() 29 static ssize_t n_null_write(struct tty_struct *tty, struct file *file, in n_null_write() 35 static void n_null_receivebuf(struct tty_struct *tty, in n_null_receivebuf()
|
A D | n_tty.c | 202 static void n_tty_kick_worker(struct tty_struct *tty) in n_tty_kick_worker() 222 static ssize_t chars_in_buffer(struct tty_struct *tty) in chars_in_buffer() 241 static void n_tty_write_wakeup(struct tty_struct *tty) in n_tty_write_wakeup() 760 static void commit_echoes(struct tty_struct *tty) in commit_echoes() 789 static void process_echoes(struct tty_struct *tty) in process_echoes() 807 static void flush_echoes(struct tty_struct *tty) in flush_echoes() 1077 static void __isig(int sig, struct tty_struct *tty) in __isig() 1100 static void isig(int sig, struct tty_struct *tty) in isig() 1853 static void n_tty_close(struct tty_struct *tty) in n_tty_close() 1874 static int n_tty_open(struct tty_struct *tty) in n_tty_open() [all …]
|
A D | tty_ioctl.c | 58 unsigned int tty_chars_in_buffer(struct tty_struct *tty) in tty_chars_in_buffer() 77 unsigned int tty_write_room(struct tty_struct *tty) in tty_write_room() 93 void tty_driver_flush_buffer(struct tty_struct *tty) in tty_driver_flush_buffer() 113 void tty_unthrottle(struct tty_struct *tty) in tty_unthrottle() 137 int tty_throttle_safe(struct tty_struct *tty) in tty_throttle_safe() 168 int tty_unthrottle_safe(struct tty_struct *tty) in tty_unthrottle_safe() 198 void tty_wait_until_sent(struct tty_struct *tty, long timeout) in tty_wait_until_sent() 555 static int get_sgflags(struct tty_struct *tty) in get_sgflags() 734 static int tty_change_softcar(struct tty_struct *tty, int arg) in tty_change_softcar() 765 struct tty_struct *real_tty; in tty_mode_ioctl() [all …]
|
A D | tty_port.c | 28 struct tty_struct *tty; in tty_port_default_receive_buf() 49 struct tty_struct *tty; in tty_port_default_lookahead_buf() 68 struct tty_struct *tty = tty_port_tty_get(port); in tty_port_default_wakeup() 322 struct tty_struct *tty_port_tty_get(struct tty_port *port) in tty_port_tty_get() 325 struct tty_struct *tty; in tty_port_tty_get() 396 struct tty_struct *tty; in tty_port_hangup() 421 struct tty_struct *tty = tty_port_tty_get(port); in tty_port_tty_hangup() 511 struct tty_struct *tty, struct file *filp) in tty_port_block_til_ready() 626 struct tty_struct *tty, struct file *filp) in tty_port_close_start() 739 struct tty_struct *tty) in tty_port_install() [all …]
|
A D | ttynull.c | 17 static int ttynull_open(struct tty_struct *tty, struct file *filp) in ttynull_open() 22 static void ttynull_close(struct tty_struct *tty, struct file *filp) in ttynull_close() 27 static void ttynull_hangup(struct tty_struct *tty) in ttynull_hangup() 32 static int ttynull_write(struct tty_struct *tty, const unsigned char *buf, in ttynull_write() 38 static unsigned int ttynull_write_room(struct tty_struct *tty) in ttynull_write_room()
|
/linux-6.3-rc2/include/linux/usb/ |
A D | serial.h | 274 unsigned int (*write_room)(struct tty_struct *tty); 275 int (*ioctl)(struct tty_struct *tty, 282 unsigned int (*chars_in_buffer)(struct tty_struct *tty); 285 void (*throttle)(struct tty_struct *tty); 286 void (*unthrottle)(struct tty_struct *tty); 287 int (*tiocmget)(struct tty_struct *tty); 288 int (*tiocmset)(struct tty_struct *tty, 291 int (*get_icount)(struct tty_struct *tty, 299 void (*init_termios)(struct tty_struct *tty); 350 void usb_serial_generic_throttle(struct tty_struct *tty); [all …]
|
/linux-6.3-rc2/arch/um/drivers/ |
A D | line.h | 59 extern void line_close(struct tty_struct *tty, struct file * filp); 60 extern int line_open(struct tty_struct *tty, struct file *filp); 63 extern void line_cleanup(struct tty_struct *tty); 64 extern void line_hangup(struct tty_struct *tty); 67 extern int line_write(struct tty_struct *tty, const unsigned char *buf, 69 extern unsigned int line_chars_in_buffer(struct tty_struct *tty); 70 extern void line_flush_buffer(struct tty_struct *tty); 71 extern void line_flush_chars(struct tty_struct *tty); 72 extern unsigned int line_write_room(struct tty_struct *tty); 73 extern void line_throttle(struct tty_struct *tty); [all …]
|
/linux-6.3-rc2/drivers/usb/serial/ |
A D | usb-wwan.h | 10 extern int usb_wwan_open(struct tty_struct *tty, struct usb_serial_port *port); 14 extern unsigned int usb_wwan_write_room(struct tty_struct *tty); 15 extern int usb_wwan_tiocmget(struct tty_struct *tty); 16 extern int usb_wwan_tiocmset(struct tty_struct *tty, 18 extern int usb_wwan_write(struct tty_struct *tty, struct usb_serial_port *port, 20 extern unsigned int usb_wwan_chars_in_buffer(struct tty_struct *tty);
|
A D | kobil_sct.c | 56 static unsigned int kobil_write_room(struct tty_struct *tty); 57 static int kobil_ioctl(struct tty_struct *tty, 59 static int kobil_tiocmget(struct tty_struct *tty); 60 static int kobil_tiocmset(struct tty_struct *tty, 64 static void kobil_set_termios(struct tty_struct *tty, 67 static void kobil_init_termios(struct tty_struct *tty); 155 static void kobil_init_termios(struct tty_struct *tty) in kobil_init_termios() 369 static int kobil_tiocmget(struct tty_struct *tty) in kobil_tiocmget() 417 static int kobil_tiocmset(struct tty_struct *tty, in kobil_tiocmset() 477 static void kobil_set_termios(struct tty_struct *tty, in kobil_set_termios() [all …]
|
/linux-6.3-rc2/arch/xtensa/platforms/iss/ |
A D | console.c | 40 static int rs_open(struct tty_struct *tty, struct file * filp) in rs_open() 48 static void rs_close(struct tty_struct *tty, struct file * filp) in rs_close() 55 static int rs_write(struct tty_struct * tty, in rs_write() 86 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char() 91 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars() 95 static unsigned int rs_write_room(struct tty_struct *tty) in rs_write_room() 101 static void rs_hangup(struct tty_struct *tty) in rs_hangup() 106 static void rs_wait_until_sent(struct tty_struct *tty, int timeout) in rs_wait_until_sent()
|
/linux-6.3-rc2/drivers/accessibility/speakup/ |
A D | spk_ttyio.c | 22 static struct tty_struct *speakup_tty; 47 static int spk_ttyio_ldisc_open(struct tty_struct *tty) in spk_ttyio_ldisc_open() 136 static inline void get_termios(struct tty_struct *tty, in get_termios() 147 struct tty_struct *tty; in spk_ttyio_initialise_ldisc() 227 struct tty_struct *tty = in_synth->dev; in spk_ttyio_out() 273 struct tty_struct *tty = in_synth->dev; in spk_ttyio_send_xchar() 281 struct tty_struct *tty = in_synth->dev; in spk_ttyio_tiocmset() 294 struct tty_struct *tty = in_synth->dev; in ttyio_in() 334 struct tty_struct *tty = in_synth->dev; in spk_ttyio_flush_buffer() 355 struct tty_struct *tty = in_synth->dev; in spk_ttyio_release() [all …]
|
A D | selection.c | 22 struct tty_struct *tty; 30 struct tty_struct *tty; in __speakup_set_selection() 62 int speakup_set_selection(struct tty_struct *tty) in speakup_set_selection() 94 struct tty_struct *tty; in speakup_cancel_selection() 110 struct tty_struct *tty = xchg(&ssw->tty, NULL); in __speakup_paste_selection() 121 int speakup_paste_selection(struct tty_struct *tty) in speakup_paste_selection() 135 struct tty_struct *tty; in speakup_cancel_paste()
|
/linux-6.3-rc2/drivers/tty/serdev/ |
A D | serdev-ttyport.c | 15 struct tty_struct *tty; 52 struct tty_struct *tty; in ttyport_write_wakeup() 80 struct tty_struct *tty = serport->tty; in ttyport_write_buf() 92 struct tty_struct *tty = serport->tty; in ttyport_write_flush() 100 struct tty_struct *tty = serport->tty; in ttyport_write_room() 108 struct tty_struct *tty; in ttyport_open() 157 struct tty_struct *tty = serport->tty; in ttyport_close() 172 struct tty_struct *tty = serport->tty; in ttyport_set_baudrate() 186 struct tty_struct *tty = serport->tty; in ttyport_set_flow_control() 201 struct tty_struct *tty = serport->tty; in ttyport_set_parity() [all …]
|
/linux-6.3-rc2/drivers/input/serio/ |
A D | serport.c | 32 struct tty_struct *tty; 78 static int serport_ldisc_open(struct tty_struct *tty) in serport_ldisc_open() 104 static void serport_ldisc_close(struct tty_struct *tty) in serport_ldisc_close() 117 static void serport_ldisc_receive(struct tty_struct *tty, in serport_ldisc_receive() 160 static ssize_t serport_ldisc_read(struct tty_struct * tty, struct file * file, in serport_ldisc_read() 197 static void serport_set_type(struct tty_struct *tty, unsigned long type) in serport_set_type() 210 static int serport_ldisc_ioctl(struct tty_struct *tty, unsigned int cmd, in serport_ldisc_ioctl() 228 static int serport_ldisc_compat_ioctl(struct tty_struct *tty, in serport_ldisc_compat_ioctl() 246 static void serport_ldisc_hangup(struct tty_struct *tty) in serport_ldisc_hangup() 258 static void serport_ldisc_write_wakeup(struct tty_struct * tty) in serport_ldisc_write_wakeup()
|