/openbmc/linux/include/linux/ |
H A D | tty_driver.h | 14 struct tty_struct; 364 void (*shutdown)(struct tty_struct *tty); 365 void (*cleanup)(struct tty_struct *tty); 371 int (*ioctl)(struct tty_struct *tty, 378 void (*stop)(struct tty_struct *tty); 379 void (*start)(struct tty_struct *tty); 380 void (*hangup)(struct tty_struct *tty); 387 int (*tiocmget)(struct tty_struct *tty); 388 int (*tiocmset)(struct tty_struct *tty, 391 int (*get_icount)(struct tty_struct *tty, [all …]
|
H A D | tty.h | 193 struct tty_struct { struct 236 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 …]
|
H 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 …]
|
H 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 …]
|
H 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);
|
/openbmc/linux/drivers/tty/ |
H 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_write_unlock(struct tty_struct *tty); 67 void tty_vhangup_session(struct tty_struct *tty); 82 long tty_jobctrl_ioctl(struct tty_struct *tty, struct tty_struct *real_tty, 93 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty); 94 void tty_ldisc_release(struct tty_struct *tty); [all …]
|
H 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 …]
|
H 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 …]
|
H 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()
|
H A D | tty_io.c | 669 struct tty_struct *tty = in do_tty_hangup() 712 struct tty_struct *tty; in tty_vhangup_self() 1224 struct tty_struct *tty; in tty_driver_lookup_tty() 1393 struct tty_struct *tty; in tty_init_dev() 1545 struct tty_struct *tty = container_of(kref, struct tty_struct, kref); in queue_release_one_tty() 1876 struct tty_struct *tty; in tty_open_current_tty() 1953 struct tty_struct *tty; in tty_kopen() 2039 struct tty_struct *tty; in tty_open_by_driver() 2113 struct tty_struct *tty; in tty_open() 2644 static struct tty_struct *tty_pair_get_tty(struct tty_struct *tty) in tty_pair_get_tty() [all …]
|
H 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 …]
|
H A D | tty_ioctl.c | 51 unsigned int tty_chars_in_buffer(struct tty_struct *tty) in tty_chars_in_buffer() 70 unsigned int tty_write_room(struct tty_struct *tty) in tty_write_room() 86 void tty_driver_flush_buffer(struct tty_struct *tty) in tty_driver_flush_buffer() 106 void tty_unthrottle(struct tty_struct *tty) in tty_unthrottle() 130 int tty_throttle_safe(struct tty_struct *tty) in tty_throttle_safe() 161 int tty_unthrottle_safe(struct tty_struct *tty) in tty_unthrottle_safe() 191 void tty_wait_until_sent(struct tty_struct *tty, long timeout) in tty_wait_until_sent() 567 static int get_sgflags(struct tty_struct *tty) in get_sgflags() 777 struct tty_struct *real_tty; in tty_mode_ioctl() 931 int tty_perform_flush(struct tty_struct *tty, unsigned long arg) in tty_perform_flush() [all …]
|
H 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() 361 static void n_tty_flush_buffer(struct tty_struct *tty) in n_tty_flush_buffer() 701 static size_t __process_echoes(struct tty_struct *tty) in __process_echoes() 755 static void commit_echoes(struct tty_struct *tty) in commit_echoes() 784 static void process_echoes(struct tty_struct *tty) in process_echoes() 802 static void flush_echoes(struct tty_struct *tty) in flush_echoes() 1072 static void __isig(int sig, struct tty_struct *tty) in __isig() 1095 static void isig(int sig, struct tty_struct *tty) in isig() 1896 static void n_tty_close(struct tty_struct *tty) in n_tty_close() [all …]
|
H 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()
|
H 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() 320 struct tty_struct *tty_port_tty_get(struct tty_port *port) in tty_port_tty_get() 323 struct tty_struct *tty; in tty_port_tty_get() 394 struct tty_struct *tty; in tty_port_hangup() 419 struct tty_struct *tty = tty_port_tty_get(port); in tty_port_tty_hangup() 509 struct tty_struct *tty, struct file *filp) in tty_port_block_til_ready() 624 struct tty_struct *tty, struct file *filp) in tty_port_close_start() 737 struct tty_struct *tty) in tty_port_install() [all …]
|
/openbmc/linux/include/linux/usb/ |
H 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 …]
|
/openbmc/linux/arch/um/drivers/ |
H 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 …]
|
H 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() 623 struct tty_struct *tty; in winch_interrupt() [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H 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);
|
H 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 …]
|
/openbmc/linux/drivers/accessibility/speakup/ |
H 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()
|
H 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 …]
|
/openbmc/linux/drivers/tty/serdev/ |
H 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 …]
|
/openbmc/linux/drivers/input/serio/ |
H 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()
|
/openbmc/linux/drivers/pps/clients/ |
H 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()
|