Searched defs:tty (Results 1 - 181 of 181) sorted by relevance

/linux-4.4.14/net/irda/ircomm/
H A DMakefile
H A Dircomm_tty_ioctl.c145 void ircomm_tty_set_termios(struct tty_struct *tty, ircomm_tty_set_termios() argument
193 int ircomm_tty_tiocmget(struct tty_struct *tty) ircomm_tty_tiocmget() argument
216 int ircomm_tty_tiocmset(struct tty_struct *tty, ircomm_tty_tiocmset() argument
361 int ircomm_tty_ioctl(struct tty_struct *tty, ircomm_tty_ioctl() argument
53 ircomm_tty_change_speed(struct ircomm_tty_cb *self, struct tty_struct *tty) ircomm_tty_change_speed() argument
H A Dircomm_tty_attach.c129 struct tty_struct *tty; ircomm_tty_attach_cable() local
395 struct tty_struct *tty; ircomm_tty_disconnect_indication() local
542 struct tty_struct *tty; ircomm_tty_link_established() local
H A Dircomm_tty.c374 static int ircomm_tty_install(struct tty_driver *driver, struct tty_struct *tty) ircomm_tty_install() argument
427 static int ircomm_tty_open(struct tty_struct *tty, struct file *filp) ircomm_tty_open() argument
478 static void ircomm_tty_close(struct tty_struct *tty, struct file *filp) ircomm_tty_close() argument
503 static void ircomm_tty_flush_buffer(struct tty_struct *tty) ircomm_tty_flush_buffer() argument
528 struct tty_struct *tty; ircomm_tty_do_softint() local
587 static int ircomm_tty_write(struct tty_struct *tty, ircomm_tty_write() argument
720 static int ircomm_tty_write_room(struct tty_struct *tty) ircomm_tty_write_room() argument
760 static void ircomm_tty_wait_until_sent(struct tty_struct *tty, int timeout) ircomm_tty_wait_until_sent() argument
797 static void ircomm_tty_throttle(struct tty_struct *tty) ircomm_tty_throttle() argument
826 static void ircomm_tty_unthrottle(struct tty_struct *tty) ircomm_tty_unthrottle() argument
854 static int ircomm_tty_chars_in_buffer(struct tty_struct *tty) ircomm_tty_chars_in_buffer() argument
916 static void ircomm_tty_hangup(struct tty_struct *tty) ircomm_tty_hangup() argument
947 static void ircomm_tty_send_xchar(struct tty_struct *tty, char ch) ircomm_tty_send_xchar() argument
958 void ircomm_tty_start(struct tty_struct *tty) ircomm_tty_start() argument
971 static void ircomm_tty_stop(struct tty_struct *tty) ircomm_tty_stop() argument
990 struct tty_struct *tty; ircomm_tty_check_modem_status() local
1051 struct tty_struct *tty; ircomm_tty_data_indication() local
1128 struct tty_struct *tty; ircomm_tty_flow_indication() local
1159 struct tty_struct *tty; ircomm_tty_line_info() local
270 ircomm_tty_block_til_ready(struct ircomm_tty_cb *self, struct tty_struct *tty, struct file *filp) ircomm_tty_block_til_ready() argument
/linux-4.4.14/drivers/tty/
H A Dtty_mutex.c13 void __lockfunc tty_lock(struct tty_struct *tty) tty_lock() argument
25 int tty_lock_interruptible(struct tty_struct *tty) tty_lock_interruptible() argument
33 void __lockfunc tty_unlock(struct tty_struct *tty) tty_unlock() argument
45 void __lockfunc tty_lock_slave(struct tty_struct *tty) tty_lock_slave() argument
51 void __lockfunc tty_unlock_slave(struct tty_struct *tty) tty_unlock_slave() argument
57 void tty_set_lock_subclass(struct tty_struct *tty) tty_set_lock_subclass() argument
H A Dn_tracesink.c74 static int n_tracesink_open(struct tty_struct *tty) n_tracesink_open() argument
100 static void n_tracesink_close(struct tty_struct *tty) n_tracesink_close() argument
127 static ssize_t n_tracesink_read(struct tty_struct *tty, struct file *file, n_tracesink_read() argument
151 static ssize_t n_tracesink_write(struct tty_struct *tty, struct file *file, n_tracesink_write() argument
H A Dn_tracerouter.c71 static int n_tracerouter_open(struct tty_struct *tty) n_tracerouter_open() argument
99 static void n_tracerouter_close(struct tty_struct *tty) n_tracerouter_close() argument
130 static ssize_t n_tracerouter_read(struct tty_struct *tty, struct file *file, n_tracerouter_read() argument
154 static ssize_t n_tracerouter_write(struct tty_struct *tty, struct file *file, n_tracerouter_write() argument
171 static void n_tracerouter_receivebuf(struct tty_struct *tty, n_tracerouter_receivebuf() argument
H A Dtty_audit.c142 void tty_audit_tiocsti(struct tty_struct *tty, char ch) tty_audit_tiocsti() argument
219 static struct tty_audit_buf *tty_audit_buf_get(struct tty_struct *tty, tty_audit_buf_get() argument
268 void tty_audit_add_data(struct tty_struct *tty, const void *data, tty_audit_add_data() argument
325 void tty_audit_push(struct tty_struct *tty) tty_audit_push() argument
H A Dtty_port.c172 struct tty_struct *tty; tty_port_tty_get() local
190 void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty) tty_port_tty_set() argument
201 static void tty_port_shutdown(struct tty_port *port, struct tty_struct *tty) tty_port_shutdown() argument
234 struct tty_struct *tty; tty_port_hangup() local
260 struct tty_struct *tty = tty_port_tty_get(port); tty_port_tty_hangup() local
275 struct tty_struct *tty = tty_port_tty_get(port); tty_port_tty_wakeup() local
440 static void tty_port_drain_delay(struct tty_port *port, struct tty_struct *tty) tty_port_drain_delay() argument
503 void tty_port_close_end(struct tty_port *port, struct tty_struct *tty) tty_port_close_end() argument
531 void tty_port_close(struct tty_port *port, struct tty_struct *tty, tty_port_close() argument
569 int tty_port_open(struct tty_port *port, struct tty_struct *tty, tty_port_open() argument
358 tty_port_block_til_ready(struct tty_port *port, struct tty_struct *tty, struct file *filp) tty_port_block_til_ready() argument
455 tty_port_close_start(struct tty_port *port, struct tty_struct *tty, struct file *filp) tty_port_close_start() argument
553 tty_port_install(struct tty_port *port, struct tty_driver *driver, struct tty_struct *tty) tty_port_install() argument
H A Dbfin_jtag_comm.c74 struct tty_struct *tty = tty_port_tty_get(&port); bfin_jc_emudat_manager() local
141 bfin_jc_open(struct tty_struct *tty, struct file *filp) bfin_jc_open() argument
154 bfin_jc_close(struct tty_struct *tty, struct file *filp) bfin_jc_close() argument
185 bfin_jc_write(struct tty_struct *tty, const unsigned char *buf, int count) bfin_jc_write() argument
196 bfin_jc_flush_chars(struct tty_struct *tty) bfin_jc_flush_chars() argument
202 bfin_jc_write_room(struct tty_struct *tty) bfin_jc_write_room() argument
208 bfin_jc_chars_in_buffer(struct tty_struct *tty) bfin_jc_chars_in_buffer() argument
H A Dgoldfish.c93 static int goldfish_tty_activate(struct tty_port *port, struct tty_struct *tty) goldfish_tty_activate() argument
108 static int goldfish_tty_open(struct tty_struct *tty, struct file *filp) goldfish_tty_open() argument
114 static void goldfish_tty_close(struct tty_struct *tty, struct file *filp) goldfish_tty_close() argument
119 static void goldfish_tty_hangup(struct tty_struct *tty) goldfish_tty_hangup() argument
124 static int goldfish_tty_write(struct tty_struct *tty, const unsigned char *buf, goldfish_tty_write() argument
131 static int goldfish_tty_write_room(struct tty_struct *tty) goldfish_tty_write_room() argument
136 static int goldfish_tty_chars_in_buffer(struct tty_struct *tty) goldfish_tty_chars_in_buffer() argument
182 struct tty_driver *tty; goldfish_tty_create_driver() local
H A Dtty_buffer.c213 void tty_buffer_flush(struct tty_struct *tty, struct tty_ldisc *ld) tty_buffer_flush() argument
415 receive_buf(struct tty_struct *tty, struct tty_buffer *head, int count) receive_buf() argument
451 struct tty_struct *tty; flush_to_ldisc() local
H A Dtty_ldisc.c151 static struct tty_ldisc *tty_ldisc_get(struct tty_struct *tty, int disc) tty_ldisc_get() argument
262 struct tty_ldisc *tty_ldisc_ref_wait(struct tty_struct *tty) tty_ldisc_ref_wait() argument
279 struct tty_ldisc *tty_ldisc_ref(struct tty_struct *tty) tty_ldisc_ref() argument
308 __tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) __tty_ldisc_lock() argument
314 __tty_ldisc_lock_nested(struct tty_struct *tty, unsigned long timeout) __tty_ldisc_lock_nested() argument
320 static inline void __tty_ldisc_unlock(struct tty_struct *tty) __tty_ldisc_unlock() argument
326 tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) tty_ldisc_lock() argument
337 static void tty_ldisc_unlock(struct tty_struct *tty) tty_ldisc_unlock() argument
344 tty_ldisc_lock_pair_timeout(struct tty_struct *tty, struct tty_struct *tty2, tty_ldisc_lock_pair_timeout() argument
380 tty_ldisc_lock_pair(struct tty_struct *tty, struct tty_struct *tty2) tty_ldisc_lock_pair() argument
385 static void __lockfunc tty_ldisc_unlock_pair(struct tty_struct *tty, tty_ldisc_unlock_pair() argument
401 void tty_ldisc_flush(struct tty_struct *tty) tty_ldisc_flush() argument
423 static void tty_set_termios_ldisc(struct tty_struct *tty, int num) tty_set_termios_ldisc() argument
441 static int tty_ldisc_open(struct tty_struct *tty, struct tty_ldisc *ld) tty_ldisc_open() argument
466 static void tty_ldisc_close(struct tty_struct *tty, struct tty_ldisc *ld) tty_ldisc_close() argument
484 static void tty_ldisc_restore(struct tty_struct *tty, struct tty_ldisc *old) tty_ldisc_restore() argument
521 int tty_set_ldisc(struct tty_struct *tty, int ldisc) tty_set_ldisc() argument
608 static void tty_reset_termios(struct tty_struct *tty) tty_reset_termios() argument
627 static int tty_ldisc_reinit(struct tty_struct *tty, int ldisc) tty_ldisc_reinit() argument
660 void tty_ldisc_hangup(struct tty_struct *tty) tty_ldisc_hangup() argument
729 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty) tty_ldisc_setup() argument
748 static void tty_ldisc_kill(struct tty_struct *tty) tty_ldisc_kill() argument
771 void tty_ldisc_release(struct tty_struct *tty) tty_ldisc_release() argument
800 void tty_ldisc_init(struct tty_struct *tty) tty_ldisc_init() argument
815 void tty_ldisc_deinit(struct tty_struct *tty) tty_ldisc_deinit() argument
H A Dn_hdlc.c148 struct tty_struct *tty; member in struct:n_hdlc
199 static void flush_rx_queue(struct tty_struct *tty) flush_rx_queue() argument
208 static void flush_tx_queue(struct tty_struct *tty) flush_tx_queue() argument
245 struct tty_struct *tty = n_hdlc2tty (n_hdlc); n_hdlc_release() local
299 static void n_hdlc_tty_close(struct tty_struct *tty) n_hdlc_tty_close() argument
337 static int n_hdlc_tty_open (struct tty_struct *tty) n_hdlc_tty_open() argument
386 static void n_hdlc_send_frames(struct n_hdlc *n_hdlc, struct tty_struct *tty) n_hdlc_send_frames() argument
482 static void n_hdlc_tty_wakeup(struct tty_struct *tty) n_hdlc_tty_wakeup() argument
511 static void n_hdlc_tty_receive(struct tty_struct *tty, const __u8 *data, n_hdlc_tty_receive() argument
578 static ssize_t n_hdlc_tty_read(struct tty_struct *tty, struct file *file, n_hdlc_tty_read() argument
662 static ssize_t n_hdlc_tty_write(struct tty_struct *tty, struct file *file, n_hdlc_tty_write() argument
746 static int n_hdlc_tty_ioctl(struct tty_struct *tty, struct file *file, n_hdlc_tty_ioctl() argument
812 static unsigned int n_hdlc_tty_poll(struct tty_struct *tty, struct file *filp, n_hdlc_tty_poll() argument
H A Dn_r3964.c373 struct tty_struct *tty = pInfo->tty; put_char() local
381 struct tty_struct *tty = pInfo->tty; flush() local
439 struct tty_struct *tty = pInfo->tty; transmit_block() local
942 static int r3964_open(struct tty_struct *tty) r3964_open() argument
1003 static void r3964_close(struct tty_struct *tty) r3964_close() argument
1056 static ssize_t r3964_read(struct tty_struct *tty, struct file *file, r3964_read() argument
1122 static ssize_t r3964_write(struct tty_struct *tty, struct file *file, r3964_write() argument
1187 static int r3964_ioctl(struct tty_struct *tty, struct file *file, r3964_ioctl() argument
1215 static void r3964_set_termios(struct tty_struct *tty, struct ktermios *old) r3964_set_termios() argument
1221 static unsigned int r3964_poll(struct tty_struct *tty, struct file *file, r3964_poll() argument
1246 static void r3964_receive_buf(struct tty_struct *tty, const unsigned char *cp, r3964_receive_buf() argument
H A Dpty.c41 static void pty_close(struct tty_struct *tty, struct file *filp) pty_close() argument
88 static void pty_unthrottle(struct tty_struct *tty) pty_unthrottle() argument
106 static int pty_write(struct tty_struct *tty, const unsigned char *buf, int c) pty_write() argument
131 static int pty_write_room(struct tty_struct *tty) pty_write_room() argument
146 static int pty_chars_in_buffer(struct tty_struct *tty) pty_chars_in_buffer() argument
152 static int pty_set_lock(struct tty_struct *tty, int __user *arg) pty_set_lock() argument
164 static int pty_get_lock(struct tty_struct *tty, int __user *arg) pty_get_lock() argument
171 static int pty_set_pktmode(struct tty_struct *tty, int __user *arg) pty_set_pktmode() argument
193 static int pty_get_pktmode(struct tty_struct *tty, int __user *arg) pty_get_pktmode() argument
200 static int pty_signal(struct tty_struct *tty, int sig) pty_signal() argument
216 static void pty_flush_buffer(struct tty_struct *tty) pty_flush_buffer() argument
237 static int pty_open(struct tty_struct *tty, struct file *filp) pty_open() argument
259 static void pty_set_termios(struct tty_struct *tty, pty_set_termios() argument
301 static int pty_resize(struct tty_struct *tty, struct winsize *ws) pty_resize() argument
340 static void pty_start(struct tty_struct *tty) pty_start() argument
353 static void pty_stop(struct tty_struct *tty) pty_stop() argument
377 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, pty_common_install() argument
459 static void pty_cleanup(struct tty_struct *tty) pty_cleanup() argument
467 static int pty_install(struct tty_driver *driver, struct tty_struct *tty) pty_install() argument
472 static void pty_remove(struct tty_driver *driver, struct tty_struct *tty) pty_remove() argument
480 static int pty_bsd_ioctl(struct tty_struct *tty, pty_bsd_ioctl() argument
607 static int pty_unix98_ioctl(struct tty_struct *tty, pty_unix98_ioctl() argument
656 struct tty_struct *tty; pts_unix98_lookup() local
670 static int pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) pty_unix98_install() argument
675 static void pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) pty_unix98_remove() argument
680 static void pty_unix98_shutdown(struct tty_struct *tty) pty_unix98_shutdown() argument
741 struct tty_struct *tty; ptmx_open() local
H A Dtty_ioctl.c55 int tty_chars_in_buffer(struct tty_struct *tty) tty_chars_in_buffer() argument
75 int tty_write_room(struct tty_struct *tty) tty_write_room() argument
91 void tty_driver_flush_buffer(struct tty_struct *tty) tty_driver_flush_buffer() argument
108 void tty_throttle(struct tty_struct *tty) tty_throttle() argument
133 void tty_unthrottle(struct tty_struct *tty) tty_unthrottle() argument
156 int tty_throttle_safe(struct tty_struct *tty) tty_throttle_safe() argument
187 int tty_unthrottle_safe(struct tty_struct *tty) tty_unthrottle_safe() argument
217 void tty_wait_until_sent(struct tty_struct *tty, long timeout) tty_wait_until_sent() argument
484 void tty_encode_baud_rate(struct tty_struct *tty, speed_t ibaud, speed_t obaud) tty_encode_baud_rate() argument
542 int tty_set_termios(struct tty_struct *tty, struct ktermios *new_termios) tty_set_termios() argument
590 static int set_termios(struct tty_struct *tty, void __user *arg, int opt) set_termios() argument
651 static void copy_termios(struct tty_struct *tty, struct ktermios *kterm) copy_termios() argument
658 static void copy_termios_locked(struct tty_struct *tty, struct ktermios *kterm) copy_termios_locked() argument
665 static int get_termio(struct tty_struct *tty, struct termio __user *termio) get_termio() argument
687 static int set_termiox(struct tty_struct *tty, void __user *arg, int opt) set_termiox() argument
725 static int get_sgflags(struct tty_struct *tty) get_sgflags() argument
743 static int get_sgttyb(struct tty_struct *tty, struct sgttyb __user *sgttyb) get_sgttyb() argument
795 static int set_sgttyb(struct tty_struct *tty, struct sgttyb __user *sgttyb) set_sgttyb() argument
825 static int get_tchars(struct tty_struct *tty, struct tchars __user *tchars) get_tchars() argument
840 static int set_tchars(struct tty_struct *tty, struct tchars __user *tchars) set_tchars() argument
859 static int get_ltchars(struct tty_struct *tty, struct ltchars __user *ltchars) get_ltchars() argument
876 static int set_ltchars(struct tty_struct *tty, struct ltchars __user *ltchars) set_ltchars() argument
906 static int tty_change_softcar(struct tty_struct *tty, int arg) tty_change_softcar() argument
936 int tty_mode_ioctl(struct tty_struct *tty, struct file *file, tty_mode_ioctl() argument
1081 static int __tty_perform_flush(struct tty_struct *tty, unsigned long arg) __tty_perform_flush() argument
1107 int tty_perform_flush(struct tty_struct *tty, unsigned long arg) tty_perform_flush() argument
1122 int n_tty_ioctl_helper(struct tty_struct *tty, struct file *file, n_tty_ioctl_helper() argument
1174 long n_tty_compat_ioctl_helper(struct tty_struct *tty, struct file *file, n_tty_compat_ioctl_helper() argument
H A Dmetag_da.c232 struct tty_struct *tty; put_channel_data() local
341 static int dashtty_port_activate(struct tty_port *port, struct tty_struct *tty) dashtty_port_activate() argument
419 static int dashtty_install(struct tty_driver *driver, struct tty_struct *tty) dashtty_install() argument
424 static int dashtty_open(struct tty_struct *tty, struct file *filp) dashtty_open() argument
429 static void dashtty_close(struct tty_struct *tty, struct file *filp) dashtty_close() argument
434 static void dashtty_hangup(struct tty_struct *tty) dashtty_hangup() argument
470 static int dashtty_write(struct tty_struct *tty, const unsigned char *buf, dashtty_write() argument
527 static int dashtty_write_room(struct tty_struct *tty) dashtty_write_room() argument
544 static int dashtty_chars_in_buffer(struct tty_struct *tty) dashtty_chars_in_buffer() argument
H A Damiserial.c187 static void rs_stop(struct tty_struct *tty) rs_stop() argument
207 static void rs_start(struct tty_struct *tty) rs_start() argument
516 static int startup(struct tty_struct *tty, struct serial_state *info) startup() argument
603 static void shutdown(struct tty_struct *tty, struct serial_state *info) shutdown() argument
658 static void change_speed(struct tty_struct *tty, struct serial_state *info, change_speed() argument
796 static int rs_put_char(struct tty_struct *tty, unsigned char ch) rs_put_char() argument
823 static void rs_flush_chars(struct tty_struct *tty) rs_flush_chars() argument
847 static int rs_write(struct tty_struct * tty, const unsigned char *buf, int count) rs_write() argument
894 static int rs_write_room(struct tty_struct *tty) rs_write_room() argument
903 static int rs_chars_in_buffer(struct tty_struct *tty) rs_chars_in_buffer() argument
912 static void rs_flush_buffer(struct tty_struct *tty) rs_flush_buffer() argument
929 static void rs_send_xchar(struct tty_struct *tty, char ch) rs_send_xchar() argument
964 static void rs_throttle(struct tty_struct * tty) rs_throttle() argument
987 static void rs_unthrottle(struct tty_struct * tty) rs_unthrottle() argument
1018 static int get_serial_info(struct tty_struct *tty, struct serial_state *state, get_serial_info() argument
1041 static int set_serial_info(struct tty_struct *tty, struct serial_state *state, set_serial_info() argument
1141 static int rs_tiocmget(struct tty_struct *tty) rs_tiocmget() argument
1163 static int rs_tiocmset(struct tty_struct *tty, unsigned int set, rs_tiocmset() argument
1191 static int rs_break(struct tty_struct *tty, int break_state) rs_break() argument
1215 static int rs_get_icount(struct tty_struct *tty, rs_get_icount() argument
1240 static int rs_ioctl(struct tty_struct *tty, rs_ioctl() argument
1329 static void rs_set_termios(struct tty_struct *tty, struct ktermios *old_termios) rs_set_termios() argument
1389 static void rs_close(struct tty_struct *tty, struct file * filp) rs_close() argument
1434 static void rs_wait_until_sent(struct tty_struct *tty, int timeout) rs_wait_until_sent() argument
1497 static void rs_hangup(struct tty_struct *tty) rs_hangup() argument
1518 static int rs_open(struct tty_struct *tty, struct file * filp) rs_open() argument
H A Disicom.c408 struct tty_struct *tty; isicom_tx() local
519 struct tty_struct *tty; isicom_interrupt() local
683 static void isicom_config_port(struct tty_struct *tty) isicom_config_port() argument
811 static int isicom_activate(struct tty_port *tport, struct tty_struct *tty) isicom_activate() argument
844 static struct tty_port *isicom_find_port(struct tty_struct *tty) isicom_find_port() argument
868 static int isicom_open(struct tty_struct *tty, struct file *filp) isicom_open() argument
899 static void isicom_flush_buffer(struct tty_struct *tty) isicom_flush_buffer() argument
931 static void isicom_close(struct tty_struct *tty, struct file *filp) isicom_close() argument
946 static int isicom_write(struct tty_struct *tty, const unsigned char *buf, isicom_write() argument
980 static int isicom_put_char(struct tty_struct *tty, unsigned char ch) isicom_put_char() argument
1003 static void isicom_flush_chars(struct tty_struct *tty) isicom_flush_chars() argument
1020 static int isicom_write_room(struct tty_struct *tty) isicom_write_room() argument
1035 static int isicom_chars_in_buffer(struct tty_struct *tty) isicom_chars_in_buffer() argument
1044 static int isicom_send_break(struct tty_struct *tty, int length) isicom_send_break() argument
1065 static int isicom_tiocmget(struct tty_struct *tty) isicom_tiocmget() argument
1082 static int isicom_tiocmset(struct tty_struct *tty, isicom_tiocmset() argument
1106 static int isicom_set_serial_info(struct tty_struct *tty, isicom_set_serial_info() argument
1167 static int isicom_ioctl(struct tty_struct *tty, isicom_ioctl() argument
1190 static void isicom_set_termios(struct tty_struct *tty, isicom_set_termios() argument
1215 static void isicom_throttle(struct tty_struct *tty) isicom_throttle() argument
1229 static void isicom_unthrottle(struct tty_struct *tty) isicom_unthrottle() argument
1243 static void isicom_stop(struct tty_struct *tty) isicom_stop() argument
1256 static void isicom_start(struct tty_struct *tty) isicom_start() argument
1268 static void isicom_hangup(struct tty_struct *tty) isicom_hangup() argument
H A Dmips_ejtag_fdc.c421 struct tty_struct *tty; mips_ejtag_fdc_put_chan() local
772 static int mips_ejtag_fdc_tty_open(struct tty_struct *tty, struct file *filp) mips_ejtag_fdc_tty_open() argument
777 static void mips_ejtag_fdc_tty_close(struct tty_struct *tty, struct file *filp) mips_ejtag_fdc_tty_close() argument
782 static void mips_ejtag_fdc_tty_hangup(struct tty_struct *tty) mips_ejtag_fdc_tty_hangup() argument
801 static int mips_ejtag_fdc_tty_write(struct tty_struct *tty, mips_ejtag_fdc_tty_write() argument
845 static int mips_ejtag_fdc_tty_write_room(struct tty_struct *tty) mips_ejtag_fdc_tty_write_room() argument
859 static int mips_ejtag_fdc_tty_chars_in_buffer(struct tty_struct *tty) mips_ejtag_fdc_tty_chars_in_buffer() argument
697 mips_ejtag_fdc_tty_port_activate(struct tty_port *port, struct tty_struct *tty) mips_ejtag_fdc_tty_port_activate() argument
763 mips_ejtag_fdc_tty_install(struct tty_driver *driver, struct tty_struct *tty) mips_ejtag_fdc_tty_install() argument
H A Dmoxa.c291 static int moxa_ioctl(struct tty_struct *tty, moxa_ioctl() argument
399 static int moxa_break_ctl(struct tty_struct *tty, int state) moxa_break_ctl() argument
1168 static int moxa_open(struct tty_struct *tty, struct file *filp) moxa_open() argument
1210 static void moxa_close(struct tty_struct *tty, struct file *filp) moxa_close() argument
1217 static int moxa_write(struct tty_struct *tty, moxa_write() argument
1235 static int moxa_write_room(struct tty_struct *tty) moxa_write_room() argument
1247 static void moxa_flush_buffer(struct tty_struct *tty) moxa_flush_buffer() argument
1257 static int moxa_chars_in_buffer(struct tty_struct *tty) moxa_chars_in_buffer() argument
1272 static int moxa_tiocmget(struct tty_struct *tty) moxa_tiocmget() argument
1292 static int moxa_tiocmset(struct tty_struct *tty, moxa_tiocmset() argument
1319 static void moxa_set_termios(struct tty_struct *tty, moxa_set_termios() argument
1331 static void moxa_stop(struct tty_struct *tty) moxa_stop() argument
1342 static void moxa_start(struct tty_struct *tty) moxa_start() argument
1356 static void moxa_hangup(struct tty_struct *tty) moxa_hangup() argument
1381 struct tty_struct *tty = tty_port_tty_get(&p->port); moxa_poll_port() local
1479 static void moxa_set_tty_param(struct tty_struct *tty, struct ktermios *old_termios) moxa_set_tty_param() argument
1874 static int MoxaPortWriteData(struct tty_struct *tty, MoxaPortWriteData() argument
1935 struct tty_struct *tty = port->port.tty; MoxaPortReadData() local
H A Dn_tty.c156 static inline int tty_put_user(struct tty_struct *tty, unsigned char x, tty_put_user() argument
165 static inline int tty_copy_to_user(struct tty_struct *tty, tty_copy_to_user() argument
188 static void n_tty_kick_worker(struct tty_struct *tty) n_tty_kick_worker() argument
208 static ssize_t chars_in_buffer(struct tty_struct *tty) chars_in_buffer() argument
229 static void n_tty_write_wakeup(struct tty_struct *tty) n_tty_write_wakeup() argument
235 static void n_tty_check_throttle(struct tty_struct *tty) n_tty_check_throttle() argument
259 static void n_tty_check_unthrottle(struct tty_struct *tty) n_tty_check_unthrottle() argument
335 static void n_tty_packet_mode_flush(struct tty_struct *tty) n_tty_packet_mode_flush() argument
361 static void n_tty_flush_buffer(struct tty_struct *tty) n_tty_flush_buffer() argument
382 static ssize_t n_tty_chars_in_buffer(struct tty_struct *tty) n_tty_chars_in_buffer() argument
416 static inline int is_continuation(unsigned char c, struct tty_struct *tty) is_continuation() argument
443 static int do_output_char(unsigned char c, struct tty_struct *tty, int space) do_output_char() argument
518 static int process_output(unsigned char c, struct tty_struct *tty) process_output() argument
554 static ssize_t process_output_block(struct tty_struct *tty, process_output_block() argument
638 static size_t __process_echoes(struct tty_struct *tty) __process_echoes() argument
773 static void commit_echoes(struct tty_struct *tty) commit_echoes() argument
799 static void process_echoes(struct tty_struct *tty) process_echoes() argument
817 static void flush_echoes(struct tty_struct *tty) flush_echoes() argument
935 static void echo_char(unsigned char c, struct tty_struct *tty) echo_char() argument
975 static void eraser(unsigned char c, struct tty_struct *tty) eraser() argument
999 echo_char(KILL_CHAR(tty), tty); eraser() local
1045 echo_char(ERASE_CHAR(tty), tty); eraser() local
1107 static void __isig(int sig, struct tty_struct *tty) __isig() argument
1116 static void isig(int sig, struct tty_struct *tty) isig() argument
1164 static void n_tty_receive_break(struct tty_struct *tty) n_tty_receive_break() argument
1194 static void n_tty_receive_overrun(struct tty_struct *tty) n_tty_receive_overrun() argument
1220 static void n_tty_receive_parity_error(struct tty_struct *tty, unsigned char c) n_tty_receive_parity_error() argument
1238 n_tty_receive_signal_char(struct tty_struct *tty, int signal, unsigned char c) n_tty_receive_signal_char() argument
1268 n_tty_receive_char_special(struct tty_struct *tty, unsigned char c) n_tty_receive_char_special() argument
1336 echo_char(read_buf(ldata, tail), tty); n_tty_receive_char_special() local
1404 n_tty_receive_char_inline(struct tty_struct *tty, unsigned char c) n_tty_receive_char_inline() argument
1426 static void n_tty_receive_char(struct tty_struct *tty, unsigned char c) n_tty_receive_char() argument
1432 n_tty_receive_char_fast(struct tty_struct *tty, unsigned char c) n_tty_receive_char_fast() argument
1451 static void n_tty_receive_char_closing(struct tty_struct *tty, unsigned char c) n_tty_receive_char_closing() argument
1472 n_tty_receive_char_flagged(struct tty_struct *tty, unsigned char c, char flag) n_tty_receive_char_flagged() argument
1493 n_tty_receive_char_lnext(struct tty_struct *tty, unsigned char c, char flag) n_tty_receive_char_lnext() argument
1509 n_tty_receive_buf_real_raw(struct tty_struct *tty, const unsigned char *cp, n_tty_receive_buf_real_raw() argument
1529 n_tty_receive_buf_raw(struct tty_struct *tty, const unsigned char *cp, n_tty_receive_buf_raw() argument
1546 n_tty_receive_buf_closing(struct tty_struct *tty, const unsigned char *cp, n_tty_receive_buf_closing() argument
1562 n_tty_receive_buf_standard(struct tty_struct *tty, const unsigned char *cp, n_tty_receive_buf_standard() argument
1596 n_tty_receive_buf_fast(struct tty_struct *tty, const unsigned char *cp, n_tty_receive_buf_fast() argument
1621 static void __receive_buf(struct tty_struct *tty, const unsigned char *cp, __receive_buf() argument
1699 n_tty_receive_buf_common(struct tty_struct *tty, const unsigned char *cp, n_tty_receive_buf_common() argument
1768 static void n_tty_receive_buf(struct tty_struct *tty, const unsigned char *cp, n_tty_receive_buf() argument
1774 static int n_tty_receive_buf2(struct tty_struct *tty, const unsigned char *cp, n_tty_receive_buf2() argument
1800 static void n_tty_set_termios(struct tty_struct *tty, struct ktermios *old) n_tty_set_termios() argument
1894 static void n_tty_close(struct tty_struct *tty) n_tty_close() argument
1915 static int n_tty_open(struct tty_struct *tty) n_tty_open() argument
1947 static inline int input_available_p(struct tty_struct *tty, int poll) input_available_p() argument
1978 static int copy_from_read_buf(struct tty_struct *tty, copy_from_read_buf() argument
2033 static int canon_copy_from_read_buf(struct tty_struct *tty, canon_copy_from_read_buf() argument
2123 static int job_control(struct tty_struct *tty, struct file *file) job_control() argument
2156 static ssize_t n_tty_read(struct tty_struct *tty, struct file *file, n_tty_read() argument
2331 static ssize_t n_tty_write(struct tty_struct *tty, struct file *file, n_tty_write() argument
2432 static unsigned int n_tty_poll(struct tty_struct *tty, struct file *file, n_tty_poll() argument
2485 static int n_tty_ioctl(struct tty_struct *tty, struct file *file, n_tty_ioctl() argument
2507 static void n_tty_fasync(struct tty_struct *tty, int on) n_tty_fasync() argument
H A Dnozomi.c418 static inline struct nozomi *get_dc_by_tty(const struct tty_struct *tty) get_dc_by_tty() argument
423 static inline struct port *get_port_by_tty(const struct tty_struct *tty) get_port_by_tty() argument
823 struct tty_struct *tty = tty_port_tty_get(&port->port); receive_data() local
1562 static void set_rts(const struct tty_struct *tty, int rts) set_rts() argument
1571 static void set_dtr(const struct tty_struct *tty, int dtr) set_dtr() argument
1588 static int ntty_install(struct tty_driver *driver, struct tty_struct *tty) ntty_install() argument
1601 static void ntty_cleanup(struct tty_struct *tty) ntty_cleanup() argument
1606 static int ntty_activate(struct tty_port *tport, struct tty_struct *tty) ntty_activate() argument
1622 static int ntty_open(struct tty_struct *tty, struct file *filp) ntty_open() argument
1643 static void ntty_close(struct tty_struct *tty, struct file *filp) ntty_close() argument
1650 static void ntty_hangup(struct tty_struct *tty) ntty_hangup() argument
1660 static int ntty_write(struct tty_struct *tty, const unsigned char *buffer, ntty_write() argument
1702 static int ntty_write_room(struct tty_struct *tty) ntty_write_room() argument
1715 static int ntty_tiocmget(struct tty_struct *tty) ntty_tiocmget() argument
1732 static int ntty_tiocmset(struct tty_struct *tty, ntty_tiocmset() argument
1769 static int ntty_tiocgicount(struct tty_struct *tty, ntty_tiocgicount() argument
1789 static int ntty_ioctl(struct tty_struct *tty, ntty_ioctl() argument
1817 static void ntty_unthrottle(struct tty_struct *tty) ntty_unthrottle() argument
1834 static void ntty_throttle(struct tty_struct *tty) ntty_throttle() argument
1846 static s32 ntty_chars_in_buffer(struct tty_struct *tty) ntty_chars_in_buffer() argument
H A Drocket.c427 struct tty_struct *tty; rp_do_transmit() local
705 static void configure_r_port(struct tty_struct *tty, struct r_port *info, configure_r_port() argument
881 static int rp_open(struct tty_struct *tty, struct file *filp) rp_open() argument
984 static void rp_close(struct tty_struct *tty, struct file *filp) rp_close() argument
1063 static void rp_set_termios(struct tty_struct *tty, rp_set_termios() argument
1104 static int rp_break(struct tty_struct *tty, int break_state) rp_break() argument
1150 static int rp_tiocmget(struct tty_struct *tty) rp_tiocmget() argument
1170 static int rp_tiocmset(struct tty_struct *tty, rp_tiocmset() argument
1208 static int set_config(struct tty_struct *tty, struct r_port *info, set_config() argument
1307 static int rp_ioctl(struct tty_struct *tty, rp_ioctl() argument
1343 static void rp_send_xchar(struct tty_struct *tty, char ch) rp_send_xchar() argument
1358 static void rp_throttle(struct tty_struct *tty) rp_throttle() argument
1376 static void rp_unthrottle(struct tty_struct *tty) rp_unthrottle() argument
1401 static void rp_stop(struct tty_struct *tty) rp_stop() argument
1417 static void rp_start(struct tty_struct *tty) rp_start() argument
1437 static void rp_wait_until_sent(struct tty_struct *tty, int timeout) rp_wait_until_sent() argument
1491 static void rp_hangup(struct tty_struct *tty) rp_hangup() argument
1531 static int rp_put_char(struct tty_struct *tty, unsigned char ch) rp_put_char() argument
1577 static int rp_write(struct tty_struct *tty, rp_write() argument
1671 static int rp_write_room(struct tty_struct *tty) rp_write_room() argument
1692 static int rp_chars_in_buffer(struct tty_struct *tty) rp_chars_in_buffer() argument
1710 static void rp_flush_buffer(struct tty_struct *tty) rp_flush_buffer() argument
H A Dtty_io.c171 void free_tty_struct(struct tty_struct *tty) free_tty_struct() argument
200 void tty_add_file(struct tty_struct *tty, struct file *file) tty_add_file() argument
250 const char *tty_name(const struct tty_struct *tty) tty_name() argument
259 int tty_paranoia_check(struct tty_struct *tty, struct inode *inode, tty_paranoia_check() argument
280 static int check_tty_count(struct tty_struct *tty, const char *routine) check_tty_count() argument
393 int __tty_check_change(struct tty_struct *tty, int sig) __tty_check_change() argument
431 int tty_check_change(struct tty_struct *tty) tty_check_change() argument
508 struct tty_struct *tty; proc_clear_tty() local
526 static void __proc_set_tty(struct tty_struct *tty) __proc_set_tty() argument
550 static void proc_set_tty(struct tty_struct *tty) proc_set_tty() argument
559 struct tty_struct *tty; get_current_tty() local
586 void tty_wakeup(struct tty_struct *tty) tty_wakeup() argument
615 static int tty_signal_session_leader(struct tty_struct *tty, int exit_session) tty_signal_session_leader() argument
679 static void __tty_hangup(struct tty_struct *tty, int exit_session) __tty_hangup() argument
768 struct tty_struct *tty = do_tty_hangup() local
782 void tty_hangup(struct tty_struct *tty) tty_hangup() argument
799 void tty_vhangup(struct tty_struct *tty) tty_vhangup() argument
816 struct tty_struct *tty; tty_vhangup_self() local
836 static void tty_vhangup_session(struct tty_struct *tty) tty_vhangup_session() argument
884 struct tty_struct *tty; disassociate_ctty() local
974 void __stop_tty(struct tty_struct *tty) __stop_tty() argument
983 void stop_tty(struct tty_struct *tty) stop_tty() argument
1005 void __start_tty(struct tty_struct *tty) __start_tty() argument
1015 void start_tty(struct tty_struct *tty) start_tty() argument
1059 struct tty_struct *tty = file_tty(file); tty_read() local
1082 static void tty_write_unlock(struct tty_struct *tty) tty_write_unlock() argument
1088 static int tty_write_lock(struct tty_struct *tty, int ndelay) tty_write_lock() argument
1198 void tty_write_message(struct tty_struct *tty, char *msg) tty_write_message() argument
1231 struct tty_struct *tty = file_tty(file); tty_write() local
1280 int tty_send_xchar(struct tty_struct *tty, char ch) tty_send_xchar() argument
1360 struct tty_struct *tty; tty_driver_lookup_tty() local
1380 int tty_init_termios(struct tty_struct *tty) tty_init_termios() argument
1402 int tty_standard_install(struct tty_driver *driver, struct tty_struct *tty) tty_standard_install() argument
1444 void tty_driver_remove_tty(struct tty_driver *driver, struct tty_struct *tty) tty_driver_remove_tty() argument
1461 static int tty_reopen(struct tty_struct *tty) tty_reopen() argument
1508 struct tty_struct *tty; tty_init_dev() local
1570 void tty_free_termios(struct tty_struct *tty) tty_free_termios() argument
1599 static void tty_flush_works(struct tty_struct *tty) tty_flush_works() argument
1626 struct tty_struct *tty = release_one_tty() local
1649 struct tty_struct *tty = container_of(kref, struct tty_struct, kref); queue_release_one_tty() local
1665 void tty_kref_put(struct tty_struct *tty) tty_kref_put() argument
1684 static void release_tty(struct tty_struct *tty, int idx) release_tty() argument
1711 static int tty_release_checks(struct tty_struct *tty, int idx) tty_release_checks() argument
1766 struct tty_struct *tty = file_tty(filp); tty_release() local
1937 struct tty_struct *tty; tty_open_current_tty() local
2036 struct tty_struct *tty; tty_open() local
2193 struct tty_struct *tty = file_tty(filp); tty_poll() local
2209 struct tty_struct *tty = file_tty(filp); __tty_fasync() local
2252 struct tty_struct *tty = file_tty(filp); tty_fasync() local
2279 static int tiocsti(struct tty_struct *tty, char __user *p) tiocsti() argument
2306 static int tiocgwinsz(struct tty_struct *tty, struct winsize __user *arg) tiocgwinsz() argument
2327 int tty_do_resize(struct tty_struct *tty, struct winsize *ws) tty_do_resize() argument
2364 static int tiocswinsz(struct tty_struct *tty, struct winsize __user *arg) tiocswinsz() argument
2451 static int tiocsctty(struct tty_struct *tty, struct file *file, int arg) tiocsctty() argument
2507 struct pid *tty_get_pgrp(struct tty_struct *tty) tty_get_pgrp() argument
2553 static int tiocgpgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) tiocgpgrp() argument
2581 static int tiocspgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) tiocspgrp() argument
2629 static int tiocgsid(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) tiocgsid() argument
2652 static int tiocsetd(struct tty_struct *tty, int __user *p) tiocsetd() argument
2676 static int tiocgetd(struct tty_struct *tty, int __user *p) tiocgetd() argument
2700 static int send_break(struct tty_struct *tty, unsigned int duration) send_break() argument
2739 static int tty_tiocmget(struct tty_struct *tty, int __user *p) tty_tiocmget() argument
2764 static int tty_tiocmset(struct tty_struct *tty, unsigned int cmd, tty_tiocmset() argument
2794 static int tty_tiocgicount(struct tty_struct *tty, void __user *arg) tty_tiocgicount() argument
2830 static struct tty_struct *tty_pair_get_tty(struct tty_struct *tty) tty_pair_get_tty() argument
2843 struct tty_struct *tty = file_tty(file); tty_ioctl() local
2993 struct tty_struct *tty = file_tty(file); tty_compat_ioctl() local
3043 void __do_SAK(struct tty_struct *tty) __do_SAK() argument
3095 struct tty_struct *tty = do_SAK_work() local
3106 void do_SAK(struct tty_struct *tty) do_SAK() argument
3122 static struct device *tty_get_device(struct tty_struct *tty) tty_get_device() argument
3139 struct tty_struct *tty; alloc_tty_struct() local
3182 void deinitialize_tty_struct(struct tty_struct *tty) deinitialize_tty_struct() argument
3199 int tty_put_char(struct tty_struct *tty, unsigned char ch) tty_put_char() argument
3559 dev_t tty_devnum(struct tty_struct *tty) tty_devnum() argument
1103 do_tty_write( ssize_t (write)struct tty_struct *, struct file *, const unsigned char *, size_t), struct tty_struct *tty, struct file *file, const char __user *buf, size_t count) do_tty_write() argument
1427 tty_driver_install_tty(struct tty_driver *driver, struct tty_struct *tty) tty_driver_install_tty() argument
H A Dcyclades.c486 struct tty_struct *tty = cyy_chip_rx() local
572 struct tty_struct *tty; cyy_chip_tx() local
685 struct tty_struct *tty; cyy_chip_modem() local
1013 struct tty_struct *tty; cyz_handle_tx() local
1265 static int cy_startup(struct cyclades_port *info, struct tty_struct *tty) cy_startup() argument
1422 static void cy_shutdown(struct cyclades_port *info, struct tty_struct *tty) cy_shutdown() argument
1496 static int cy_open(struct tty_struct *tty, struct file *filp) cy_open() argument
1607 static void cy_wait_until_sent(struct tty_struct *tty, int timeout) cy_wait_until_sent() argument
1663 static void cy_flush_buffer(struct tty_struct *tty) cy_flush_buffer() argument
1747 static void cy_close(struct tty_struct *tty, struct file *filp) cy_close() argument
1768 static int cy_write(struct tty_struct *tty, const unsigned char *buf, int count) cy_write() argument
1818 static int cy_put_char(struct tty_struct *tty, unsigned char ch) cy_put_char() argument
1852 static void cy_flush_chars(struct tty_struct *tty) cy_flush_chars() argument
1876 static int cy_write_room(struct tty_struct *tty) cy_write_room() argument
1893 static int cy_chars_in_buffer(struct tty_struct *tty) cy_chars_in_buffer() argument
1965 static void cy_set_line_char(struct cyclades_port *info, struct tty_struct *tty) cy_set_line_char() argument
2305 cy_set_serial_info(struct cyclades_port *info, struct tty_struct *tty, cy_set_serial_info() argument
2384 static int cy_tiocmget(struct tty_struct *tty) cy_tiocmget() argument
2438 cy_tiocmset(struct tty_struct *tty, cy_tiocmset() argument
2494 static int cy_break(struct tty_struct *tty, int break_state) cy_break() argument
2635 cy_ioctl(struct tty_struct *tty, cy_ioctl() argument
2757 static int cy_get_icount(struct tty_struct *tty, cy_get_icount() argument
2788 static void cy_set_termios(struct tty_struct *tty, struct ktermios *old_termios) cy_set_termios() argument
2819 static void cy_send_xchar(struct tty_struct *tty, char ch) cy_send_xchar() argument
2848 static void cy_throttle(struct tty_struct *tty) cy_throttle() argument
2887 static void cy_unthrottle(struct tty_struct *tty) cy_unthrottle() argument
2923 static void cy_stop(struct tty_struct *tty) cy_stop() argument
2947 static void cy_start(struct tty_struct *tty) cy_start() argument
2974 static void cy_hangup(struct tty_struct *tty) cy_hangup() argument
3966 struct tty_struct *tty; cyclades_proc_show() local
H A Dmxser.c571 static int mxser_set_baud(struct tty_struct *tty, long newspd) mxser_set_baud() argument
638 static int mxser_change_speed(struct tty_struct *tty, mxser_change_speed() argument
813 static void mxser_check_modem_status(struct tty_struct *tty, mxser_check_modem_status() argument
862 static int mxser_activate(struct tty_port *port, struct tty_struct *tty) mxser_activate() argument
1004 static int mxser_open(struct tty_struct *tty, struct file *filp) mxser_open() argument
1020 static void mxser_flush_buffer(struct tty_struct *tty) mxser_flush_buffer() argument
1075 static void mxser_close(struct tty_struct *tty, struct file *filp) mxser_close() argument
1100 static int mxser_write(struct tty_struct *tty, const unsigned char *buf, int count) mxser_write() argument
1142 static int mxser_put_char(struct tty_struct *tty, unsigned char ch) mxser_put_char() argument
1173 static void mxser_flush_chars(struct tty_struct *tty) mxser_flush_chars() argument
1192 static int mxser_write_room(struct tty_struct *tty) mxser_write_room() argument
1201 static int mxser_chars_in_buffer(struct tty_struct *tty) mxser_chars_in_buffer() argument
1212 static int mxser_get_serial_info(struct tty_struct *tty, mxser_get_serial_info() argument
1233 static int mxser_set_serial_info(struct tty_struct *tty, mxser_set_serial_info() argument
1325 static int mxser_tiocmget(struct tty_struct *tty) mxser_tiocmget() argument
1352 static int mxser_tiocmset(struct tty_struct *tty, mxser_tiocmset() argument
1488 struct tty_struct *tty; mxser_ioctl_special() local
1663 static int mxser_ioctl(struct tty_struct *tty, mxser_ioctl() argument
1824 static int mxser_get_icount(struct tty_struct *tty, mxser_get_icount() argument
1850 static void mxser_stoprx(struct tty_struct *tty) mxser_stoprx() argument
1877 static void mxser_throttle(struct tty_struct *tty) mxser_throttle() argument
1882 static void mxser_unthrottle(struct tty_struct *tty) mxser_unthrottle() argument
1916 static void mxser_stop(struct tty_struct *tty) mxser_stop() argument
1929 static void mxser_start(struct tty_struct *tty) mxser_start() argument
1943 static void mxser_set_termios(struct tty_struct *tty, struct ktermios *old_termios) mxser_set_termios() argument
1977 static void mxser_wait_until_sent(struct tty_struct *tty, int timeout) mxser_wait_until_sent() argument
2034 static void mxser_hangup(struct tty_struct *tty) mxser_hangup() argument
2045 static int mxser_rs_break(struct tty_struct *tty, int break_state) mxser_rs_break() argument
2061 static void mxser_receive_chars(struct tty_struct *tty, mxser_receive_chars() argument
2163 static void mxser_transmit_chars(struct tty_struct *tty, struct mxser_port *port) mxser_transmit_chars() argument
2224 struct tty_struct *tty; mxser_interrupt() local
H A Dn_gsm.c195 struct tty_struct *tty; /* The tty our ldisc is bound to */ member in struct:gsm_mux
1027 static void gsm_process_modem(struct tty_struct *tty, struct gsm_dlci *dlci, gsm_process_modem() argument
1097 struct tty_struct *tty; gsm_control_modem() local
1555 struct tty_struct *tty; gsm_dlci_data() local
1713 struct tty_struct *tty = tty_port_tty_get(&dlci->port); gsm_dlci_release() local
2231 static int gsmld_attach_gsm(struct tty_struct *tty, struct gsm_mux *gsm) gsmld_attach_gsm() argument
2259 static void gsmld_detach_gsm(struct tty_struct *tty, struct gsm_mux *gsm) gsmld_detach_gsm() argument
2272 static void gsmld_receive_buf(struct tty_struct *tty, const unsigned char *cp, gsmld_receive_buf() argument
2318 static ssize_t gsmld_chars_in_buffer(struct tty_struct *tty) gsmld_chars_in_buffer() argument
2332 static void gsmld_flush_buffer(struct tty_struct *tty) gsmld_flush_buffer() argument
2346 static void gsmld_close(struct tty_struct *tty) gsmld_close() argument
2367 static int gsmld_open(struct tty_struct *tty) gsmld_open() argument
2403 static void gsmld_write_wakeup(struct tty_struct *tty) gsmld_write_wakeup() argument
2433 static ssize_t gsmld_read(struct tty_struct *tty, struct file *file, gsmld_read() argument
2453 static ssize_t gsmld_write(struct tty_struct *tty, struct file *file, gsmld_write() argument
2477 static unsigned int gsmld_poll(struct tty_struct *tty, struct file *file, gsmld_poll() argument
2494 static int gsmld_config(struct tty_struct *tty, struct gsm_mux *gsm, gsmld_config() argument
2577 static int gsmld_ioctl(struct tty_struct *tty, struct file *file, gsmld_ioctl() argument
2901 static int gsmtty_install(struct tty_driver *driver, struct tty_struct *tty) gsmtty_install() argument
2957 static int gsmtty_open(struct tty_struct *tty, struct file *filp) gsmtty_open() argument
2975 static void gsmtty_close(struct tty_struct *tty, struct file *filp) gsmtty_close() argument
3000 static void gsmtty_hangup(struct tty_struct *tty) gsmtty_hangup() argument
3009 static int gsmtty_write(struct tty_struct *tty, const unsigned char *buf, gsmtty_write() argument
3023 static int gsmtty_write_room(struct tty_struct *tty) gsmtty_write_room() argument
3031 static int gsmtty_chars_in_buffer(struct tty_struct *tty) gsmtty_chars_in_buffer() argument
3039 static void gsmtty_flush_buffer(struct tty_struct *tty) gsmtty_flush_buffer() argument
3052 static void gsmtty_wait_until_sent(struct tty_struct *tty, int timeout) gsmtty_wait_until_sent() argument
3059 static int gsmtty_tiocmget(struct tty_struct *tty) gsmtty_tiocmget() argument
3067 static int gsmtty_tiocmset(struct tty_struct *tty, gsmtty_tiocmset() argument
3086 static int gsmtty_ioctl(struct tty_struct *tty, gsmtty_ioctl() argument
3119 static void gsmtty_set_termios(struct tty_struct *tty, struct ktermios *old) gsmtty_set_termios() argument
3132 static void gsmtty_throttle(struct tty_struct *tty) gsmtty_throttle() argument
3144 static void gsmtty_unthrottle(struct tty_struct *tty) gsmtty_unthrottle() argument
3156 static int gsmtty_break_ctl(struct tty_struct *tty, int state) gsmtty_break_ctl() argument
3174 static void gsmtty_cleanup(struct tty_struct *tty) gsmtty_cleanup() argument
H A Dsynclink_gt.c632 static void ldisc_receive_buf(struct tty_struct *tty, ldisc_receive_buf() argument
648 static int open(struct tty_struct *tty, struct file *filp) open() argument
717 static void close(struct tty_struct *tty, struct file *filp) close() argument
743 static void hangup(struct tty_struct *tty) hangup() argument
767 static void set_termios(struct tty_struct *tty, struct ktermios *old_termios) set_termios() argument
818 static int write(struct tty_struct *tty, write() argument
854 static int put_char(struct tty_struct *tty, unsigned char ch) put_char() argument
874 static void send_xchar(struct tty_struct *tty, char ch) send_xchar() argument
891 static void wait_until_sent(struct tty_struct *tty, int timeout) wait_until_sent() argument
933 static int write_room(struct tty_struct *tty) write_room() argument
945 static void flush_chars(struct tty_struct *tty) flush_chars() argument
966 static void flush_buffer(struct tty_struct *tty) flush_buffer() argument
985 static void tx_hold(struct tty_struct *tty) tx_hold() argument
1002 static void tx_release(struct tty_struct *tty) tx_release() argument
1027 static int ioctl(struct tty_struct *tty, ioctl() argument
1103 static int get_icount(struct tty_struct *tty, get_icount() argument
1191 static long slgt_compat_ioctl(struct tty_struct *tty, slgt_compat_ioctl() argument
1341 static int chars_in_buffer(struct tty_struct *tty) chars_in_buffer() argument
1355 static void throttle(struct tty_struct * tty) throttle() argument
1376 static void unthrottle(struct tty_struct * tty) unthrottle() argument
1402 static int set_break(struct tty_struct *tty, int break_state) set_break() argument
1999 struct tty_struct *tty = info->port.tty; bh_transmit() local
3185 static int tiocmget(struct tty_struct *tty) tiocmget() argument
3213 static int tiocmset(struct tty_struct *tty, tiocmset() argument
3265 static int block_til_ready(struct tty_struct *tty, struct file *filp, block_til_ready() argument
4651 struct tty_struct *tty = info->port.tty; rx_get_frame() local
H A Dsynclinkmp.c697 static void ldisc_receive_buf(struct tty_struct *tty, ldisc_receive_buf() argument
713 static int install(struct tty_driver *driver, struct tty_struct *tty) install() argument
743 static int open(struct tty_struct *tty, struct file *filp) open() argument
800 static void close(struct tty_struct *tty, struct file *filp) close() argument
834 static void hangup(struct tty_struct *tty) hangup() argument
862 static void set_termios(struct tty_struct *tty, struct ktermios *old_termios) set_termios() argument
913 static int write(struct tty_struct *tty, write() argument
993 static int put_char(struct tty_struct *tty, unsigned char ch) put_char() argument
1030 static void send_xchar(struct tty_struct *tty, char ch) send_xchar() argument
1054 static void wait_until_sent(struct tty_struct *tty, int timeout) wait_until_sent() argument
1120 static int write_room(struct tty_struct *tty) write_room() argument
1145 static void flush_chars(struct tty_struct *tty) flush_chars() argument
1184 static void flush_buffer(struct tty_struct *tty) flush_buffer() argument
1206 static void tx_hold(struct tty_struct *tty) tx_hold() argument
1226 static void tx_release(struct tty_struct *tty) tx_release() argument
1254 static int ioctl(struct tty_struct *tty, ioctl() argument
1312 static int get_icount(struct tty_struct *tty, get_icount() argument
1444 static int chars_in_buffer(struct tty_struct *tty) chars_in_buffer() argument
1460 static void throttle(struct tty_struct * tty) throttle() argument
1485 static void unthrottle(struct tty_struct * tty) unthrottle() argument
1515 static int set_break(struct tty_struct *tty, int break_state) set_break() argument
2053 struct tty_struct *tty = info->port.tty; bh_transmit() local
2103 struct tty_struct *tty = info->port.tty; isr_rxint() local
3200 static int tiocmget(struct tty_struct *tty) tiocmget() argument
3225 static int tiocmset(struct tty_struct *tty, tiocmset() argument
3279 static int block_til_ready(struct tty_struct *tty, struct file *filp, block_til_ready() argument
4841 struct tty_struct *tty = info->port.tty; rx_get_frame() local
H A Dsynclink.c956 static void ldisc_receive_buf(struct tty_struct *tty, ldisc_receive_buf() argument
975 static void mgsl_stop(struct tty_struct *tty) mgsl_stop() argument
998 static void mgsl_start(struct tty_struct *tty) mgsl_start() argument
1120 struct tty_struct *tty = info->port.tty; mgsl_bh_transmit() local
2011 static int mgsl_put_char(struct tty_struct *tty, unsigned char ch) mgsl_put_char() argument
2051 static void mgsl_flush_chars(struct tty_struct *tty) mgsl_flush_chars() argument
2101 static int mgsl_write(struct tty_struct * tty, mgsl_write() argument
2225 static int mgsl_write_room(struct tty_struct *tty) mgsl_write_room() argument
2260 static int mgsl_chars_in_buffer(struct tty_struct *tty) mgsl_chars_in_buffer() argument
2294 static void mgsl_flush_buffer(struct tty_struct *tty) mgsl_flush_buffer() argument
2322 static void mgsl_send_xchar(struct tty_struct *tty, char ch) mgsl_send_xchar() argument
2351 static void mgsl_throttle(struct tty_struct * tty) mgsl_throttle() argument
2381 static void mgsl_unthrottle(struct tty_struct * tty) mgsl_unthrottle() argument
2840 static int tiocmget(struct tty_struct *tty) tiocmget() argument
2865 static int tiocmset(struct tty_struct *tty, tiocmset() argument
2897 static int mgsl_break(struct tty_struct *tty, int break_state) mgsl_break() argument
2925 static int msgl_get_icount(struct tty_struct *tty, msgl_get_icount() argument
2961 static int mgsl_ioctl(struct tty_struct *tty, mgsl_ioctl() argument
3030 static void mgsl_set_termios(struct tty_struct *tty, struct ktermios *old_termios) mgsl_set_termios() argument
3084 static void mgsl_close(struct tty_struct *tty, struct file * filp) mgsl_close() argument
3126 static void mgsl_wait_until_sent(struct tty_struct *tty, int timeout) mgsl_wait_until_sent() argument
3197 static void mgsl_hangup(struct tty_struct *tty) mgsl_hangup() argument
3264 static int block_til_ready(struct tty_struct *tty, struct file * filp, block_til_ready() argument
3355 static int mgsl_install(struct tty_driver *driver, struct tty_struct *tty) mgsl_install() argument
3388 static int mgsl_open(struct tty_struct *tty, struct file * filp) mgsl_open() argument
6520 struct tty_struct *tty = info->port.tty; mgsl_get_rx_frame() local
6718 struct tty_struct *tty = info->port.tty; mgsl_get_raw_rx_frame() local
/linux-4.4.14/drivers/s390/char/
H A Dctrlchar.c47 ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty) ctrlchar_handle() argument
H A Dfs3270.c441 struct tty_struct *tty = get_current_tty(); fs3270_open() local
H A Dkeyboard.c462 struct tty_struct *tty; kbd_ioctl() local
H A Dsclp_tty.c64 sclp_tty_open(struct tty_struct *tty, struct file *filp) sclp_tty_open() argument
74 sclp_tty_close(struct tty_struct *tty, struct file *filp) sclp_tty_close() argument
91 sclp_tty_write_room (struct tty_struct *tty) sclp_tty_write_room() argument
238 sclp_tty_write(struct tty_struct *tty, const unsigned char *buf, int count) sclp_tty_write() argument
258 sclp_tty_put_char(struct tty_struct *tty, unsigned char ch) sclp_tty_put_char() argument
273 sclp_tty_flush_chars(struct tty_struct *tty) sclp_tty_flush_chars() argument
289 sclp_tty_chars_in_buffer(struct tty_struct *tty) sclp_tty_chars_in_buffer() argument
312 sclp_tty_flush_buffer(struct tty_struct *tty) sclp_tty_flush_buffer() argument
326 struct tty_struct *tty = tty_port_tty_get(&sclp_port); sclp_tty_input() local
H A Dsclp_vt220.c473 sclp_vt220_write(struct tty_struct *tty, const unsigned char *buf, int count) sclp_vt220_write() argument
560 sclp_vt220_open(struct tty_struct *tty, struct file *filp) sclp_vt220_open() argument
577 sclp_vt220_close(struct tty_struct *tty, struct file *filp) sclp_vt220_close() argument
590 sclp_vt220_put_char(struct tty_struct *tty, unsigned char ch) sclp_vt220_put_char() argument
600 sclp_vt220_flush_chars(struct tty_struct *tty) sclp_vt220_flush_chars() argument
615 sclp_vt220_write_room(struct tty_struct *tty) sclp_vt220_write_room() argument
635 sclp_vt220_chars_in_buffer(struct tty_struct *tty) sclp_vt220_chars_in_buffer() argument
659 sclp_vt220_flush_buffer(struct tty_struct *tty) sclp_vt220_flush_buffer() argument
H A Dcon3215.c341 struct tty_struct *tty; raw3215_wakeup() local
353 static void raw3215_next_io(struct raw3215_info *raw, struct tty_struct *tty) raw3215_next_io() argument
369 struct tty_struct *tty; raw3215_irq() local
960 static int tty3215_install(struct tty_driver *driver, struct tty_struct *tty) tty3215_install() argument
978 static int tty3215_open(struct tty_struct *tty, struct file * filp) tty3215_open() argument
1002 static void tty3215_close(struct tty_struct *tty, struct file * filp) tty3215_close() argument
1020 static int tty3215_write_room(struct tty_struct *tty) tty3215_write_room() argument
1036 static int tty3215_write(struct tty_struct * tty, tty3215_write() argument
1065 static int tty3215_put_char(struct tty_struct *tty, unsigned char ch) tty3215_put_char() argument
1076 static void tty3215_flush_chars(struct tty_struct *tty) tty3215_flush_chars() argument
1083 static int tty3215_chars_in_buffer(struct tty_struct *tty) tty3215_chars_in_buffer() argument
1091 static void tty3215_flush_buffer(struct tty_struct *tty) tty3215_flush_buffer() argument
1103 static void tty3215_throttle(struct tty_struct * tty) tty3215_throttle() argument
1114 static void tty3215_unthrottle(struct tty_struct * tty) tty3215_unthrottle() argument
1131 static void tty3215_stop(struct tty_struct *tty) tty3215_stop() argument
1142 static void tty3215_start(struct tty_struct *tty) tty3215_start() argument
H A Dtty3270.c808 struct tty_struct *tty; tty3270_resize_work() local
861 struct tty_struct *tty = tty_port_tty_get(&tp->port); tty3270_release() local
912 static int tty3270_install(struct tty_driver *driver, struct tty_struct *tty) tty3270_install() argument
992 tty3270_open(struct tty_struct *tty, struct file *filp) tty3270_open() argument
1007 tty3270_close(struct tty_struct *tty, struct file * filp) tty3270_close() argument
1019 static void tty3270_cleanup(struct tty_struct *tty) tty3270_cleanup() argument
1031 tty3270_write_room(struct tty_struct *tty) tty3270_write_room() argument
1593 tty3270_do_write(struct tty3270 *tp, struct tty_struct *tty, tty3270_do_write() argument
1667 tty3270_write(struct tty_struct * tty, tty3270_write() argument
1686 static int tty3270_put_char(struct tty_struct *tty, unsigned char ch) tty3270_put_char() argument
1702 tty3270_flush_chars(struct tty_struct *tty) tty3270_flush_chars() argument
1721 tty3270_chars_in_buffer(struct tty_struct *tty) tty3270_chars_in_buffer() argument
1727 tty3270_flush_buffer(struct tty_struct *tty) tty3270_flush_buffer() argument
1735 tty3270_set_termios(struct tty_struct *tty, struct ktermios *old) tty3270_set_termios() argument
1759 tty3270_throttle(struct tty_struct * tty) tty3270_throttle() argument
1773 tty3270_unthrottle(struct tty_struct * tty) tty3270_unthrottle() argument
1789 tty3270_hangup(struct tty_struct *tty) tty3270_hangup() argument
1795 tty3270_wait_until_sent(struct tty_struct *tty, int timeout) tty3270_wait_until_sent() argument
1799 static int tty3270_ioctl(struct tty_struct *tty, unsigned int cmd, tty3270_ioctl() argument
1813 static long tty3270_compat_ioctl(struct tty_struct *tty, tty3270_compat_ioctl() argument
/linux-4.4.14/drivers/net/irda/
H A Dirtty-sir.h29 struct tty_struct *tty; member in struct:sirtty_cb
H A Dirtty-sir.c90 struct tty_struct *tty; irtty_wait_until_sent() local
117 struct tty_struct *tty; irtty_change_speed() local
185 struct tty_struct *tty; irtty_do_write() local
219 static void irtty_receive_buf(struct tty_struct *tty, const unsigned char *cp, irtty_receive_buf() argument
259 static void irtty_write_wakeup(struct tty_struct *tty) irtty_write_wakeup() argument
278 static inline void irtty_stop_receiver(struct tty_struct *tty, int stop) irtty_stop_receiver() argument
308 struct tty_struct *tty; irtty_start_dev() local
335 struct tty_struct *tty; irtty_stop_dev() local
380 static int irtty_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) irtty_ioctl() argument
425 static int irtty_open(struct tty_struct *tty) irtty_open() argument
487 static void irtty_close(struct tty_struct *tty) irtty_close() argument
/linux-4.4.14/drivers/usb/serial/
H A Dempeg.c81 static void empeg_init_termios(struct tty_struct *tty) empeg_init_termios() argument
H A Dnavman.c69 static int navman_open(struct tty_struct *tty, struct usb_serial_port *port) navman_open() argument
90 static int navman_write(struct tty_struct *tty, struct usb_serial_port *port, navman_write() argument
H A Dusb_debug.c40 static void usb_debug_break_ctl(struct tty_struct *tty, int break_state) usb_debug_break_ctl() argument
H A Dwishbone-serial.c49 static int wishbone_serial_open(struct tty_struct *tty, wishbone_serial_open() argument
H A Dipaq.c518 static int ipaq_open(struct tty_struct *tty, ipaq_open() argument
H A Dsymbolserial.c93 static int symbol_open(struct tty_struct *tty, struct usb_serial_port *port) symbol_open() argument
118 static void symbol_throttle(struct tty_struct *tty) symbol_throttle() argument
128 static void symbol_unthrottle(struct tty_struct *tty) symbol_unthrottle() argument
H A Dconsole.c70 struct tty_struct *tty = NULL; usb_console_setup() local
H A Dcyberjack.c138 static int cyberjack_open(struct tty_struct *tty, cyberjack_open() argument
164 static int cyberjack_write(struct tty_struct *tty, cyberjack_write() argument
249 static int cyberjack_write_room(struct tty_struct *tty) cyberjack_write_room() argument
H A Dir-usb.c255 static int ir_open(struct tty_struct *tty, struct usb_serial_port *port) ir_open() argument
317 static void ir_set_termios(struct tty_struct *tty, ir_set_termios() argument
H A Dvisor.c227 static int visor_open(struct tty_struct *tty, struct usb_serial_port *port) visor_open() argument
H A Dbelkin_sa.c151 static int belkin_sa_open(struct tty_struct *tty, belkin_sa_open() argument
281 static void belkin_sa_set_termios(struct tty_struct *tty, belkin_sa_set_termios() argument
424 static void belkin_sa_break_ctl(struct tty_struct *tty, int break_state) belkin_sa_break_ctl() argument
433 static int belkin_sa_tiocmget(struct tty_struct *tty) belkin_sa_tiocmget() argument
447 static int belkin_sa_tiocmset(struct tty_struct *tty, belkin_sa_tiocmset() argument
H A Dgeneric.c80 int usb_serial_generic_open(struct tty_struct *tty, struct usb_serial_port *port) usb_serial_generic_open() argument
191 int usb_serial_generic_write(struct tty_struct *tty, usb_serial_generic_write() argument
211 int usb_serial_generic_write_room(struct tty_struct *tty) usb_serial_generic_write_room() argument
228 int usb_serial_generic_chars_in_buffer(struct tty_struct *tty) usb_serial_generic_chars_in_buffer() argument
246 void usb_serial_generic_wait_until_sent(struct tty_struct *tty, long timeout) usb_serial_generic_wait_until_sent() argument
438 void usb_serial_generic_throttle(struct tty_struct *tty) usb_serial_generic_throttle() argument
449 void usb_serial_generic_unthrottle(struct tty_struct *tty) usb_serial_generic_unthrottle() argument
464 static bool usb_serial_generic_msr_changed(struct tty_struct *tty, usb_serial_generic_msr_changed() argument
493 int usb_serial_generic_tiocmiwait(struct tty_struct *tty, unsigned long arg) usb_serial_generic_tiocmiwait() argument
513 int usb_serial_generic_get_icount(struct tty_struct *tty, usb_serial_generic_get_icount() argument
578 usb_serial_handle_dcd_change(struct usb_serial_port *usb_port, struct tty_struct *tty, unsigned int status) usb_serial_handle_dcd_change() argument
H A Dipw.c136 static int ipw_open(struct tty_struct *tty, struct usb_serial_port *port) ipw_open() argument
H A Dkl5kusb105.c252 static int klsi_105_open(struct tty_struct *tty, struct usb_serial_port *port) klsi_105_open() argument
397 static void klsi_105_set_termios(struct tty_struct *tty, klsi_105_set_termios() argument
579 static int klsi_105_tiocmget(struct tty_struct *tty) klsi_105_tiocmget() argument
H A Dkobil_sct.c159 static void kobil_init_termios(struct tty_struct *tty) kobil_init_termios() argument
169 static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port) kobil_open() argument
293 static int kobil_write(struct tty_struct *tty, struct usb_serial_port *port, kobil_write() argument
362 static int kobil_write_room(struct tty_struct *tty) kobil_write_room() argument
369 static int kobil_tiocmget(struct tty_struct *tty) kobil_tiocmget() argument
409 static int kobil_tiocmset(struct tty_struct *tty, kobil_tiocmset() argument
469 static void kobil_set_termios(struct tty_struct *tty, kobil_set_termios() argument
521 static int kobil_ioctl(struct tty_struct *tty, kobil_ioctl() argument
H A Dmct_u232.c178 static int mct_u232_set_baud_rate(struct tty_struct *tty, mct_u232_set_baud_rate() argument
413 static int mct_u232_open(struct tty_struct *tty, struct usb_serial_port *port) mct_u232_open() argument
596 static void mct_u232_set_termios(struct tty_struct *tty, mct_u232_set_termios() argument
681 static void mct_u232_break_ctl(struct tty_struct *tty, int break_state) mct_u232_break_ctl() argument
699 static int mct_u232_tiocmget(struct tty_struct *tty) mct_u232_tiocmget() argument
713 static int mct_u232_tiocmset(struct tty_struct *tty, mct_u232_tiocmset() argument
738 static void mct_u232_throttle(struct tty_struct *tty) mct_u232_throttle() argument
756 static void mct_u232_unthrottle(struct tty_struct *tty) mct_u232_unthrottle() argument
H A Dmetro-usb.c182 static int metrousb_open(struct tty_struct *tty, struct usb_serial_port *port) metrousb_open() argument
287 static void metrousb_throttle(struct tty_struct *tty) metrousb_throttle() argument
301 static int metrousb_tiocmget(struct tty_struct *tty) metrousb_tiocmget() argument
317 static int metrousb_tiocmset(struct tty_struct *tty, metrousb_tiocmset() argument
346 static void metrousb_unthrottle(struct tty_struct *tty) metrousb_unthrottle() argument
H A Domninet.c130 static int omninet_open(struct tty_struct *tty, struct usb_serial_port *port) omninet_open() argument
162 static int omninet_write(struct tty_struct *tty, struct usb_serial_port *port, omninet_write() argument
213 static int omninet_write_room(struct tty_struct *tty) omninet_write_room() argument
H A Dopticon.c128 static int opticon_open(struct tty_struct *tty, struct usb_serial_port *port) opticon_open() argument
180 static int opticon_write(struct tty_struct *tty, struct usb_serial_port *port, opticon_write() argument
263 static int opticon_write_room(struct tty_struct *tty) opticon_write_room() argument
285 static int opticon_tiocmget(struct tty_struct *tty) opticon_tiocmget() argument
303 static int opticon_tiocmset(struct tty_struct *tty, opticon_tiocmset() argument
360 static int opticon_ioctl(struct tty_struct *tty, opticon_ioctl() argument
H A Dusb_wwan.c92 int usb_wwan_tiocmget(struct tty_struct *tty) usb_wwan_tiocmget() argument
111 int usb_wwan_tiocmset(struct tty_struct *tty, usb_wwan_tiocmset() argument
191 int usb_wwan_ioctl(struct tty_struct *tty, usb_wwan_ioctl() argument
215 int usb_wwan_write(struct tty_struct *tty, struct usb_serial_port *port, usb_wwan_write() argument
356 int usb_wwan_write_room(struct tty_struct *tty) usb_wwan_write_room() argument
377 int usb_wwan_chars_in_buffer(struct tty_struct *tty) usb_wwan_chars_in_buffer() argument
399 int usb_wwan_open(struct tty_struct *tty, struct usb_serial_port *port) usb_wwan_open() argument
H A Dark3116.c207 static void ark3116_init_termios(struct tty_struct *tty) ark3116_init_termios() argument
217 static void ark3116_set_termios(struct tty_struct *tty, ark3116_set_termios() argument
353 static int ark3116_open(struct tty_struct *tty, struct usb_serial_port *port) ark3116_open() argument
403 static int ark3116_ioctl(struct tty_struct *tty, ark3116_ioctl() argument
433 static int ark3116_tiocmget(struct tty_struct *tty) ark3116_tiocmget() argument
459 static int ark3116_tiocmset(struct tty_struct *tty, ark3116_tiocmset() argument
495 static void ark3116_break_ctl(struct tty_struct *tty, int break_state) ark3116_break_ctl() argument
H A Dch341.c310 static int ch341_open(struct tty_struct *tty, struct usb_serial_port *port) ch341_open() argument
339 static void ch341_set_termios(struct tty_struct *tty, ch341_set_termios() argument
370 static void ch341_break_ctl(struct tty_struct *tty, int break_state) ch341_break_ctl() argument
413 static int ch341_tiocmset(struct tty_struct *tty, ch341_tiocmset() argument
440 struct tty_struct *tty; ch341_update_line_status() local
514 static int ch341_tiocmget(struct tty_struct *tty) ch341_tiocmget() argument
H A Df81232.c138 struct tty_struct *tty; f81232_read_msr() local
338 static void f81232_break_ctl(struct tty_struct *tty, int break_state) f81232_break_ctl() argument
439 static void f81232_set_termios(struct tty_struct *tty, f81232_set_termios() argument
500 static int f81232_tiocmget(struct tty_struct *tty) f81232_tiocmget() argument
525 static int f81232_tiocmset(struct tty_struct *tty, f81232_tiocmset() argument
533 static int f81232_open(struct tty_struct *tty, struct usb_serial_port *port) f81232_open() argument
608 static int f81232_ioctl(struct tty_struct *tty, f81232_ioctl() argument
H A Dkeyspan_pda.c200 static void keyspan_pda_rx_throttle(struct tty_struct *tty) keyspan_pda_rx_throttle() argument
214 static void keyspan_pda_rx_unthrottle(struct tty_struct *tty) keyspan_pda_rx_unthrottle() argument
283 static void keyspan_pda_break_ctl(struct tty_struct *tty, int break_state) keyspan_pda_break_ctl() argument
308 static void keyspan_pda_set_termios(struct tty_struct *tty, keyspan_pda_set_termios() argument
386 static int keyspan_pda_tiocmget(struct tty_struct *tty) keyspan_pda_tiocmget() argument
407 static int keyspan_pda_tiocmset(struct tty_struct *tty, keyspan_pda_tiocmset() argument
432 static int keyspan_pda_write(struct tty_struct *tty, keyspan_pda_write() argument
562 static int keyspan_pda_write_room(struct tty_struct *tty) keyspan_pda_write_room() argument
574 static int keyspan_pda_chars_in_buffer(struct tty_struct *tty) keyspan_pda_chars_in_buffer() argument
605 static int keyspan_pda_open(struct tty_struct *tty, keyspan_pda_open() argument
H A Dcp210x.c464 static int cp210x_open(struct tty_struct *tty, struct usb_serial_port *port) cp210x_open() argument
497 static void cp210x_get_termios(struct tty_struct *tty, cp210x_get_termios() argument
657 static void cp210x_change_speed(struct tty_struct *tty, cp210x_change_speed() argument
684 static void cp210x_set_termios(struct tty_struct *tty, cp210x_set_termios() argument
799 static int cp210x_tiocmset(struct tty_struct *tty, cp210x_tiocmset() argument
841 static int cp210x_tiocmget(struct tty_struct *tty) cp210x_tiocmget() argument
861 static void cp210x_break_ctl(struct tty_struct *tty, int break_state) cp210x_break_ctl() argument
H A Dcypress_m8.c295 static int cypress_serial_control(struct tty_struct *tty, cypress_serial_control() argument
585 static int cypress_open(struct tty_struct *tty, struct usb_serial_port *port) cypress_open() argument
664 static int cypress_write(struct tty_struct *tty, struct usb_serial_port *port, cypress_write() argument
800 static int cypress_write_room(struct tty_struct *tty) cypress_write_room() argument
816 static int cypress_tiocmget(struct tty_struct *tty) cypress_tiocmget() argument
842 static int cypress_tiocmset(struct tty_struct *tty, cypress_tiocmset() argument
864 static void cypress_set_termios(struct tty_struct *tty, cypress_set_termios() argument
1011 static int cypress_chars_in_buffer(struct tty_struct *tty) cypress_chars_in_buffer() argument
1027 static void cypress_throttle(struct tty_struct *tty) cypress_throttle() argument
1038 static void cypress_unthrottle(struct tty_struct *tty) cypress_unthrottle() argument
1068 struct tty_struct *tty; cypress_read_int_callback() local
H A Doti6858.c357 static int oti6858_write(struct tty_struct *tty, struct usb_serial_port *port, oti6858_write() argument
368 static int oti6858_write_room(struct tty_struct *tty) oti6858_write_room() argument
381 static int oti6858_chars_in_buffer(struct tty_struct *tty) oti6858_chars_in_buffer() argument
394 static void oti6858_init_termios(struct tty_struct *tty) oti6858_init_termios() argument
402 static void oti6858_set_termios(struct tty_struct *tty, oti6858_set_termios() argument
504 static int oti6858_open(struct tty_struct *tty, struct usb_serial_port *port) oti6858_open() argument
583 static int oti6858_tiocmset(struct tty_struct *tty, oti6858_tiocmset() argument
613 static int oti6858_tiocmget(struct tty_struct *tty) oti6858_tiocmget() argument
H A Dpl2303.c401 static void pl2303_encode_baud_rate(struct tty_struct *tty, pl2303_encode_baud_rate() argument
478 static void pl2303_set_termios(struct tty_struct *tty, pl2303_set_termios() argument
638 static int pl2303_open(struct tty_struct *tty, struct usb_serial_port *port) pl2303_open() argument
673 static int pl2303_tiocmset(struct tty_struct *tty, pl2303_tiocmset() argument
701 static int pl2303_tiocmget(struct tty_struct *tty) pl2303_tiocmget() argument
737 static int pl2303_ioctl(struct tty_struct *tty, pl2303_ioctl() argument
783 static void pl2303_break_ctl(struct tty_struct *tty, int state) pl2303_break_ctl() argument
797 struct tty_struct *tty; pl2303_update_line_status() local
H A Dssu100.c200 static void ssu100_set_termios(struct tty_struct *tty, ssu100_set_termios() argument
276 static int ssu100_open(struct tty_struct *tty, struct usb_serial_port *port) ssu100_open() argument
339 static int ssu100_ioctl(struct tty_struct *tty, ssu100_ioctl() argument
385 static int ssu100_tiocmget(struct tty_struct *tty) ssu100_tiocmget() argument
416 static int ssu100_tiocmset(struct tty_struct *tty, ssu100_tiocmset() argument
H A Dwhiteheat.c390 static int whiteheat_open(struct tty_struct *tty, struct usb_serial_port *port) whiteheat_open() argument
440 static int whiteheat_tiocmget(struct tty_struct *tty) whiteheat_tiocmget() argument
455 static int whiteheat_tiocmset(struct tty_struct *tty, whiteheat_tiocmset() argument
477 static int whiteheat_ioctl(struct tty_struct *tty, whiteheat_ioctl() argument
508 static void whiteheat_set_termios(struct tty_struct *tty, whiteheat_set_termios() argument
514 static void whiteheat_break_ctl(struct tty_struct *tty, int break_state) whiteheat_break_ctl() argument
674 static void firm_setup_port(struct tty_struct *tty) firm_setup_port() argument
H A Dftdi_sio.c1231 static __u32 get_ftdi_divisor(struct tty_struct *tty, get_ftdi_divisor() argument
1369 static int change_speed(struct tty_struct *tty, struct usb_serial_port *port) change_speed() argument
1463 static int set_serial_info(struct tty_struct *tty, set_serial_info() argument
1940 static int ftdi_open(struct tty_struct *tty, struct usb_serial_port *port) ftdi_open() argument
2055 struct tty_struct *tty; ftdi_process_packet() local
2133 static void ftdi_break_ctl(struct tty_struct *tty, int break_state) ftdi_break_ctl() argument
2181 static void ftdi_set_termios(struct tty_struct *tty, ftdi_set_termios() argument
2450 static int ftdi_tiocmget(struct tty_struct *tty) ftdi_tiocmget() argument
2470 static int ftdi_tiocmset(struct tty_struct *tty, ftdi_tiocmset() argument
2478 static int ftdi_ioctl(struct tty_struct *tty, ftdi_ioctl() argument
H A Dgarmin_gps.c921 static int garmin_open(struct tty_struct *tty, struct usb_serial_port *port) garmin_open() argument
1056 static int garmin_write(struct tty_struct *tty, struct usb_serial_port *port, garmin_write() argument
1128 static int garmin_write_room(struct tty_struct *tty) garmin_write_room() argument
1331 static void garmin_throttle(struct tty_struct *tty) garmin_throttle() argument
1344 static void garmin_unthrottle(struct tty_struct *tty) garmin_unthrottle() argument
H A Diuu_phoenix.c121 static int iuu_tiocmset(struct tty_struct *tty, iuu_tiocmset() argument
150 static int iuu_tiocmget(struct tty_struct *tty) iuu_tiocmget() argument
704 static int iuu_uart_write(struct tty_struct *tty, struct usb_serial_port *port, iuu_uart_write() argument
887 static void iuu_set_termios(struct tty_struct *tty, iuu_set_termios() argument
953 static void iuu_init_termios(struct tty_struct *tty) iuu_init_termios() argument
965 static int iuu_open(struct tty_struct *tty, struct usb_serial_port *port) iuu_open() argument
H A Dkeyspan.c131 static void keyspan_break_ctl(struct tty_struct *tty, int break_state) keyspan_break_ctl() argument
147 static void keyspan_set_termios(struct tty_struct *tty, keyspan_set_termios() argument
183 static int keyspan_tiocmget(struct tty_struct *tty) keyspan_tiocmget() argument
199 static int keyspan_tiocmset(struct tty_struct *tty, keyspan_tiocmset() argument
219 static int keyspan_write(struct tty_struct *tty, keyspan_write() argument
975 static int keyspan_write_room(struct tty_struct *tty) keyspan_write_room() argument
1011 static int keyspan_open(struct tty_struct *tty, struct usb_serial_port *port) keyspan_open() argument
H A Dquatech2.c266 static void qt2_set_termios(struct tty_struct *tty, qt2_set_termios() argument
339 static int qt2_open(struct tty_struct *tty, struct usb_serial_port *port) qt2_open() argument
484 static int qt2_ioctl(struct tty_struct *tty, qt2_ioctl() argument
791 static int qt2_tiocmget(struct tty_struct *tty) qt2_tiocmget() argument
823 static int qt2_tiocmset(struct tty_struct *tty, qt2_tiocmset() argument
832 static void qt2_break_ctl(struct tty_struct *tty, int break_state) qt2_break_ctl() argument
933 static int qt2_write_room(struct tty_struct *tty) qt2_write_room() argument
954 static int qt2_write(struct tty_struct *tty, qt2_write() argument
H A Dsierra.c380 static int sierra_tiocmget(struct tty_struct *tty) sierra_tiocmget() argument
398 static int sierra_tiocmset(struct tty_struct *tty, sierra_tiocmset() argument
453 static int sierra_write(struct tty_struct *tty, struct usb_serial_port *port, sierra_write() argument
655 static int sierra_write_room(struct tty_struct *tty) sierra_write_room() argument
674 static int sierra_chars_in_buffer(struct tty_struct *tty) sierra_chars_in_buffer() argument
809 static int sierra_open(struct tty_struct *tty, struct usb_serial_port *port) sierra_open() argument
H A Dspcp8x5.c280 static void spcp8x5_init_termios(struct tty_struct *tty) spcp8x5_init_termios() argument
288 static void spcp8x5_set_termios(struct tty_struct *tty, spcp8x5_set_termios() argument
392 static int spcp8x5_open(struct tty_struct *tty, struct usb_serial_port *port) spcp8x5_open() argument
415 static int spcp8x5_tiocmset(struct tty_struct *tty, spcp8x5_tiocmset() argument
438 static int spcp8x5_tiocmget(struct tty_struct *tty) spcp8x5_tiocmget() argument
H A Dti_usb_3410_5052.c393 static int ti_open(struct tty_struct *tty, struct usb_serial_port *port) ti_open() argument
578 static int ti_write(struct tty_struct *tty, struct usb_serial_port *port, ti_write() argument
599 static int ti_write_room(struct tty_struct *tty) ti_write_room() argument
618 static int ti_chars_in_buffer(struct tty_struct *tty) ti_chars_in_buffer() argument
649 static void ti_throttle(struct tty_struct *tty) ti_throttle() argument
663 static void ti_unthrottle(struct tty_struct *tty) ti_unthrottle() argument
680 static int ti_ioctl(struct tty_struct *tty, ti_ioctl() argument
703 static void ti_set_termios(struct tty_struct *tty, ti_set_termios() argument
837 static int ti_tiocmget(struct tty_struct *tty) ti_tiocmget() argument
868 static int ti_tiocmset(struct tty_struct *tty, ti_tiocmset() argument
901 static void ti_break(struct tty_struct *tty, int break_state) ti_break() argument
1247 static int ti_set_serial_info(struct tty_struct *tty, struct ti_port *tport, ti_set_serial_info() argument
1270 struct tty_struct *tty; ti_handle_new_msr() local
1302 static void ti_stop_read(struct ti_port *tport, struct tty_struct *tty) ti_stop_read() argument
1315 static int ti_restart_read(struct ti_port *tport, struct tty_struct *tty) ti_restart_read() argument
H A Dusb-serial.c179 static int serial_install(struct tty_driver *driver, struct tty_struct *tty) serial_install() argument
222 static int serial_port_activate(struct tty_port *tport, struct tty_struct *tty) serial_port_activate() argument
242 static int serial_open(struct tty_struct *tty, struct file *filp) serial_open() argument
271 static void serial_hangup(struct tty_struct *tty) serial_hangup() argument
280 static void serial_close(struct tty_struct *tty, struct file *filp) serial_close() argument
298 static void serial_cleanup(struct tty_struct *tty) serial_cleanup() argument
326 static int serial_write(struct tty_struct *tty, const unsigned char *buf, serial_write() argument
344 static int serial_write_room(struct tty_struct *tty) serial_write_room() argument
353 static int serial_chars_in_buffer(struct tty_struct *tty) serial_chars_in_buffer() argument
366 static void serial_wait_until_sent(struct tty_struct *tty, int timeout) serial_wait_until_sent() argument
382 static void serial_throttle(struct tty_struct *tty) serial_throttle() argument
392 static void serial_unthrottle(struct tty_struct *tty) serial_unthrottle() argument
402 static int serial_ioctl(struct tty_struct *tty, serial_ioctl() argument
423 static void serial_set_termios(struct tty_struct *tty, struct ktermios *old) serial_set_termios() argument
435 static int serial_break(struct tty_struct *tty, int break_state) serial_break() argument
495 static int serial_tiocmget(struct tty_struct *tty) serial_tiocmget() argument
506 static int serial_tiocmset(struct tty_struct *tty, serial_tiocmset() argument
518 static int serial_get_icount(struct tty_struct *tty, serial_get_icount() argument
1097 struct tty_struct *tty; usb_serial_disconnect() local
H A Ddigi_acceleport.c633 static void digi_rx_throttle(struct tty_struct *tty) digi_rx_throttle() argument
647 static void digi_rx_unthrottle(struct tty_struct *tty) digi_rx_unthrottle() argument
673 static void digi_set_termios(struct tty_struct *tty, digi_set_termios() argument
864 static void digi_break_ctl(struct tty_struct *tty, int break_state) digi_break_ctl() argument
877 static int digi_tiocmget(struct tty_struct *tty) digi_tiocmget() argument
891 static int digi_tiocmset(struct tty_struct *tty, digi_tiocmset() argument
906 static int digi_write(struct tty_struct *tty, struct usb_serial_port *port, digi_write() argument
1045 static int digi_write_room(struct tty_struct *tty) digi_write_room() argument
1065 static int digi_chars_in_buffer(struct tty_struct *tty) digi_chars_in_buffer() argument
1089 static int digi_open(struct tty_struct *tty, struct usb_serial_port *port) digi_open() argument
1484 struct tty_struct *tty; digi_read_oob_callback() local
H A Dio_edgeport.c796 static int edge_open(struct tty_struct *tty, struct usb_serial_port *port) edge_open() argument
1097 static int edge_write(struct tty_struct *tty, struct usb_serial_port *port, edge_write() argument
1310 static int edge_write_room(struct tty_struct *tty) edge_write_room() argument
1346 static int edge_chars_in_buffer(struct tty_struct *tty) edge_chars_in_buffer() argument
1380 static void edge_throttle(struct tty_struct *tty) edge_throttle() argument
1418 static void edge_unthrottle(struct tty_struct *tty) edge_unthrottle() argument
1453 static void edge_set_termios(struct tty_struct *tty, edge_set_termios() argument
1505 static int edge_tiocmset(struct tty_struct *tty, edge_tiocmset() argument
1534 static int edge_tiocmget(struct tty_struct *tty) edge_tiocmget() argument
1584 static int edge_ioctl(struct tty_struct *tty, edge_ioctl() argument
1608 static void edge_break(struct tty_struct *tty, int break_state) edge_break() argument
1805 struct tty_struct *tty; process_rcvd_status() local
2379 static void change_port_settings(struct tty_struct *tty, change_port_settings() argument
H A Dio_ti.c1563 struct tty_struct *tty; handle_new_msr() local
1810 struct tty_struct *tty; edge_bulk_out_callback() local
1836 static int edge_open(struct tty_struct *tty, struct usb_serial_port *port) edge_open() argument
2027 static int edge_write(struct tty_struct *tty, struct usb_serial_port *port, edge_write() argument
2049 static void edge_send(struct usb_serial_port *port, struct tty_struct *tty) edge_send() argument
2099 static int edge_write_room(struct tty_struct *tty) edge_write_room() argument
2119 static int edge_chars_in_buffer(struct tty_struct *tty) edge_chars_in_buffer() argument
2148 static void edge_throttle(struct tty_struct *tty) edge_throttle() argument
2175 static void edge_unthrottle(struct tty_struct *tty) edge_unthrottle() argument
2239 static void change_port_settings(struct tty_struct *tty, change_port_settings() argument
2379 static void edge_set_termios(struct tty_struct *tty, edge_set_termios() argument
2398 static int edge_tiocmset(struct tty_struct *tty, edge_tiocmset() argument
2429 static int edge_tiocmget(struct tty_struct *tty) edge_tiocmget() argument
2486 static int edge_ioctl(struct tty_struct *tty, edge_ioctl() argument
2501 static void edge_break(struct tty_struct *tty, int break_state) edge_break() argument
H A Dmos7720.c1001 static int mos7720_open(struct tty_struct *tty, struct usb_serial_port *port) mos7720_open() argument
1111 static int mos7720_chars_in_buffer(struct tty_struct *tty) mos7720_chars_in_buffer() argument
1165 static void mos7720_break(struct tty_struct *tty, int break_state) mos7720_break() argument
1195 static int mos7720_write_room(struct tty_struct *tty) mos7720_write_room() argument
1217 static int mos7720_write(struct tty_struct *tty, struct usb_serial_port *port, mos7720_write() argument
1286 static void mos7720_throttle(struct tty_struct *tty) mos7720_throttle() argument
1318 static void mos7720_unthrottle(struct tty_struct *tty) mos7720_unthrottle() argument
1527 static void change_port_settings(struct tty_struct *tty, change_port_settings() argument
1690 static void mos7720_set_termios(struct tty_struct *tty, mos7720_set_termios() argument
1740 static int get_lsr_info(struct tty_struct *tty, get_lsr_info() argument
1763 static int mos7720_tiocmget(struct tty_struct *tty) mos7720_tiocmget() argument
1784 static int mos7720_tiocmset(struct tty_struct *tty, mos7720_tiocmset() argument
1884 static int mos7720_ioctl(struct tty_struct *tty, mos7720_ioctl() argument
H A Dmos7840.c845 static int mos7840_open(struct tty_struct *tty, struct usb_serial_port *port) mos7840_open() argument
1124 static int mos7840_chars_in_buffer(struct tty_struct *tty) mos7840_chars_in_buffer() argument
1221 static void mos7840_break(struct tty_struct *tty, int break_state) mos7840_break() argument
1260 static int mos7840_write_room(struct tty_struct *tty) mos7840_write_room() argument
1296 static int mos7840_write(struct tty_struct *tty, struct usb_serial_port *port, mos7840_write() argument
1401 static void mos7840_throttle(struct tty_struct *tty) mos7840_throttle() argument
1443 static void mos7840_unthrottle(struct tty_struct *tty) mos7840_unthrottle() argument
1478 static int mos7840_tiocmget(struct tty_struct *tty) mos7840_tiocmget() argument
1510 static int mos7840_tiocmset(struct tty_struct *tty, mos7840_tiocmset() argument
1702 static void mos7840_change_port_settings(struct tty_struct *tty, mos7840_change_port_settings() argument
1864 static void mos7840_set_termios(struct tty_struct *tty, mos7840_set_termios() argument
1931 static int mos7840_get_lsr_info(struct tty_struct *tty, mos7840_get_lsr_info() argument
1984 static int mos7840_ioctl(struct tty_struct *tty, mos7840_ioctl() argument
H A Dmxuport.c295 static void mxuport_throttle(struct tty_struct *tty) mxuport_throttle() argument
313 static void mxuport_unthrottle(struct tty_struct *tty) mxuport_unthrottle() argument
709 static int mxuport_tiocmset(struct tty_struct *tty, unsigned int set, mxuport_tiocmset() argument
741 static int mxuport_tiocmget(struct tty_struct *tty) mxuport_tiocmget() argument
773 static int mxuport_set_termios_flow(struct tty_struct *tty, mxuport_set_termios_flow() argument
846 static void mxuport_set_termios(struct tty_struct *tty, mxuport_set_termios() argument
1271 static int mxuport_open(struct tty_struct *tty, struct usb_serial_port *port) mxuport_open() argument
1316 static void mxuport_break_ctl(struct tty_struct *tty, int break_state) mxuport_break_ctl() argument
/linux-4.4.14/drivers/tty/ipwireless/
H A Dmain.h59 struct ipw_tty *tty; member in struct:ipw_dev
H A Dnetwork.c322 struct ipw_tty *tty = ipwireless_network_notify_control_line_change() local
372 struct ipw_tty *tty = network->associated_ttys[channel_idx][i]; ipwireless_network_packet_received() local
450 ipwireless_associate_network_tty(struct ipw_network *network, unsigned int channel_idx, struct ipw_tty *tty) ipwireless_associate_network_tty() argument
H A Dtty.c90 struct ipw_tty *tty = get_tty(linux_tty->index); ipw_open() local
113 static void do_ipw_close(struct ipw_tty *tty) do_ipw_close() argument
132 struct ipw_tty *tty = linux_tty->driver_data; ipw_hangup() local
154 void ipwireless_tty_received(struct ipw_tty *tty, unsigned char *data, ipwireless_tty_received() argument
181 struct ipw_tty *tty = callback_data; ipw_write_packet_sent_callback() local
193 struct ipw_tty *tty = linux_tty->driver_data; ipw_write() local
233 struct ipw_tty *tty = linux_tty->driver_data; ipw_write_room() local
250 static int ipwireless_get_serial_info(struct ipw_tty *tty, ipwireless_get_serial_info() argument
277 struct ipw_tty *tty = linux_tty->driver_data; ipw_chars_in_buffer() local
288 static int get_control_lines(struct ipw_tty *tty) get_control_lines() argument
307 static int set_control_lines(struct ipw_tty *tty, unsigned int set, set_control_lines() argument
357 struct ipw_tty *tty = linux_tty->driver_data; ipw_tiocmget() local
373 struct ipw_tty *tty = linux_tty->driver_data; ipw_tiocmset() local
388 struct ipw_tty *tty = linux_tty->driver_data; ipw_ioctl() local
524 void ipwireless_tty_free(struct ipw_tty *tty) ipwireless_tty_free() argument
617 int ipwireless_tty_is_modem(struct ipw_tty *tty) ipwireless_tty_is_modem() argument
623 ipwireless_tty_notify_control_line_change(struct ipw_tty *tty, ipwireless_tty_notify_control_line_change() argument
/linux-4.4.14/drivers/pps/clients/
H A Dpps-ldisc.c32 static void pps_tty_dcd_change(struct tty_struct *tty, unsigned int status) pps_tty_dcd_change() argument
57 static int pps_tty_open(struct tty_struct *tty) pps_tty_open() argument
99 static void pps_tty_close(struct tty_struct *tty) pps_tty_close() argument
/linux-4.4.14/drivers/net/wan/
H A Dx25_asy.h22 struct tty_struct *tty; /* ptr to TTY structure */ member in struct:x25_asy
H A Dx25_asy.c259 static void x25_asy_write_wakeup(struct tty_struct *tty) x25_asy_write_wakeup() argument
521 static void x25_asy_receive_buf(struct tty_struct *tty, x25_asy_receive_buf() argument
550 static int x25_asy_open_tty(struct tty_struct *tty) x25_asy_open_tty() argument
587 static void x25_asy_close_tty(struct tty_struct *tty) x25_asy_close_tty() argument
684 static int x25_asy_ioctl(struct tty_struct *tty, struct file *file, x25_asy_ioctl() argument
707 static long x25_asy_compat_ioctl(struct tty_struct *tty, struct file *file, x25_asy_compat_ioctl() argument
H A Dz85230.h333 struct tty_struct *tty; /* Attached terminal */ member in struct:z8530_channel
/linux-4.4.14/drivers/char/
H A Dttyprintk.c97 static int tpk_open(struct tty_struct *tty, struct file *filp) tpk_open() argument
107 static void tpk_close(struct tty_struct *tty, struct file *filp) tpk_close() argument
122 static int tpk_write(struct tty_struct *tty, tpk_write() argument
140 static int tpk_write_room(struct tty_struct *tty) tpk_write_room() argument
148 static int tpk_ioctl(struct tty_struct *tty, tpk_ioctl() argument
/linux-4.4.14/arch/m68k/emu/
H A Dnfcon.c64 static int nfcon_tty_open(struct tty_struct *tty, struct file *filp) nfcon_tty_open() argument
69 static void nfcon_tty_close(struct tty_struct *tty, struct file *filp) nfcon_tty_close() argument
73 static int nfcon_tty_write(struct tty_struct *tty, const unsigned char *buf, nfcon_tty_write() argument
80 static int nfcon_tty_put_char(struct tty_struct *tty, unsigned char ch) nfcon_tty_put_char() argument
88 static int nfcon_tty_write_room(struct tty_struct *tty) nfcon_tty_write_room() argument
/linux-4.4.14/drivers/staging/speakup/
H A Dselection.c52 int speakup_set_selection(struct tty_struct *tty) speakup_set_selection() argument
132 struct tty_struct *tty; member in struct:speakup_paste_work
139 struct tty_struct *tty = xchg(&spw->tty, NULL); __speakup_paste_selection() local
176 int speakup_paste_selection(struct tty_struct *tty) speakup_paste_selection() argument
H A Dmain.c117 static struct tty_struct *tty; variable in typeref:struct:tty_struct
/linux-4.4.14/drivers/input/serio/
H A Dserport.c36 struct tty_struct *tty; member in struct:serport
85 static int serport_ldisc_open(struct tty_struct *tty) serport_ldisc_open() argument
111 static void serport_ldisc_close(struct tty_struct *tty) serport_ldisc_close() argument
124 static void serport_ldisc_receive(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) serport_ldisc_receive() argument
166 static ssize_t serport_ldisc_read(struct tty_struct * tty, struct file * file, unsigned char __user * buf, size_t nr) serport_ldisc_read() argument
201 static void serport_set_type(struct tty_struct *tty, unsigned long type) serport_set_type() argument
214 static int serport_ldisc_ioctl(struct tty_struct *tty, struct file *file, serport_ldisc_ioctl() argument
232 static long serport_ldisc_compat_ioctl(struct tty_struct *tty, serport_ldisc_compat_ioctl() argument
251 static void serport_ldisc_write_wakeup(struct tty_struct * tty) serport_ldisc_write_wakeup() argument
/linux-4.4.14/arch/um/drivers/
H A Dssl.c90 static int ssl_install(struct tty_driver *driver, struct tty_struct *tty) ssl_install() argument
H A Dstdio_console.c95 static int con_install(struct tty_driver *driver, struct tty_struct *tty) con_install() argument
H A Dline.c49 int line_write_room(struct tty_struct *tty) line_write_room() argument
62 int line_chars_in_buffer(struct tty_struct *tty) line_chars_in_buffer() argument
167 void line_flush_buffer(struct tty_struct *tty) line_flush_buffer() argument
181 void line_flush_chars(struct tty_struct *tty) line_flush_chars() argument
186 int line_put_char(struct tty_struct *tty, unsigned char ch) line_put_char() argument
191 int line_write(struct tty_struct *tty, const unsigned char *buf, int len) line_write() argument
218 void line_set_termios(struct tty_struct *tty, struct ktermios * old) line_set_termios() argument
223 void line_throttle(struct tty_struct *tty) line_throttle() argument
231 void line_unthrottle(struct tty_struct *tty) line_unthrottle() argument
292 static int line_activate(struct tty_port *port, struct tty_struct *tty) line_activate() argument
316 struct tty_struct *tty = tty_port_tty_get(port); line_destruct() local
330 int line_open(struct tty_struct *tty, struct file *filp) line_open() argument
337 int line_install(struct tty_driver *driver, struct tty_struct *tty, line_install() argument
351 void line_close(struct tty_struct *tty, struct file * filp) line_close() argument
358 void line_hangup(struct tty_struct *tty) line_hangup() argument
512 struct tty_struct *tty = tty_port_tty_get(&line->port); line_get_config() local
630 struct tty_struct *tty; winch_interrupt() local
714 static void unregister_winch(struct tty_struct *tty) unregister_winch() argument
/linux-4.4.14/drivers/bluetooth/
H A Dhci_ath.c53 static int ath_wakeup_ar3k(struct tty_struct *tty) ath_wakeup_ar3k() argument
79 struct tty_struct *tty; ath_hci_uart_work() local
H A Dhci_ldisc.c141 struct tty_struct *tty = hu->tty; hci_uart_write_work() local
218 struct tty_struct *tty = hu->tty; hci_uart_flush() local
263 struct tty_struct *tty = hu->tty; hci_uart_set_flow_control() local
322 struct tty_struct *tty = hu->tty; hci_uart_init_tty() local
341 struct tty_struct *tty = hu->tty; hci_uart_set_baudrate() local
440 static int hci_uart_tty_open(struct tty_struct *tty) hci_uart_tty_open() argument
481 static void hci_uart_tty_close(struct tty_struct *tty) hci_uart_tty_close() argument
520 static void hci_uart_tty_wakeup(struct tty_struct *tty) hci_uart_tty_wakeup() argument
550 static void hci_uart_tty_receive(struct tty_struct *tty, const u8 *data, hci_uart_tty_receive() argument
686 static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file *file, hci_uart_tty_ioctl() argument
742 static ssize_t hci_uart_tty_read(struct tty_struct *tty, struct file *file, hci_uart_tty_read() argument
748 static ssize_t hci_uart_tty_write(struct tty_struct *tty, struct file *file, hci_uart_tty_write() argument
754 static unsigned int hci_uart_tty_poll(struct tty_struct *tty, hci_uart_tty_poll() argument
H A Dhci_uart.h76 struct tty_struct *tty; member in struct:hci_uart
H A Dhci_qca.c114 static void __serial_clock_on(struct tty_struct *tty) __serial_clock_on() argument
122 static void __serial_clock_off(struct tty_struct *tty) __serial_clock_off() argument
/linux-4.4.14/include/linux/
H A Dtty_ldisc.h223 struct tty_struct *tty; member in struct:tty_ldisc
H A Dn_r3964.h150 struct tty_struct *tty; member in struct:r3964_info
H A Dti_wilink_st.h160 struct tty_struct *tty; member in struct:st_data_s
H A Dtty.h223 struct tty_struct *tty; /* Back pointer */ member in struct:tty_port
319 struct tty_struct *tty; member in struct:tty_file_private
353 static inline void __tty_set_flow_change(struct tty_struct *tty, int val) __tty_set_flow_change() argument
358 static inline void tty_set_flow_change(struct tty_struct *tty, int val) tty_set_flow_change() argument
378 static inline void tty_kref_put(struct tty_struct *tty) tty_kref_put() argument
380 static inline struct pid *tty_get_pgrp(struct tty_struct *tty) tty_get_pgrp() argument
386 static inline dev_t tty_devnum(struct tty_struct *tty) tty_devnum() argument
414 static inline struct tty_struct *tty_kref_get(struct tty_struct *tty) tty_kref_get() argument
489 static inline speed_t tty_get_baud_rate(struct tty_struct *tty) tty_get_baud_rate() argument
618 static inline void tty_audit_add_data(struct tty_struct *tty, const void *data, tty_audit_add_data() argument
622 static inline void tty_audit_tiocsti(struct tty_struct *tty, char ch) tty_audit_tiocsti() argument
631 static inline void tty_audit_push(struct tty_struct *tty) tty_audit_push() argument
H A Dserial_core.h399 struct tty_struct *tty = port->state->port.tty; uart_tx_stopped() local
H A Dsched.h725 struct tty_struct *tty; /* NULL if no tty */ member in struct:signal_struct
/linux-4.4.14/arch/parisc/kernel/
H A Dpdc_cons.c98 static int pdc_console_tty_open(struct tty_struct *tty, struct file *filp) pdc_console_tty_open() argument
106 static void pdc_console_tty_close(struct tty_struct *tty, struct file *filp) pdc_console_tty_close() argument
114 static int pdc_console_tty_write(struct tty_struct *tty, const unsigned char *buf, int count) pdc_console_tty_write() argument
120 static int pdc_console_tty_write_room(struct tty_struct *tty) pdc_console_tty_write_room() argument
125 static int pdc_console_tty_chars_in_buffer(struct tty_struct *tty) pdc_console_tty_chars_in_buffer() argument
/linux-4.4.14/drivers/tty/serial/
H A Dkgdb_nmi.c211 static int kgdb_nmi_tty_activate(struct tty_port *port, struct tty_struct *tty) kgdb_nmi_tty_activate() argument
237 static int kgdb_nmi_tty_install(struct tty_driver *drv, struct tty_struct *tty) kgdb_nmi_tty_install() argument
264 static void kgdb_nmi_tty_cleanup(struct tty_struct *tty) kgdb_nmi_tty_cleanup() argument
273 static int kgdb_nmi_tty_open(struct tty_struct *tty, struct file *file) kgdb_nmi_tty_open() argument
286 static void kgdb_nmi_tty_close(struct tty_struct *tty, struct file *file) kgdb_nmi_tty_close() argument
297 static void kgdb_nmi_tty_hangup(struct tty_struct *tty) kgdb_nmi_tty_hangup() argument
304 static int kgdb_nmi_tty_write_room(struct tty_struct *tty) kgdb_nmi_tty_write_room() argument
310 static int kgdb_nmi_tty_write(struct tty_struct *tty, const unchar *buf, int c) kgdb_nmi_tty_write() argument
H A Dtilegx.c88 struct tty_struct *tty = tty_port_tty_get(port); handle_receive() local
65 receive_chars(struct tile_uart_port *tile_uart, struct tty_struct *tty) receive_chars() argument
H A D68328serial.c212 static void rs_stop(struct tty_struct *tty) rs_stop() argument
244 static void rs_start(struct tty_struct *tty) rs_start() argument
311 static void transmit_chars(struct m68k_serial *info, struct tty_struct *tty) transmit_chars() argument
350 struct tty_struct *tty = tty_port_tty_get(&info->tport); rs_interrupt() local
373 static int startup(struct m68k_serial *info, struct tty_struct *tty) startup() argument
427 static void shutdown(struct m68k_serial *info, struct tty_struct *tty) shutdown() argument
502 static void change_speed(struct m68k_serial *info, struct tty_struct *tty) change_speed() argument
606 static void rs_set_ldisc(struct tty_struct *tty) rs_set_ldisc() argument
618 static void rs_flush_chars(struct tty_struct *tty) argument
664 static int rs_write(struct tty_struct * tty, rs_write() argument
727 static int rs_write_room(struct tty_struct *tty) rs_write_room() argument
740 static int rs_chars_in_buffer(struct tty_struct *tty) rs_chars_in_buffer() argument
749 static void rs_flush_buffer(struct tty_struct *tty) rs_flush_buffer() argument
770 static void rs_throttle(struct tty_struct * tty) rs_throttle() argument
783 static void rs_unthrottle(struct tty_struct * tty) rs_unthrottle() argument
829 static int set_serial_info(struct m68k_serial *info, struct tty_struct *tty, set_serial_info() argument
922 static int rs_ioctl(struct tty_struct *tty, rs_ioctl() argument
973 static void rs_set_termios(struct tty_struct *tty, struct ktermios *old_termios) rs_set_termios() argument
995 static void rs_close(struct tty_struct *tty, struct file * filp) rs_close() argument
1080 void rs_hangup(struct tty_struct *tty) rs_hangup() argument
1101 int rs_open(struct tty_struct *tty, struct file * filp) rs_open() argument
H A Dbfin_uart.c176 struct tty_struct *tty = uart->port.state->port.tty; bfin_serial_start_tx() local
H A Difx6x60.c299 static int ifx_spi_tiocmget(struct tty_struct *tty) ifx_spi_tiocmget() argument
325 static int ifx_spi_tiocmset(struct tty_struct *tty, ifx_spi_tiocmset() argument
353 static int ifx_spi_open(struct tty_struct *tty, struct file *filp) ifx_spi_open() argument
366 static void ifx_spi_close(struct tty_struct *tty, struct file *filp) ifx_spi_close() argument
499 static int ifx_spi_write(struct tty_struct *tty, const unsigned char *buf, ifx_spi_write() argument
525 static int ifx_spi_write_room(struct tty_struct *tty) ifx_spi_write_room() argument
538 static int ifx_spi_chars_in_buffer(struct tty_struct *tty) ifx_spi_chars_in_buffer() argument
552 static void ifx_spi_hangup(struct tty_struct *tty) ifx_spi_hangup() argument
565 static int ifx_port_activate(struct tty_port *port, struct tty_struct *tty) ifx_port_activate() argument
H A Dsirfsoc_uart.c400 struct tty_struct *tty; sirfsoc_uart_pio_rx_chars() local
1175 struct tty_struct *tty; sirfsoc_uart_rx_dma_hrtimer_callback() local
H A Dsprd_serial.c231 struct tty_port *tty = &port->state->port; sprd_rx() local
H A Datmel_serial.c1834 struct tty_struct *tty = port->state->port.tty; atmel_startup() local
H A Dioc3_serial.c900 struct tty_struct *tty; transmit_chars() local
H A Dsamsung.c456 struct tty_struct *tty = tty_port_tty_get(&ourport->port.state->port); s3c24xx_serial_rx_dma_complete() local
558 struct tty_struct *tty = tty_port_tty_get(&ourport->port.state->port); s3c24xx_serial_rx_chars_dma() local
1607 struct tty_struct *tty; s3c24xx_serial_cpufreq_transition() local
363 s3c24xx_uart_copy_rx_to_tty(struct s3c24xx_uart_port *ourport, struct tty_port *tty, int count) s3c24xx_uart_copy_rx_to_tty() argument
H A Dserial-tegra.c576 struct tty_struct *tty = tty_port_tty_get(port); tegra_uart_rx_buffer_push() local
524 tegra_uart_handle_rx_pio(struct tegra_uart_port *tup, struct tty_port *tty) tegra_uart_handle_rx_pio() argument
545 tegra_uart_copy_rx_to_tty(struct tegra_uart_port *tup, struct tty_port *tty, unsigned int count) tegra_uart_copy_rx_to_tty() argument
H A Dserial_core.c82 static void uart_stop(struct tty_struct *tty) uart_stop() argument
93 static void __uart_start(struct tty_struct *tty) __uart_start() argument
102 static void uart_start(struct tty_struct *tty) uart_start() argument
134 static int uart_port_startup(struct tty_struct *tty, struct uart_state *state, uart_port_startup() argument
195 static int uart_startup(struct tty_struct *tty, struct uart_state *state, uart_startup() argument
225 static void uart_shutdown(struct tty_struct *tty, struct uart_state *state) uart_shutdown() argument
443 static void uart_change_speed(struct tty_struct *tty, struct uart_state *state, uart_change_speed() argument
507 static int uart_put_char(struct tty_struct *tty, unsigned char ch) uart_put_char() argument
514 static void uart_flush_chars(struct tty_struct *tty) uart_flush_chars() argument
519 static int uart_write(struct tty_struct *tty, uart_write() argument
563 static int uart_write_room(struct tty_struct *tty) uart_write_room() argument
575 static int uart_chars_in_buffer(struct tty_struct *tty) uart_chars_in_buffer() argument
587 static void uart_flush_buffer(struct tty_struct *tty) uart_flush_buffer() argument
617 static void uart_send_xchar(struct tty_struct *tty, char ch) uart_send_xchar() argument
634 static void uart_throttle(struct tty_struct *tty) uart_throttle() argument
657 static void uart_unthrottle(struct tty_struct *tty) uart_unthrottle() argument
729 static int uart_set_info(struct tty_struct *tty, struct tty_port *port, uart_set_info() argument
921 static int uart_set_info_user(struct tty_struct *tty, struct uart_state *state, uart_set_info_user() argument
952 static int uart_get_lsr_info(struct tty_struct *tty, uart_get_lsr_info() argument
974 static int uart_tiocmget(struct tty_struct *tty) uart_tiocmget() argument
994 uart_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) uart_tiocmset() argument
1010 static int uart_break_ctl(struct tty_struct *tty, int break_state) uart_break_ctl() argument
1025 static int uart_do_autoconfig(struct tty_struct *tty,struct uart_state *state) uart_do_autoconfig() argument
1142 static int uart_get_icount(struct tty_struct *tty, uart_get_icount() argument
1213 uart_ioctl(struct tty_struct *tty, unsigned int cmd, uart_ioctl() argument
1305 static void uart_set_ldisc(struct tty_struct *tty) uart_set_ldisc() argument
1317 static void uart_set_termios(struct tty_struct *tty, uart_set_termios() argument
1375 static void uart_close(struct tty_struct *tty, struct file *filp) uart_close() argument
1447 static void uart_wait_until_sent(struct tty_struct *tty, int timeout) uart_wait_until_sent() argument
1507 static void uart_hangup(struct tty_struct *tty) uart_hangup() argument
1592 static int uart_open(struct tty_struct *tty, struct file *filp) uart_open() argument
2147 struct tty_struct *tty = port->tty; uart_resume_port() local
2759 struct tty_struct *tty; uart_remove_one_port() local
2854 struct tty_struct *tty = port->tty; uart_handle_dcd_change() local
H A Dxilinx_uartps.c1220 struct tty_struct *tty; cdns_uart_suspend() local
1272 struct tty_struct *tty; cdns_uart_resume() local
H A Dcrisv10.c1332 e100_enable_rs485(struct tty_struct *tty, struct serial_rs485 *r) e100_enable_rs485() argument
1356 e100_write_rs485(struct tty_struct *tty, e100_write_rs485() argument
1401 rs_stop(struct tty_struct *tty) rs_stop() argument
1426 rs_start(struct tty_struct *tty) rs_start() argument
1772 struct tty_struct *tty; receive_chars_dma() local
2577 struct tty_struct *tty; do_softint() local
2929 rs_flush_chars(struct tty_struct *tty) rs_flush_chars() argument
2951 static int rs_raw_write(struct tty_struct *tty, rs_raw_write() argument
3017 rs_write(struct tty_struct *tty, rs_write() argument
3083 rs_write_room(struct tty_struct *tty) rs_write_room() argument
3096 rs_chars_in_buffer(struct tty_struct *tty) rs_chars_in_buffer() argument
3106 rs_flush_buffer(struct tty_struct *tty) rs_flush_buffer() argument
3127 static void rs_send_xchar(struct tty_struct *tty, char ch) rs_send_xchar() argument
3160 rs_throttle(struct tty_struct * tty) rs_throttle() argument
3180 rs_unthrottle(struct tty_struct * tty) rs_unthrottle() argument
3355 rs_break(struct tty_struct *tty, int break_state) rs_break() argument
3378 rs_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) rs_tiocmset() argument
3410 rs_tiocmget(struct tty_struct *tty) rs_tiocmget() argument
3444 rs_ioctl(struct tty_struct *tty, rs_ioctl() argument
3551 rs_set_termios(struct tty_struct *tty, struct ktermios *old_termios) rs_set_termios() argument
3575 rs_close(struct tty_struct *tty, struct file * filp) rs_close() argument
3697 static void rs_wait_until_sent(struct tty_struct *tty, int timeout) rs_wait_until_sent() argument
3733 rs_hangup(struct tty_struct *tty) rs_hangup() argument
3752 block_til_ready(struct tty_struct *tty, struct file * filp, block_til_ready() argument
3858 rs_open(struct tty_struct *tty, struct file * filp) rs_open() argument
H A Dfsl_lpuart.c319 lpuart_copy_rx_to_tty(struct lpuart_port *sport, struct tty_port *tty, int count) lpuart_copy_rx_to_tty() argument
H A Dpch_uart.c1070 struct tty_struct *tty = tty_port_tty_get(&port->state->port); pch_uart_err_ir() local
H A Dioc4_serial.c1630 struct tty_struct *tty; transmit_chars() local
/linux-4.4.14/drivers/tty/vt/
H A Dselection.c159 int set_selection(const struct tiocl_selection __user *sel, struct tty_struct *tty) set_selection() argument
337 int paste_selection(struct tty_struct *tty) paste_selection() argument
H A Dvt_ioctl.c334 int vt_ioctl(struct tty_struct *tty, vt_ioctl() argument
1070 struct tty_struct *tty; vc_SAK() local
1196 long vt_compat_ioctl(struct tty_struct *tty, vt_compat_ioctl() argument
H A Dkeyboard.c493 struct tty_struct *tty = vc->port.tty; fn_hold() local
1333 struct tty_struct *tty; kbd_keycode() local
H A Dvt.c845 static int vc_do_resize(struct tty_struct *tty, struct vc_data *vc, vc_do_resize() argument
987 static int vt_resize(struct tty_struct *tty, struct winsize *ws) vt_resize() argument
1439 static void cursor_report(struct vc_data *vc, struct tty_struct *tty) cursor_report() argument
1447 static inline void status_report(struct tty_struct *tty) status_report() argument
1452 static inline void respond_ID(struct tty_struct *tty) respond_ID() argument
1457 void mouse_report(struct tty_struct *tty, int butt, int mrx, int mry) mouse_report() argument
1742 static void do_con_trol(struct tty_struct *tty, struct vc_data *vc, int c) do_con_trol() argument
2170 static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int count) do_con_write() argument
2663 int tioclinux(struct tty_struct *tty, unsigned long arg) tioclinux() argument
2771 static int con_write(struct tty_struct *tty, const unsigned char *buf, int count) con_write() argument
2781 static int con_put_char(struct tty_struct *tty, unsigned char ch) con_put_char() argument
2788 static int con_write_room(struct tty_struct *tty) con_write_room() argument
2795 static int con_chars_in_buffer(struct tty_struct *tty) con_chars_in_buffer() argument
2805 static void con_throttle(struct tty_struct *tty) con_throttle() argument
2809 static void con_unthrottle(struct tty_struct *tty) con_unthrottle() argument
2819 static void con_stop(struct tty_struct *tty) con_stop() argument
2833 static void con_start(struct tty_struct *tty) con_start() argument
2844 static void con_flush_chars(struct tty_struct *tty) con_flush_chars() argument
2862 static int con_install(struct tty_driver *driver, struct tty_struct *tty) con_install() argument
2901 static int con_open(struct tty_struct *tty, struct file *filp) con_open() argument
2908 static void con_close(struct tty_struct *tty, struct file *filp) con_close() argument
2913 static void con_shutdown(struct tty_struct *tty) con_shutdown() argument
/linux-4.4.14/drivers/staging/gdm724x/
H A Dgdm_tty.c71 static int gdm_tty_install(struct tty_driver *driver, struct tty_struct *tty) gdm_tty_install() argument
111 static int gdm_tty_open(struct tty_struct *tty, struct file *filp) gdm_tty_open() argument
118 static void gdm_tty_cleanup(struct tty_struct *tty) gdm_tty_cleanup() argument
125 static void gdm_tty_hangup(struct tty_struct *tty) gdm_tty_hangup() argument
132 static void gdm_tty_close(struct tty_struct *tty, struct file *filp) gdm_tty_close() argument
178 static int gdm_tty_write(struct tty_struct *tty, const unsigned char *buf, gdm_tty_write() argument
211 static int gdm_tty_write_room(struct tty_struct *tty) gdm_tty_write_room() argument
269 struct tty_struct *tty; unregister_lte_tty_device() local
/linux-4.4.14/drivers/isdn/gigaset/
H A Dinterface.c116 static int if_open(struct tty_struct *tty, struct file *filp) if_open() argument
144 static void if_close(struct tty_struct *tty, struct file *filp) if_close() argument
169 static int if_ioctl(struct tty_struct *tty, if_ioctl() argument
236 static int if_tiocmget(struct tty_struct *tty) if_tiocmget() argument
253 static int if_tiocmset(struct tty_struct *tty, if_tiocmset() argument
280 static int if_write(struct tty_struct *tty, const unsigned char *buf, int count) if_write() argument
325 static int if_write_room(struct tty_struct *tty) if_write_room() argument
349 static int if_chars_in_buffer(struct tty_struct *tty) if_chars_in_buffer() argument
370 static void if_throttle(struct tty_struct *tty) if_throttle() argument
386 static void if_unthrottle(struct tty_struct *tty) if_unthrottle() argument
402 static void if_set_termios(struct tty_struct *tty, struct ktermios *old) if_set_termios() argument
561 struct tty_driver *tty; gigaset_if_initdriver() local
H A Dser-gigaset.c47 struct tty_struct *tty; member in struct:ser_cardstate
65 struct tty_struct *tty = cs->hw.ser->tty; write_modem() local
106 struct tty_struct *tty = cs->hw.ser->tty; send_cb() local
429 struct tty_struct *tty = cs->hw.ser->tty; gigaset_set_modem_ctrl() local
478 static struct cardstate *cs_get(struct tty_struct *tty) cs_get() argument
501 gigaset_tty_open(struct tty_struct *tty) gigaset_tty_open() argument
564 gigaset_tty_close(struct tty_struct *tty) gigaset_tty_close() argument
602 static int gigaset_tty_hangup(struct tty_struct *tty) gigaset_tty_hangup() argument
614 gigaset_tty_ioctl(struct tty_struct *tty, struct file *file, gigaset_tty_ioctl() argument
667 gigaset_tty_receive(struct tty_struct *tty, const unsigned char *buf, gigaset_tty_receive() argument
723 gigaset_tty_wakeup(struct tty_struct *tty) gigaset_tty_wakeup() argument
H A Dcommon.c1030 struct cardstate *gigaset_get_cs_by_tty(struct tty_struct *tty) gigaset_get_cs_by_tty() argument
H A Dgigaset.h510 struct tty_driver *tty; member in struct:gigaset_driver
/linux-4.4.14/drivers/misc/ti-st/
H A Dst_core.c67 struct tty_struct *tty; st_get_uart_wr_room() local
86 struct tty_struct *tty; st_int_write() local
723 static int st_tty_open(struct tty_struct *tty) st_tty_open() argument
751 static void st_tty_close(struct tty_struct *tty) st_tty_close() argument
796 static void st_tty_receive(struct tty_struct *tty, const unsigned char *data, st_tty_receive() argument
815 static void st_tty_wakeup(struct tty_struct *tty) st_tty_wakeup() argument
830 static void st_tty_flush_buffer(struct tty_struct *tty) st_tty_flush_buffer() argument
H A Dst_kim.c529 struct tty_struct *tty = kim_gdata->core_data->tty; st_kim_stop() local
/linux-4.4.14/drivers/net/caif/
H A Dcaif_serial.c70 struct tty_struct *tty; member in struct:ser_device
95 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty) debugfs_init() argument
146 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty) debugfs_init() argument
168 static void ldisc_receive(struct tty_struct *tty, const u8 *data, ldisc_receive() argument
219 struct tty_struct *tty; handle_tx() local
299 static void ldisc_tx_wakeup(struct tty_struct *tty) ldisc_tx_wakeup() argument
332 static int ldisc_open(struct tty_struct *tty) ldisc_open() argument
380 static void ldisc_close(struct tty_struct *tty) ldisc_close() argument
/linux-4.4.14/drivers/net/slip/
H A Dslip.h53 struct tty_struct *tty; /* ptr to TTY structure */ member in struct:slip
H A Dslip.c453 static void slip_write_wakeup(struct tty_struct *tty) slip_write_wakeup() argument
684 static void slip_receive_buf(struct tty_struct *tty, const unsigned char *cp, slip_receive_buf() argument
788 static int slip_open(struct tty_struct *tty) slip_open() argument
879 static void slip_close(struct tty_struct *tty) slip_close() argument
904 static int slip_hangup(struct tty_struct *tty) slip_hangup() argument
1070 static int slip_ioctl(struct tty_struct *tty, struct file *file, slip_ioctl() argument
1176 static long slip_compat_ioctl(struct tty_struct *tty, struct file *file, slip_compat_ioctl() argument
/linux-4.4.14/arch/xtensa/platforms/iss/
H A Dconsole.c56 static int rs_open(struct tty_struct *tty, struct file * filp) rs_open() argument
81 static void rs_close(struct tty_struct *tty, struct file * filp) rs_close() argument
90 static int rs_write(struct tty_struct * tty, rs_write() argument
124 static int rs_put_char(struct tty_struct *tty, unsigned char ch) rs_put_char() argument
129 static void rs_flush_chars(struct tty_struct *tty) rs_flush_chars() argument
133 static int rs_write_room(struct tty_struct *tty) rs_write_room() argument
139 static int rs_chars_in_buffer(struct tty_struct *tty) rs_chars_in_buffer() argument
145 static void rs_hangup(struct tty_struct *tty) rs_hangup() argument
150 static void rs_wait_until_sent(struct tty_struct *tty, int timeout) rs_wait_until_sent() argument
/linux-4.4.14/arch/alpha/kernel/
H A Dsrmcons.c132 srmcons_write(struct tty_struct *tty, srmcons_write() argument
145 srmcons_write_room(struct tty_struct *tty) srmcons_write_room() argument
151 srmcons_chars_in_buffer(struct tty_struct *tty) srmcons_chars_in_buffer() argument
157 srmcons_open(struct tty_struct *tty, struct file *filp) srmcons_open() argument
178 srmcons_close(struct tty_struct *tty, struct file *filp) srmcons_close() argument
/linux-4.4.14/arch/cris/arch-v10/kernel/
H A Ddebugport.c406 static int dummy_open(struct tty_struct *tty, struct file * filp) dummy_open() argument
411 static void dummy_close(struct tty_struct *tty, struct file * filp) dummy_close() argument
415 static int dummy_write(struct tty_struct * tty, dummy_write() argument
421 static int dummy_write_room(struct tty_struct *tty) dummy_write_room() argument
/linux-4.4.14/arch/powerpc/include/asm/
H A Dhvsi.h73 struct tty_struct *tty; /* tty structure */ member in struct:hvsi_priv
/linux-4.4.14/arch/ia64/hp/sim/
H A Dsimserial.c108 static int rs_put_char(struct tty_struct *tty, unsigned char ch) rs_put_char() argument
127 static void transmit_chars(struct tty_struct *tty, struct serial_state *info, transmit_chars() argument
178 static void rs_flush_chars(struct tty_struct *tty) rs_flush_chars() argument
189 static int rs_write(struct tty_struct * tty, rs_write() argument
225 static int rs_write_room(struct tty_struct *tty) rs_write_room() argument
232 static int rs_chars_in_buffer(struct tty_struct *tty) rs_chars_in_buffer() argument
239 static void rs_flush_buffer(struct tty_struct *tty) rs_flush_buffer() argument
255 static void rs_send_xchar(struct tty_struct *tty, char ch) rs_send_xchar() argument
277 static void rs_throttle(struct tty_struct * tty) rs_throttle() argument
285 static void rs_unthrottle(struct tty_struct * tty) rs_unthrottle() argument
298 static int rs_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) rs_ioctl() argument
348 static void rs_close(struct tty_struct *tty, struct file * filp) rs_close() argument
355 static void rs_hangup(struct tty_struct *tty) rs_hangup() argument
363 static int activate(struct tty_port *port, struct tty_struct *tty) activate() argument
414 static int rs_open(struct tty_struct *tty, struct file * filp) rs_open() argument
/linux-4.4.14/net/nfc/nci/
H A Duart.c86 struct tty_struct *tty = nu->tty; nci_uart_write_work() local
117 static int nci_uart_set_driver(struct tty_struct *tty, unsigned int driver) nci_uart_set_driver() argument
163 static int nci_uart_tty_open(struct tty_struct *tty) nci_uart_tty_open() argument
192 static void nci_uart_tty_close(struct tty_struct *tty) nci_uart_tty_close() argument
226 static void nci_uart_tty_wakeup(struct tty_struct *tty) nci_uart_tty_wakeup() argument
253 static void nci_uart_tty_receive(struct tty_struct *tty, const u8 *data, nci_uart_tty_receive() argument
281 static int nci_uart_tty_ioctl(struct tty_struct *tty, struct file *file, nci_uart_tty_ioctl() argument
303 static ssize_t nci_uart_tty_read(struct tty_struct *tty, struct file *file, nci_uart_tty_read() argument
309 static ssize_t nci_uart_tty_write(struct tty_struct *tty, struct file *file, nci_uart_tty_write() argument
315 static unsigned int nci_uart_tty_poll(struct tty_struct *tty, nci_uart_tty_poll() argument
/linux-4.4.14/drivers/staging/dgnc/
H A Ddgnc_cls.c426 static void cls_param(struct tty_struct *tty) cls_param() argument
898 static int cls_drain(struct tty_struct *tty, uint seconds) cls_drain() argument
H A Ddgnc_neo.c578 static void neo_param(struct tty_struct *tty) neo_param() argument
1284 static int neo_drain(struct tty_struct *tty, uint seconds) neo_drain() argument
H A Ddgnc_tty.c1013 static int dgnc_tty_open(struct tty_struct *tty, struct file *file) dgnc_tty_open() argument
1215 static int dgnc_block_til_ready(struct tty_struct *tty, dgnc_block_til_ready() argument
1347 static void dgnc_tty_hangup(struct tty_struct *tty) dgnc_tty_hangup() argument
1366 static void dgnc_tty_close(struct tty_struct *tty, struct file *file) dgnc_tty_close() argument
1509 static int dgnc_tty_chars_in_buffer(struct tty_struct *tty) dgnc_tty_chars_in_buffer() argument
1558 static int dgnc_maxcps_room(struct tty_struct *tty, int bytes_available) dgnc_maxcps_room() argument
1612 static int dgnc_tty_write_room(struct tty_struct *tty) dgnc_tty_write_room() argument
1674 static int dgnc_tty_put_char(struct tty_struct *tty, unsigned char c) dgnc_tty_put_char() argument
1689 static int dgnc_tty_write(struct tty_struct *tty, dgnc_tty_write() argument
1830 static int dgnc_tty_tiocmget(struct tty_struct *tty) dgnc_tty_tiocmget() argument
1879 static int dgnc_tty_tiocmset(struct tty_struct *tty, dgnc_tty_tiocmset() argument
1929 static int dgnc_tty_send_break(struct tty_struct *tty, int msec) dgnc_tty_send_break() argument
1977 static void dgnc_tty_wait_until_sent(struct tty_struct *tty, int timeout) dgnc_tty_wait_until_sent() argument
2006 static void dgnc_tty_send_xchar(struct tty_struct *tty, char c) dgnc_tty_send_xchar() argument
2097 static int dgnc_set_modem_info(struct tty_struct *tty, dgnc_set_modem_info() argument
2181 static int dgnc_tty_digigeta(struct tty_struct *tty, dgnc_tty_digigeta() argument
2223 static int dgnc_tty_digiseta(struct tty_struct *tty, dgnc_tty_digiseta() argument
2305 static void dgnc_tty_set_termios(struct tty_struct *tty, dgnc_tty_set_termios() argument
2343 static void dgnc_tty_throttle(struct tty_struct *tty) dgnc_tty_throttle() argument
2367 static void dgnc_tty_unthrottle(struct tty_struct *tty) dgnc_tty_unthrottle() argument
2391 static void dgnc_tty_start(struct tty_struct *tty) dgnc_tty_start() argument
2420 static void dgnc_tty_stop(struct tty_struct *tty) dgnc_tty_stop() argument
2462 static void dgnc_tty_flush_chars(struct tty_struct *tty) dgnc_tty_flush_chars() argument
2496 static void dgnc_tty_flush_buffer(struct tty_struct *tty) dgnc_tty_flush_buffer() argument
2546 static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd, dgnc_tty_ioctl() argument
/linux-4.4.14/drivers/net/can/
H A Dslcan.c83 struct tty_struct *tty; /* ptr to TTY structure */ member in struct:slcan
345 static void slcan_write_wakeup(struct tty_struct *tty) slcan_write_wakeup() argument
466 static void slcan_receive_buf(struct tty_struct *tty, slcan_receive_buf() argument
557 static int slcan_open(struct tty_struct *tty) slcan_open() argument
632 static void slcan_close(struct tty_struct *tty) slcan_close() argument
652 static int slcan_hangup(struct tty_struct *tty) slcan_hangup() argument
659 static int slcan_ioctl(struct tty_struct *tty, struct file *file, slcan_ioctl() argument
/linux-4.4.14/drivers/net/ppp/
H A Dppp_synctty.c56 struct tty_struct *tty; member in struct:syncppp
137 static struct syncppp *sp_get(struct tty_struct *tty) sp_get() argument
159 ppp_sync_open(struct tty_struct *tty) ppp_sync_open() argument
217 ppp_sync_close(struct tty_struct *tty) ppp_sync_close() argument
251 static int ppp_sync_hangup(struct tty_struct *tty) ppp_sync_hangup() argument
262 ppp_sync_read(struct tty_struct *tty, struct file *file, ppp_sync_read() argument
273 ppp_sync_write(struct tty_struct *tty, struct file *file, ppp_sync_write() argument
280 ppp_synctty_ioctl(struct tty_struct *tty, struct file *file, ppp_synctty_ioctl() argument
330 ppp_sync_poll(struct tty_struct *tty, struct file *file, poll_table *wait) ppp_sync_poll() argument
337 ppp_sync_receive(struct tty_struct *tty, const unsigned char *buf, ppp_sync_receive() argument
355 ppp_sync_wakeup(struct tty_struct *tty) ppp_sync_wakeup() argument
594 struct tty_struct *tty = ap->tty; ppp_sync_push() local
H A Dppp_async.c46 struct tty_struct *tty; member in struct:asyncppp
136 static struct asyncppp *ap_get(struct tty_struct *tty) ap_get() argument
159 ppp_asynctty_open(struct tty_struct *tty) ppp_asynctty_open() argument
219 ppp_asynctty_close(struct tty_struct *tty) ppp_asynctty_close() argument
254 static int ppp_asynctty_hangup(struct tty_struct *tty) ppp_asynctty_hangup() argument
265 ppp_asynctty_read(struct tty_struct *tty, struct file *file, ppp_asynctty_read() argument
276 ppp_asynctty_write(struct tty_struct *tty, struct file *file, ppp_asynctty_write() argument
288 ppp_asynctty_ioctl(struct tty_struct *tty, struct file *file, ppp_asynctty_ioctl() argument
338 ppp_asynctty_poll(struct tty_struct *tty, struct file *file, poll_table *wait) ppp_asynctty_poll() argument
345 ppp_asynctty_receive(struct tty_struct *tty, const unsigned char *buf, ppp_asynctty_receive() argument
363 ppp_asynctty_wakeup(struct tty_struct *tty) ppp_asynctty_wakeup() argument
654 struct tty_struct *tty = ap->tty; ppp_async_push() local
/linux-4.4.14/kernel/
H A Dacct.c416 struct tty_struct *tty; fill_ac() local
H A Daudit.c1879 char *tty; audit_log_task_info() local
/linux-4.4.14/sound/soc/omap/
H A Dams-delta.c279 static int cx81801_open(struct tty_struct *tty) cx81801_open() argument
301 static void cx81801_close(struct tty_struct *tty) cx81801_close() argument
331 static int cx81801_hangup(struct tty_struct *tty) cx81801_hangup() argument
338 static void cx81801_receive(struct tty_struct *tty, cx81801_receive() argument
391 static void cx81801_wakeup(struct tty_struct *tty) cx81801_wakeup() argument
/linux-4.4.14/sound/soc/codecs/
H A Dcx20442.c217 static int v253_open(struct tty_struct *tty) v253_open() argument
241 static void v253_close(struct tty_struct *tty) v253_close() argument
260 static int v253_hangup(struct tty_struct *tty) v253_hangup() argument
267 static void v253_receive(struct tty_struct *tty, v253_receive() argument
289 static void v253_wakeup(struct tty_struct *tty) v253_wakeup() argument
384 struct tty_struct *tty = cx20442->control_data; cx20442_codec_remove() local
/linux-4.4.14/drivers/usb/gadget/function/
H A Du_serial.c438 struct tty_struct *tty; gs_start_rx() local
487 struct tty_struct *tty; gs_rx_push() local
721 static int gs_open(struct tty_struct *tty, struct file *file) gs_open() argument
832 static void gs_close(struct tty_struct *tty, struct file *file) gs_close() argument
892 static int gs_write(struct tty_struct *tty, const unsigned char *buf, int count) gs_write() argument
912 static int gs_put_char(struct tty_struct *tty, unsigned char ch) gs_put_char() argument
928 static void gs_flush_chars(struct tty_struct *tty) gs_flush_chars() argument
941 static int gs_write_room(struct tty_struct *tty) gs_write_room() argument
958 static int gs_chars_in_buffer(struct tty_struct *tty) gs_chars_in_buffer() argument
975 static void gs_unthrottle(struct tty_struct *tty) gs_unthrottle() argument
992 static int gs_break_ctl(struct tty_struct *tty, int duration) gs_break_ctl() argument
/linux-4.4.14/drivers/tty/hvc/
H A Dhvc_console.c311 static void hvc_unthrottle(struct tty_struct *tty) hvc_unthrottle() argument
316 static int hvc_install(struct tty_driver *driver, struct tty_struct *tty) hvc_install() argument
338 static int hvc_open(struct tty_struct *tty, struct file * filp) hvc_open() argument
381 static void hvc_close(struct tty_struct *tty, struct file * filp) hvc_close() argument
430 static void hvc_cleanup(struct tty_struct *tty) hvc_cleanup() argument
437 static void hvc_hangup(struct tty_struct *tty) hvc_hangup() argument
497 static int hvc_write(struct tty_struct *tty, const unsigned char *buf, int count) hvc_write() argument
551 struct tty_struct *tty; hvc_set_winsz() local
573 static int hvc_write_room(struct tty_struct *tty) hvc_write_room() argument
583 static int hvc_chars_in_buffer(struct tty_struct *tty) hvc_chars_in_buffer() argument
609 struct tty_struct *tty; hvc_poll() local
783 static int hvc_tiocmget(struct tty_struct *tty) hvc_tiocmget() argument
792 static int hvc_tiocmset(struct tty_struct *tty, hvc_tiocmset() argument
810 struct tty_struct *tty = driver->ttys[0]; hvc_poll_get_char() local
825 struct tty_struct *tty = driver->ttys[0]; hvc_poll_put_char() local
920 struct tty_struct *tty; hvc_remove() local
H A Dhvcs.c518 static void hvcs_unthrottle(struct tty_struct *tty) hvcs_unthrottle() argument
529 static void hvcs_throttle(struct tty_struct *tty) hvcs_throttle() argument
561 struct tty_struct *tty = hvcsd->port.tty; hvcs_try_write() local
591 struct tty_struct *tty; hvcs_io() local
842 struct tty_struct *tty; hvcs_remove() local
1100 static int hvcs_install(struct tty_driver *driver, struct tty_struct *tty) hvcs_install() argument
1177 static int hvcs_open(struct tty_struct *tty, struct file *filp) hvcs_open() argument
1195 static void hvcs_close(struct tty_struct *tty, struct file *filp) hvcs_close() argument
1253 static void hvcs_cleanup(struct tty_struct * tty) hvcs_cleanup() argument
1260 static void hvcs_hangup(struct tty_struct * tty) hvcs_hangup() argument
1320 static int hvcs_write(struct tty_struct *tty, hvcs_write() argument
1425 static int hvcs_write_room(struct tty_struct *tty) hvcs_write_room() argument
1435 static int hvcs_chars_in_buffer(struct tty_struct *tty) hvcs_chars_in_buffer() argument
H A Dhvsi.c401 static int hvsi_load_chunk(struct hvsi_struct *hp, struct tty_struct *tty, hvsi_load_chunk() argument
492 struct tty_struct *tty; hvsi_interrupt() local
712 static int hvsi_open(struct tty_struct *tty, struct file *filp) hvsi_open() argument
775 static void hvsi_close(struct tty_struct *tty, struct file *filp) hvsi_close() argument
827 static void hvsi_hangup(struct tty_struct *tty) hvsi_hangup() argument
906 static int hvsi_write_room(struct tty_struct *tty) hvsi_write_room() argument
913 static int hvsi_chars_in_buffer(struct tty_struct *tty) hvsi_chars_in_buffer() argument
920 static int hvsi_write(struct tty_struct *tty, hvsi_write() argument
979 static void hvsi_throttle(struct tty_struct *tty) hvsi_throttle() argument
988 static void hvsi_unthrottle(struct tty_struct *tty) hvsi_unthrottle() argument
1006 static int hvsi_tiocmget(struct tty_struct *tty) hvsi_tiocmget() argument
1014 static int hvsi_tiocmset(struct tty_struct *tty, hvsi_tiocmset() argument
238 hvsi_recv_control(struct hvsi_struct *hp, uint8_t *packet, struct tty_struct *tty, struct hvsi_struct **to_handshake) hvsi_recv_control() argument
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dserial2002.c50 struct file *tty; member in struct:serial2002_private
/linux-4.4.14/drivers/misc/
H A Dpti.c421 static int pti_tty_driver_open(struct tty_struct *tty, struct file *filp) pti_tty_driver_open() argument
444 static void pti_tty_driver_close(struct tty_struct *tty, struct file *filp) pti_tty_driver_close() argument
461 static int pti_tty_install(struct tty_driver *driver, struct tty_struct *tty) pti_tty_install() argument
493 static void pti_tty_cleanup(struct tty_struct *tty) pti_tty_cleanup() argument
516 static int pti_tty_driver_write(struct tty_struct *tty, pti_tty_driver_write() argument
537 static int pti_tty_write_room(struct tty_struct *tty) pti_tty_write_room() argument
755 static int pti_port_activate(struct tty_port *port, struct tty_struct *tty) pti_port_activate() argument
/linux-4.4.14/drivers/ipack/devices/
H A Dipoctal.c74 static int ipoctal_port_activate(struct tty_port *port, struct tty_struct *tty) ipoctal_port_activate() argument
89 static int ipoctal_open(struct tty_struct *tty, struct file *file) ipoctal_open() argument
125 static void ipoctal_close(struct tty_struct *tty, struct file *filp) ipoctal_close() argument
133 static int ipoctal_get_icount(struct tty_struct *tty, ipoctal_get_icount() argument
271 struct tty_driver *tty; ipoctal_inst_slot() local
443 static int ipoctal_write_tty(struct tty_struct *tty, ipoctal_write_tty() argument
466 static int ipoctal_write_room(struct tty_struct *tty) ipoctal_write_room() argument
473 static int ipoctal_chars_in_buffer(struct tty_struct *tty) ipoctal_chars_in_buffer() argument
480 static void ipoctal_set_termios(struct tty_struct *tty, ipoctal_set_termios() argument
615 static void ipoctal_hangup(struct tty_struct *tty) ipoctal_hangup() argument
637 static void ipoctal_shutdown(struct tty_struct *tty) ipoctal_shutdown() argument
648 static void ipoctal_cleanup(struct tty_struct *tty) ipoctal_cleanup() argument
/linux-4.4.14/drivers/net/hamradio/
H A Dmkiss.c51 struct tty_struct *tty; /* ptr to TTY structure */ member in struct:mkiss
675 static struct mkiss *mkiss_get(struct tty_struct *tty) mkiss_get() argument
696 static int mkiss_open(struct tty_struct *tty) mkiss_open() argument
782 static void mkiss_close(struct tty_struct *tty) mkiss_close() argument
816 static int mkiss_ioctl(struct tty_struct *tty, struct file *file, mkiss_ioctl() argument
879 static long mkiss_compat_ioctl(struct tty_struct *tty, struct file *file, mkiss_compat_ioctl() argument
901 static void mkiss_receive_buf(struct tty_struct *tty, const unsigned char *cp, mkiss_receive_buf() argument
936 static void mkiss_write_wakeup(struct tty_struct *tty) mkiss_write_wakeup() argument
H A D6pack.c87 struct tty_struct *tty; /* ptr to TTY structure */ member in struct:sixpack
377 static struct sixpack *sp_get(struct tty_struct *tty) sp_get() argument
400 static void sixpack_write_wakeup(struct tty_struct *tty) sixpack_write_wakeup() argument
435 static void sixpack_receive_buf(struct tty_struct *tty, sixpack_receive_buf() argument
563 static int sixpack_open(struct tty_struct *tty) sixpack_open() argument
668 static void sixpack_close(struct tty_struct *tty) sixpack_close() argument
703 static int sixpack_ioctl(struct tty_struct *tty, struct file *file, sixpack_ioctl() argument
766 static long sixpack_compat_ioctl(struct tty_struct * tty, struct file * file, sixpack_compat_ioctl() argument
/linux-4.4.14/net/bluetooth/rfcomm/
H A Dtty.c111 static int rfcomm_dev_activate(struct tty_port *port, struct tty_struct *tty) rfcomm_dev_activate() argument
320 struct device *tty; rfcomm_dev_add() local
442 struct tty_struct *tty; __rfcomm_release_dev() local
686 static void rfcomm_tty_cleanup(struct tty_struct *tty) rfcomm_tty_cleanup() argument
709 static int rfcomm_tty_install(struct tty_driver *driver, struct tty_struct *tty) rfcomm_tty_install() argument
747 static int rfcomm_tty_open(struct tty_struct *tty, struct file *filp) rfcomm_tty_open() argument
773 static void rfcomm_tty_close(struct tty_struct *tty, struct file *filp) rfcomm_tty_close() argument
783 static int rfcomm_tty_write(struct tty_struct *tty, const unsigned char *buf, int count) rfcomm_tty_write() argument
812 static int rfcomm_tty_write_room(struct tty_struct *tty) rfcomm_tty_write_room() argument
825 static int rfcomm_tty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) rfcomm_tty_ioctl() argument
870 static void rfcomm_tty_set_termios(struct tty_struct *tty, struct ktermios *old) rfcomm_tty_set_termios() argument
1009 static void rfcomm_tty_throttle(struct tty_struct *tty) rfcomm_tty_throttle() argument
1018 static void rfcomm_tty_unthrottle(struct tty_struct *tty) rfcomm_tty_unthrottle() argument
1027 static int rfcomm_tty_chars_in_buffer(struct tty_struct *tty) rfcomm_tty_chars_in_buffer() argument
1042 static void rfcomm_tty_flush_buffer(struct tty_struct *tty) rfcomm_tty_flush_buffer() argument
1055 static void rfcomm_tty_send_xchar(struct tty_struct *tty, char ch) rfcomm_tty_send_xchar() argument
1060 static void rfcomm_tty_wait_until_sent(struct tty_struct *tty, int timeout) rfcomm_tty_wait_until_sent() argument
1065 static void rfcomm_tty_hangup(struct tty_struct *tty) rfcomm_tty_hangup() argument
1074 static int rfcomm_tty_tiocmget(struct tty_struct *tty) rfcomm_tty_tiocmget() argument
1083 static int rfcomm_tty_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) rfcomm_tty_tiocmset() argument
/linux-4.4.14/drivers/usb/class/
H A Dcdc-acm.c490 static int acm_tty_install(struct tty_driver *driver, struct tty_struct *tty) acm_tty_install() argument
514 static int acm_tty_open(struct tty_struct *tty, struct file *filp) acm_tty_open() argument
542 static int acm_port_activate(struct tty_port *port, struct tty_struct *tty) acm_port_activate() argument
654 static void acm_tty_cleanup(struct tty_struct *tty) acm_tty_cleanup() argument
661 static void acm_tty_hangup(struct tty_struct *tty) acm_tty_hangup() argument
668 static void acm_tty_close(struct tty_struct *tty, struct file *filp) acm_tty_close() argument
675 static int acm_tty_write(struct tty_struct *tty, acm_tty_write() argument
729 static int acm_tty_write_room(struct tty_struct *tty) acm_tty_write_room() argument
739 static int acm_tty_chars_in_buffer(struct tty_struct *tty) acm_tty_chars_in_buffer() argument
754 static void acm_tty_throttle(struct tty_struct *tty) acm_tty_throttle() argument
763 static void acm_tty_unthrottle(struct tty_struct *tty) acm_tty_unthrottle() argument
778 static int acm_tty_break_ctl(struct tty_struct *tty, int state) acm_tty_break_ctl() argument
790 static int acm_tty_tiocmget(struct tty_struct *tty) acm_tty_tiocmget() argument
802 static int acm_tty_tiocmset(struct tty_struct *tty, acm_tty_tiocmset() argument
940 static int acm_tty_ioctl(struct tty_struct *tty, acm_tty_ioctl() argument
970 static void acm_tty_set_termios(struct tty_struct *tty, acm_tty_set_termios() argument
1530 struct tty_struct *tty; acm_disconnect() local
/linux-4.4.14/drivers/isdn/capi/
H A Dcapi.c303 struct tty_struct *tty; capincci_free_minor() local
320 struct tty_struct *tty; capincci_minor_opencount() local
404 struct tty_struct *tty; handle_recv_skb() local
488 struct tty_struct *tty; handle_minor_send() local
998 capinc_tty_install(struct tty_driver *driver, struct tty_struct *tty) capinc_tty_install() argument
1010 static void capinc_tty_cleanup(struct tty_struct *tty) capinc_tty_cleanup() argument
1017 static int capinc_tty_open(struct tty_struct *tty, struct file *filp) capinc_tty_open() argument
1030 static void capinc_tty_close(struct tty_struct *tty, struct file *filp) capinc_tty_close() argument
1037 static int capinc_tty_write(struct tty_struct *tty, capinc_tty_write() argument
1072 static int capinc_tty_put_char(struct tty_struct *tty, unsigned char ch) capinc_tty_put_char() argument
1113 static void capinc_tty_flush_chars(struct tty_struct *tty) capinc_tty_flush_chars() argument
1135 static int capinc_tty_write_room(struct tty_struct *tty) capinc_tty_write_room() argument
1146 static int capinc_tty_chars_in_buffer(struct tty_struct *tty) capinc_tty_chars_in_buffer() argument
1157 static int capinc_tty_ioctl(struct tty_struct *tty, capinc_tty_ioctl() argument
1163 static void capinc_tty_set_termios(struct tty_struct *tty, struct ktermios *old) capinc_tty_set_termios() argument
1168 static void capinc_tty_throttle(struct tty_struct *tty) capinc_tty_throttle() argument
1175 static void capinc_tty_unthrottle(struct tty_struct *tty) capinc_tty_unthrottle() argument
1184 static void capinc_tty_stop(struct tty_struct *tty) capinc_tty_stop() argument
1192 static void capinc_tty_start(struct tty_struct *tty) capinc_tty_start() argument
1201 static void capinc_tty_hangup(struct tty_struct *tty) capinc_tty_hangup() argument
1209 static int capinc_tty_break_ctl(struct tty_struct *tty, int state) capinc_tty_break_ctl() argument
1215 static void capinc_tty_flush_buffer(struct tty_struct *tty) capinc_tty_flush_buffer() argument
1220 static void capinc_tty_set_ldisc(struct tty_struct *tty) capinc_tty_set_ldisc() argument
1225 static void capinc_tty_send_xchar(struct tty_struct *tty, char ch) capinc_tty_send_xchar() argument
/linux-4.4.14/drivers/mmc/card/
H A Dsdio_uart.c434 struct tty_struct *tty; sdio_uart_transmit_chars() local
472 struct tty_struct *tty; sdio_uart_check_modem_status() local
600 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) sdio_uart_activate() argument
732 static int sdio_uart_install(struct tty_driver *driver, struct tty_struct *tty) sdio_uart_install() argument
754 static void sdio_uart_cleanup(struct tty_struct *tty) sdio_uart_cleanup() argument
765 static int sdio_uart_open(struct tty_struct *tty, struct file *filp) sdio_uart_open() argument
771 static void sdio_uart_close(struct tty_struct *tty, struct file * filp) sdio_uart_close() argument
777 static void sdio_uart_hangup(struct tty_struct *tty) sdio_uart_hangup() argument
783 static int sdio_uart_write(struct tty_struct *tty, const unsigned char *buf, sdio_uart_write() argument
806 static int sdio_uart_write_room(struct tty_struct *tty) sdio_uart_write_room() argument
812 static int sdio_uart_chars_in_buffer(struct tty_struct *tty) sdio_uart_chars_in_buffer() argument
818 static void sdio_uart_send_xchar(struct tty_struct *tty, char ch) sdio_uart_send_xchar() argument
832 static void sdio_uart_throttle(struct tty_struct *tty) sdio_uart_throttle() argument
854 static void sdio_uart_unthrottle(struct tty_struct *tty) sdio_uart_unthrottle() argument
880 static void sdio_uart_set_termios(struct tty_struct *tty, sdio_uart_set_termios() argument
920 static int sdio_uart_break_ctl(struct tty_struct *tty, int break_state) sdio_uart_break_ctl() argument
939 static int sdio_uart_tiocmget(struct tty_struct *tty) sdio_uart_tiocmget() argument
953 static int sdio_uart_tiocmset(struct tty_struct *tty, sdio_uart_tiocmset() argument
/linux-4.4.14/drivers/staging/fwserial/
H A Dfwserial.c309 struct tty_struct *tty; fwtty_update_port_status() local
456 struct tty_struct *tty; fwtty_throttle_port() local
500 struct tty_struct *tty; fwtty_do_hangup() local
716 struct tty_struct *tty; fwtty_tx() local
939 static unsigned set_termios(struct fwtty_port *port, struct tty_struct *tty) set_termios() argument
1052 static int fwtty_open(struct tty_struct *tty, struct file *fp) fwtty_open() argument
1059 static void fwtty_close(struct tty_struct *tty, struct file *fp) fwtty_close() argument
1066 static void fwtty_hangup(struct tty_struct *tty) fwtty_hangup() argument
1073 static void fwtty_cleanup(struct tty_struct *tty) fwtty_cleanup() argument
1081 static int fwtty_install(struct tty_driver *driver, struct tty_struct *tty) fwtty_install() argument
1094 static int fwloop_install(struct tty_driver *driver, struct tty_struct *tty) fwloop_install() argument
1107 static int fwtty_write(struct tty_struct *tty, const unsigned char *buf, int c) fwtty_write() argument
1130 static int fwtty_write_room(struct tty_struct *tty) fwtty_write_room() argument
1144 static int fwtty_chars_in_buffer(struct tty_struct *tty) fwtty_chars_in_buffer() argument
1158 static void fwtty_send_xchar(struct tty_struct *tty, char ch) fwtty_send_xchar() argument
1167 static void fwtty_throttle(struct tty_struct *tty) fwtty_throttle() argument
1185 static void fwtty_unthrottle(struct tty_struct *tty) fwtty_unthrottle() argument
1269 static int fwtty_ioctl(struct tty_struct *tty, unsigned cmd, fwtty_ioctl() argument
1299 static void fwtty_set_termios(struct tty_struct *tty, struct ktermios *old) fwtty_set_termios() argument
1338 static int fwtty_break_ctl(struct tty_struct *tty, int state) fwtty_break_ctl() argument
1371 static int fwtty_tiocmget(struct tty_struct *tty) fwtty_tiocmget() argument
1385 static int fwtty_tiocmset(struct tty_struct *tty, unsigned set, unsigned clear) fwtty_tiocmset() argument
1401 static int fwtty_get_icount(struct tty_struct *tty, fwtty_get_icount() argument
1911 struct tty_struct *tty; fwserial_close_port() local
989 fwtty_port_activate(struct tty_port *tty_port, struct tty_struct *tty) fwtty_port_activate() argument
/linux-4.4.14/drivers/isdn/i4l/
H A Disdn_tty.c299 struct tty_struct *tty = info->port.tty; isdn_tty_tint() local
1119 isdn_tty_write(struct tty_struct *tty, const u_char *buf, int count) isdn_tty_write() argument
1229 isdn_tty_write_room(struct tty_struct *tty) isdn_tty_write_room() argument
1243 isdn_tty_chars_in_buffer(struct tty_struct *tty) isdn_tty_chars_in_buffer() argument
1255 isdn_tty_flush_buffer(struct tty_struct *tty) isdn_tty_flush_buffer() argument
1272 isdn_tty_flush_chars(struct tty_struct *tty) isdn_tty_flush_chars() argument
1291 isdn_tty_throttle(struct tty_struct *tty) isdn_tty_throttle() argument
1303 isdn_tty_unthrottle(struct tty_struct *tty) isdn_tty_unthrottle() argument
1347 isdn_tty_tiocmget(struct tty_struct *tty) isdn_tty_tiocmget() argument
1374 isdn_tty_tiocmset(struct tty_struct *tty, isdn_tty_tiocmset() argument
1415 isdn_tty_ioctl(struct tty_struct *tty, uint cmd, ulong arg) isdn_tty_ioctl() argument
1458 isdn_tty_set_termios(struct tty_struct *tty, struct ktermios *old_termios) isdn_tty_set_termios() argument
1479 static int isdn_tty_install(struct tty_driver *driver, struct tty_struct *tty) isdn_tty_install() argument
1498 isdn_tty_open(struct tty_struct *tty, struct file *filp) isdn_tty_open() argument
1538 isdn_tty_close(struct tty_struct *tty, struct file *filp) isdn_tty_close() argument
1615 isdn_tty_hangup(struct tty_struct *tty) isdn_tty_hangup() argument
/linux-4.4.14/drivers/media/platform/sti/bdisp/
H A Dbdisp-reg.h15 u32 tty; member in struct:bdisp_node
/linux-4.4.14/fs/quota/
H A Ddquot.c1181 struct tty_struct *tty; print_warning() local
/linux-4.4.14/include/net/nfc/
H A Dnci_core.h451 struct tty_struct *tty; member in struct:nci_uart
/linux-4.4.14/drivers/staging/dgap/
H A Ddgap.c3003 static int dgap_block_til_ready(struct tty_struct *tty, struct file *file, dgap_block_til_ready() argument
3132 static void dgap_tty_flush_buffer(struct tty_struct *tty) dgap_tty_flush_buffer() argument
3184 static void dgap_tty_hangup(struct tty_struct *tty) dgap_tty_hangup() argument
3217 static int dgap_tty_chars_in_buffer(struct tty_struct *tty) dgap_tty_chars_in_buffer() argument
3309 static int dgap_wait_for_drain(struct tty_struct *tty) dgap_wait_for_drain() argument
3438 static int dgap_tty_write_room(struct tty_struct *tty) dgap_tty_write_room() argument
3510 static int dgap_tty_write(struct tty_struct *tty, const unsigned char *buf, dgap_tty_write() argument
3670 static int dgap_tty_put_char(struct tty_struct *tty, unsigned char c) dgap_tty_put_char() argument
3682 static int dgap_tty_tiocmget(struct tty_struct *tty) dgap_tty_tiocmget() argument
3732 static int dgap_tty_tiocmset(struct tty_struct *tty, dgap_tty_tiocmset() argument
3792 static int dgap_tty_send_break(struct tty_struct *tty, int msec) dgap_tty_send_break() argument
3845 static void dgap_tty_wait_until_sent(struct tty_struct *tty, int timeout) dgap_tty_wait_until_sent() argument
3855 static void dgap_tty_send_xchar(struct tty_struct *tty, char c) dgap_tty_send_xchar() argument
4102 static int dgap_tty_digigetedelay(struct tty_struct *tty, int __user *retinfo) dgap_tty_digigetedelay() argument
4223 static void dgap_tty_set_termios(struct tty_struct *tty, dgap_tty_set_termios() argument
4264 static void dgap_tty_throttle(struct tty_struct *tty) dgap_tty_throttle() argument
4299 static void dgap_tty_unthrottle(struct tty_struct *tty) dgap_tty_unthrottle() argument
4362 static int dgap_tty_open(struct tty_struct *tty, struct file *file) dgap_tty_open() argument
4510 static void dgap_tty_close(struct tty_struct *tty, struct file *file) dgap_tty_close() argument
4631 static void dgap_tty_start(struct tty_struct *tty) dgap_tty_start() argument
4663 static void dgap_tty_stop(struct tty_struct *tty) dgap_tty_stop() argument
4708 static void dgap_tty_flush_chars(struct tty_struct *tty) dgap_tty_flush_chars() argument
4751 static int dgap_tty_ioctl(struct tty_struct *tty, unsigned int cmd, dgap_tty_ioctl() argument
/linux-4.4.14/drivers/net/usb/
H A Dhso.c1109 static void _hso_serial_set_termios(struct tty_struct *tty, _hso_serial_set_termios() argument
1252 static void hso_unthrottle(struct tty_struct *tty) hso_unthrottle() argument
1260 static int hso_serial_open(struct tty_struct *tty, struct file *filp) hso_serial_open() argument
1315 static void hso_serial_close(struct tty_struct *tty, struct file *filp) hso_serial_close() argument
1351 static int hso_serial_write(struct tty_struct *tty, const unsigned char *buf, hso_serial_write() argument
1384 static int hso_serial_write_room(struct tty_struct *tty) hso_serial_write_room() argument
1398 static void hso_serial_cleanup(struct tty_struct *tty) hso_serial_cleanup() argument
1409 static void hso_serial_set_termios(struct tty_struct *tty, struct ktermios *old) hso_serial_set_termios() argument
1430 static int hso_serial_chars_in_buffer(struct tty_struct *tty) hso_serial_chars_in_buffer() argument
1612 static int hso_get_count(struct tty_struct *tty, hso_get_count() argument
1643 static int hso_serial_tiocmget(struct tty_struct *tty) hso_serial_tiocmget() argument
1674 static int hso_serial_tiocmset(struct tty_struct *tty, hso_serial_tiocmset() argument
1719 static int hso_serial_ioctl(struct tty_struct *tty, hso_serial_ioctl() argument
2021 struct tty_struct *tty; put_rxbuf_data() local
/linux-4.4.14/drivers/char/pcmcia/
H A Dsynclink_cs.c495 static void ldisc_receive_buf(struct tty_struct *tty, ldisc_receive_buf() argument
704 static void tx_pause(struct tty_struct *tty) tx_pause() argument
720 static void tx_release(struct tty_struct *tty) tx_release() argument
771 struct tty_struct *tty; bh_handler() local
812 static void bh_transmit(MGSLPC_INFO *info, struct tty_struct *tty) bh_transmit() argument
961 static void tx_done(MGSLPC_INFO *info, struct tty_struct *tty) tx_done() argument
998 static void tx_ready(MGSLPC_INFO *info, struct tty_struct *tty) tx_ready() argument
1047 static void cts_change(MGSLPC_INFO *info, struct tty_struct *tty) cts_change() argument
1082 static void dcd_change(MGSLPC_INFO *info, struct tty_struct *tty) dcd_change() argument
1160 struct tty_struct *tty; mgslpc_isr() local
1268 static int startup(MGSLPC_INFO * info, struct tty_struct *tty) startup() argument
1321 static void shutdown(MGSLPC_INFO * info, struct tty_struct *tty) shutdown() argument
1367 static void mgslpc_program_hw(MGSLPC_INFO *info, struct tty_struct *tty) mgslpc_program_hw() argument
1401 static void mgslpc_change_params(MGSLPC_INFO *info, struct tty_struct *tty) mgslpc_change_params() argument
1492 static int mgslpc_put_char(struct tty_struct *tty, unsigned char ch) mgslpc_put_char() argument
1525 static void mgslpc_flush_chars(struct tty_struct *tty) mgslpc_flush_chars() argument
1561 static int mgslpc_write(struct tty_struct * tty, mgslpc_write() argument
1621 static int mgslpc_write_room(struct tty_struct *tty) mgslpc_write_room() argument
1649 static int mgslpc_chars_in_buffer(struct tty_struct *tty) mgslpc_chars_in_buffer() argument
1675 static void mgslpc_flush_buffer(struct tty_struct *tty) mgslpc_flush_buffer() argument
1698 static void mgslpc_send_xchar(struct tty_struct *tty, char ch) mgslpc_send_xchar() argument
1721 static void mgslpc_throttle(struct tty_struct * tty) mgslpc_throttle() argument
1746 static void mgslpc_unthrottle(struct tty_struct * tty) mgslpc_unthrottle() argument
1812 static int set_params(MGSLPC_INFO * info, MGSL_PARAMS __user *new_params, struct tty_struct *tty) set_params() argument
1894 static int set_txenable(MGSLPC_INFO * info, int enable, struct tty_struct *tty) set_txenable() argument
2121 static int tiocmget(struct tty_struct *tty) tiocmget() argument
2146 static int tiocmset(struct tty_struct *tty, tiocmset() argument
2177 static int mgslpc_break(struct tty_struct *tty, int break_state) mgslpc_break() argument
2198 static int mgslpc_get_icount(struct tty_struct *tty, mgslpc_get_icount() argument
2234 static int mgslpc_ioctl(struct tty_struct *tty, mgslpc_ioctl() argument
2291 static void mgslpc_set_termios(struct tty_struct *tty, struct ktermios *old_termios) mgslpc_set_termios() argument
2338 static void mgslpc_close(struct tty_struct *tty, struct file * filp) mgslpc_close() argument
2371 static void mgslpc_wait_until_sent(struct tty_struct *tty, int timeout) mgslpc_wait_until_sent() argument
2435 static void mgslpc_hangup(struct tty_struct *tty) mgslpc_hangup() argument
2480 static int mgslpc_open(struct tty_struct *tty, struct file * filp) mgslpc_open() argument
3310 static void tx_start(MGSLPC_INFO *info, struct tty_struct *tty) tx_start() argument
3659 static bool rx_get_frame(MGSLPC_INFO *info, struct tty_struct *tty) rx_get_frame() argument
3885 struct tty_struct *tty = tty_port_tty_get(&info->port); tx_timeout() local
3907 struct tty_struct *tty; hdlcdev_attach() local
3982 struct tty_struct *tty = tty_port_tty_get(&info->port); hdlcdev_xmit() local
4002 struct tty_struct *tty; hdlcdev_open() local
4065 struct tty_struct *tty = tty_port_tty_get(&info->port); hdlcdev_close() local
4182 struct tty_struct *tty = tty_port_tty_get(&info->port); hdlcdev_ioctl() local
/linux-4.4.14/security/selinux/
H A Dhooks.c2349 struct tty_struct *tty; flush_unauthorized_files() local

Completed in 5804 milliseconds