| /linux/include/linux/ |
| A D | tty_driver.h | 14 struct tty_struct; 363 void (*shutdown)(struct tty_struct *tty); 364 void (*cleanup)(struct tty_struct *tty); 370 int (*ioctl)(struct tty_struct *tty, 377 void (*stop)(struct tty_struct *tty); 378 void (*start)(struct tty_struct *tty); 379 void (*hangup)(struct tty_struct *tty); 386 int (*tiocmget)(struct tty_struct *tty); 387 int (*tiocmset)(struct tty_struct *tty, 390 int (*get_icount)(struct tty_struct *tty, [all …]
|
| A D | tty.h | 188 struct tty_struct { struct 229 struct tty_struct *link; argument 248 struct tty_struct *tty; argument 349 void tty_kclose(struct tty_struct *tty); 394 static inline struct tty_struct *tty_kref_get(struct tty_struct *tty) in tty_kref_get() 403 void stop_tty(struct tty_struct *tty); 404 void start_tty(struct tty_struct *tty); 422 void do_SAK(struct tty_struct *tty); 423 void __do_SAK(struct tty_struct *tty); 460 struct tty_struct *tty); [all …]
|
| A D | tty_ldisc.h | 5 struct tty_struct; 238 int (*open)(struct tty_struct *tty); 239 void (*close)(struct tty_struct *tty); 240 void (*flush_buffer)(struct tty_struct *tty); 245 int (*ioctl)(struct tty_struct *tty, unsigned int cmd, 252 void (*hangup)(struct tty_struct *tty); 259 void (*write_wakeup)(struct tty_struct *tty); 271 struct tty_struct *tty; 279 struct tty_ldisc *tty_ldisc_ref(struct tty_struct *); 283 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); 103 struct tty_struct *tty; 104 struct tty_struct *itty; 232 struct tty_struct *tty_port_tty_get(struct tty_port *port); 233 void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty); 242 int tty_port_close_start(struct tty_port *port, struct tty_struct *tty, 244 void tty_port_close_end(struct tty_port *port, struct tty_struct *tty); 245 void tty_port_close(struct tty_port *port, struct tty_struct *tty, 248 struct tty_struct *tty); [all …]
|
| A D | selection.h | 14 struct tty_struct; 19 struct tty_struct *tty); 20 int set_selection_kernel(struct tiocl_selection *v, struct tty_struct *tty); 21 int paste_selection(struct tty_struct *tty); 24 void mouse_report(struct tty_struct *tty, int butt, int mrx, int mry);
|
| /linux/drivers/tty/ |
| A D | tty.h | 64 void tty_ldisc_unlock(struct tty_struct *tty); 66 int __tty_check_change(struct tty_struct *tty, int sig); 67 int tty_check_change(struct tty_struct *tty); 68 void __stop_tty(struct tty_struct *tty); 69 void __start_tty(struct tty_struct *tty); 70 void tty_write_unlock(struct tty_struct *tty); 72 void tty_vhangup_session(struct tty_struct *tty); 87 long tty_jobctrl_ioctl(struct tty_struct *tty, struct tty_struct *real_tty, 98 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty); 99 void tty_ldisc_release(struct tty_struct *tty); [all …]
|
| A D | tty_ldisc.c | 320 void tty_ldisc_unlock(struct tty_struct *tty) in tty_ldisc_unlock() 329 tty_ldisc_lock_pair_timeout(struct tty_struct *tty, struct tty_struct *tty2, in tty_ldisc_lock_pair_timeout() 364 static void tty_ldisc_lock_pair(struct tty_struct *tty, struct tty_struct *tty2) in tty_ldisc_lock_pair() 370 struct tty_struct *tty2) in tty_ldisc_unlock_pair() 384 void tty_ldisc_flush(struct tty_struct *tty) in tty_ldisc_flush() 605 static void tty_ldisc_kill(struct tty_struct *tty) in tty_ldisc_kill() 743 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty) in tty_ldisc_setup() 771 void tty_ldisc_release(struct tty_struct *tty) in tty_ldisc_release() 773 struct tty_struct *o_tty = tty->link; in tty_ldisc_release() 801 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 | 663 struct tty_struct *tty = in do_tty_hangup() 706 struct tty_struct *tty; in tty_vhangup_self() 1226 struct tty_struct *tty; in tty_driver_lookup_tty() 1395 struct tty_struct *tty; in tty_init_dev() 1547 struct tty_struct *tty = container_of(kref, struct tty_struct, kref); in queue_release_one_tty() 1878 struct tty_struct *tty; in tty_open_current_tty() 1955 struct tty_struct *tty; in tty_kopen() 2041 struct tty_struct *tty; in tty_open_by_driver() 2115 struct tty_struct *tty; in tty_open() 2668 static struct tty_struct *tty_pair_get_tty(struct tty_struct *tty) in tty_pair_get_tty() [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() 466 static int tiocgpgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgpgrp() 493 static int tiocspgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocspgrp() 543 static int tiocgsid(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgsid() [all …]
|
| A D | tty_ioctl.c | 48 unsigned int tty_chars_in_buffer(struct tty_struct *tty) in tty_chars_in_buffer() 66 unsigned int tty_write_room(struct tty_struct *tty) in tty_write_room() 82 void tty_driver_flush_buffer(struct tty_struct *tty) in tty_driver_flush_buffer() 101 void tty_unthrottle(struct tty_struct *tty) in tty_unthrottle() 123 bool tty_throttle_safe(struct tty_struct *tty) in tty_throttle_safe() 153 bool tty_unthrottle_safe(struct tty_struct *tty) in tty_unthrottle_safe() 183 void tty_wait_until_sent(struct tty_struct *tty, long timeout) in tty_wait_until_sent() 559 static int get_sgflags(struct tty_struct *tty) in get_sgflags() 771 struct tty_struct *real_tty; in tty_mode_ioctl() 925 int tty_perform_flush(struct tty_struct *tty, unsigned long arg) in tty_perform_flush() [all …]
|
| A D | n_tty.c | 234 static void n_tty_write_wakeup(struct tty_struct *tty) in n_tty_write_wakeup() 240 static void n_tty_check_throttle(struct tty_struct *tty) in n_tty_check_throttle() 356 static void n_tty_flush_buffer(struct tty_struct *tty) in n_tty_flush_buffer() 696 static size_t __process_echoes(struct tty_struct *tty) in __process_echoes() 750 static void commit_echoes(struct tty_struct *tty) in commit_echoes() 779 static void process_echoes(struct tty_struct *tty) in process_echoes() 797 static void flush_echoes(struct tty_struct *tty) in flush_echoes() 1067 static void __isig(int sig, struct tty_struct *tty) in __isig() 1090 static void isig(int sig, struct tty_struct *tty) in isig() 1891 static void n_tty_close(struct tty_struct *tty) in n_tty_close() [all …]
|
| A D | tty_port.c | 26 struct tty_struct *tty; in tty_port_default_receive_buf() 47 struct tty_struct *tty; in tty_port_default_lookahead_buf() 66 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 ssize_t ttynull_write(struct tty_struct *tty, const u8 *buf, in ttynull_write() 38 static unsigned int ttynull_write_room(struct tty_struct *tty) in ttynull_write_room()
|
| /linux/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); 353 void usb_serial_generic_throttle(struct tty_struct *tty); [all …]
|
| /linux/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); 61 extern int line_install(struct tty_driver *driver, struct tty_struct *tty, 63 extern void line_cleanup(struct tty_struct *tty); 64 extern void line_hangup(struct tty_struct *tty); 68 extern unsigned int line_chars_in_buffer(struct tty_struct *tty); 69 extern void line_flush_buffer(struct tty_struct *tty); 70 extern void line_flush_chars(struct tty_struct *tty); 71 extern unsigned int line_write_room(struct tty_struct *tty); 72 extern void line_throttle(struct tty_struct *tty); [all …]
|
| A D | line.c | 50 unsigned int line_write_room(struct tty_struct *tty) in line_write_room() 63 unsigned int line_chars_in_buffer(struct tty_struct *tty) in line_chars_in_buffer() 168 void line_flush_buffer(struct tty_struct *tty) in line_flush_buffer() 182 void line_flush_chars(struct tty_struct *tty) in line_flush_chars() 214 void line_throttle(struct tty_struct *tty) in line_throttle() 222 void line_unthrottle(struct tty_struct *tty) in line_unthrottle() 305 static void unregister_winch(struct tty_struct *tty); 309 struct tty_struct *tty = tty_port_tty_get(port); in line_destruct() 351 void line_hangup(struct tty_struct *tty) in line_hangup() 625 struct tty_struct *tty; in winch_interrupt() [all …]
|
| /linux/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); 154 static void kobil_init_termios(struct tty_struct *tty) in kobil_init_termios() 367 static int kobil_tiocmget(struct tty_struct *tty) in kobil_tiocmget() 415 static int kobil_tiocmset(struct tty_struct *tty, in kobil_tiocmset() 475 static void kobil_set_termios(struct tty_struct *tty, in kobil_set_termios() [all …]
|
| /linux/drivers/tty/serdev/ |
| A D | serdev-ttyport.c | 15 struct tty_struct *tty; 50 struct tty_struct *tty; in ttyport_write_wakeup() 78 struct tty_struct *tty = serport->tty; in ttyport_write_buf() 90 struct tty_struct *tty = serport->tty; in ttyport_write_flush() 98 struct tty_struct *tty = serport->tty; in ttyport_write_room() 106 struct tty_struct *tty; in ttyport_open() 155 struct tty_struct *tty = serport->tty; in ttyport_close() 170 struct tty_struct *tty = serport->tty; in ttyport_set_baudrate() 184 struct tty_struct *tty = serport->tty; in ttyport_set_flow_control() 199 struct tty_struct *tty = serport->tty; in ttyport_set_parity() [all …]
|
| /linux/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() 135 static inline void get_termios(struct tty_struct *tty, in get_termios() 146 struct tty_struct *tty; in spk_ttyio_initialise_ldisc() 226 struct tty_struct *tty = in_synth->dev; in spk_ttyio_out() 272 struct tty_struct *tty = in_synth->dev; in spk_ttyio_send_xchar() 280 struct tty_struct *tty = in_synth->dev; in spk_ttyio_tiocmset() 293 struct tty_struct *tty = in_synth->dev; in ttyio_in() 333 struct tty_struct *tty = in_synth->dev; in spk_ttyio_flush_buffer() 354 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/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, const u8 *cp, 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()
|
| /linux/drivers/pps/clients/ |
| A D | pps-ldisc.c | 16 static void pps_tty_dcd_change(struct tty_struct *tty, bool active) in pps_tty_dcd_change() 39 static int (*alias_n_tty_open)(struct tty_struct *tty); 41 static int pps_tty_open(struct tty_struct *tty) in pps_tty_open() 81 static void (*alias_n_tty_close)(struct tty_struct *tty); 83 static void pps_tty_close(struct tty_struct *tty) in pps_tty_close()
|