/linux-3.3/include/linux/ |
D | tty.h | 106 #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR]) argument 107 #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT]) argument 108 #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE]) argument 109 #define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL]) argument 110 #define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF]) argument 111 #define TIME_CHAR(tty) ((tty)->termios->c_cc[VTIME]) argument 112 #define MIN_CHAR(tty) ((tty)->termios->c_cc[VMIN]) argument 113 #define SWTC_CHAR(tty) ((tty)->termios->c_cc[VSWTC]) argument 114 #define START_CHAR(tty) ((tty)->termios->c_cc[VSTART]) argument 115 #define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP]) argument [all …]
|
/linux-3.3/drivers/tty/ |
D | n_tty.c | 77 static inline int tty_put_user(struct tty_struct *tty, unsigned char x, in tty_put_user() 94 static void n_tty_set_room(struct tty_struct *tty) in n_tty_set_room() 116 static void put_tty_queue_nolock(unsigned char c, struct tty_struct *tty) in put_tty_queue_nolock() 135 static void put_tty_queue(unsigned char c, struct tty_struct *tty) in put_tty_queue() 156 static void check_unthrottle(struct tty_struct *tty) in check_unthrottle() 173 static void reset_buffer_flags(struct tty_struct *tty) in reset_buffer_flags() 202 static void n_tty_flush_buffer(struct tty_struct *tty) in n_tty_flush_buffer() 229 static ssize_t n_tty_chars_in_buffer(struct tty_struct *tty) in n_tty_chars_in_buffer() 268 static inline int is_continuation(unsigned char c, struct tty_struct *tty) in is_continuation() 295 static int do_output_char(unsigned char c, struct tty_struct *tty, int space) in do_output_char() [all …]
|
D | tty_ioctl.c | 50 int tty_chars_in_buffer(struct tty_struct *tty) in tty_chars_in_buffer() 70 int tty_write_room(struct tty_struct *tty) in tty_write_room() 86 void tty_driver_flush_buffer(struct tty_struct *tty) in tty_driver_flush_buffer() 103 void tty_throttle(struct tty_struct *tty) in tty_throttle() 127 void tty_unthrottle(struct tty_struct *tty) in tty_unthrottle() 148 void tty_wait_until_sent(struct tty_struct *tty, long timeout) in tty_wait_until_sent() 412 void tty_encode_baud_rate(struct tty_struct *tty, speed_t ibaud, speed_t obaud) in tty_encode_baud_rate() 429 speed_t tty_get_baud_rate(struct tty_struct *tty) in tty_get_baud_rate() 499 int tty_set_termios(struct tty_struct *tty, struct ktermios *new_termios) in tty_set_termios() 572 static int set_termios(struct tty_struct *tty, void __user *arg, int opt) in set_termios() [all …]
|
D | tty_buffer.c | 30 void tty_buffer_free_all(struct tty_struct *tty) in tty_buffer_free_all() 57 static struct tty_buffer *tty_buffer_alloc(struct tty_struct *tty, size_t size) in tty_buffer_alloc() 88 static void tty_buffer_free(struct tty_struct *tty, struct tty_buffer *b) in tty_buffer_free() 113 static void __tty_buffer_flush(struct tty_struct *tty) in __tty_buffer_flush() 135 void tty_buffer_flush(struct tty_struct *tty) in tty_buffer_flush() 166 static struct tty_buffer *tty_buffer_find(struct tty_struct *tty, size_t size) in tty_buffer_find() 199 int tty_buffer_request_room(struct tty_struct *tty, size_t size) in tty_buffer_request_room() 246 int tty_insert_flip_string_fixed_flag(struct tty_struct *tty, in tty_insert_flip_string_fixed_flag() 283 int tty_insert_flip_string_flags(struct tty_struct *tty, in tty_insert_flip_string_flags() 318 void tty_schedule_flip(struct tty_struct *tty) in tty_schedule_flip() [all …]
|
D | pty.c | 38 static void pty_close(struct tty_struct *tty, struct file *filp) in pty_close() 78 static void pty_unthrottle(struct tty_struct *tty) in pty_unthrottle() 113 static int pty_write(struct tty_struct *tty, const unsigned char *buf, int c) in pty_write() 140 static int pty_write_room(struct tty_struct *tty) in pty_write_room() 155 static int pty_chars_in_buffer(struct tty_struct *tty) in pty_chars_in_buffer() 161 static int pty_set_lock(struct tty_struct *tty, int __user *arg) in pty_set_lock() 174 static int pty_signal(struct tty_struct *tty, int sig) in pty_signal() 190 static void pty_flush_buffer(struct tty_struct *tty) in pty_flush_buffer() 206 static int pty_open(struct tty_struct *tty, struct file *filp) in pty_open() 228 static void pty_set_termios(struct tty_struct *tty, in pty_set_termios() [all …]
|
D | tty_io.c | 183 void free_tty_struct(struct tty_struct *tty) in free_tty_struct() 211 void tty_add_file(struct tty_struct *tty, struct file *file) in tty_add_file() 249 #define TTY_NUMBER(tty) ((tty)->index + (tty)->driver->name_base) argument 262 char *tty_name(struct tty_struct *tty, char *buf) in tty_name() 273 int tty_paranoia_check(struct tty_struct *tty, struct inode *inode, in tty_paranoia_check() 293 static int check_tty_count(struct tty_struct *tty, const char *routine) in check_tty_count() 406 int tty_check_change(struct tty_struct *tty) in tty_check_change() 517 void tty_wakeup(struct tty_struct *tty) in tty_wakeup() 556 void __tty_hangup(struct tty_struct *tty) in __tty_hangup() 678 struct tty_struct *tty = in do_tty_hangup() local [all …]
|
D | tty_ldisc.c | 267 static void tty_ldisc_assign(struct tty_struct *tty, struct tty_ldisc *ld) in tty_ldisc_assign() 284 static struct tty_ldisc *tty_ldisc_try(struct tty_struct *tty) in tty_ldisc_try() 313 struct tty_ldisc *tty_ldisc_ref_wait(struct tty_struct *tty) in tty_ldisc_ref_wait() 334 struct tty_ldisc *tty_ldisc_ref(struct tty_struct *tty) in tty_ldisc_ref() 373 void tty_ldisc_enable(struct tty_struct *tty) in tty_ldisc_enable() 388 void tty_ldisc_flush(struct tty_struct *tty) in tty_ldisc_flush() 412 static void tty_set_termios_ldisc(struct tty_struct *tty, int num) in tty_set_termios_ldisc() 430 static int tty_ldisc_open(struct tty_struct *tty, struct tty_ldisc *ld) in tty_ldisc_open() 453 static void tty_ldisc_close(struct tty_struct *tty, struct tty_ldisc *ld) in tty_ldisc_close() 470 static void tty_ldisc_restore(struct tty_struct *tty, struct tty_ldisc *old) in tty_ldisc_restore() [all …]
|
D | tty_port.c | 89 struct tty_struct *tty; in tty_port_tty_get() local 107 void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty) in tty_port_tty_set() 225 struct tty_struct *tty, struct file *filp) in tty_port_block_til_ready() 319 struct tty_struct *tty, struct file *filp) in tty_port_close_start() 382 void tty_port_close_end(struct tty_port *port, struct tty_struct *tty) in tty_port_close_end() 404 void tty_port_close(struct tty_port *port, struct tty_struct *tty, in tty_port_close() 416 int tty_port_open(struct tty_port *port, struct tty_struct *tty, in tty_port_open()
|
D | amiserial.c | 171 static void rs_stop(struct tty_struct *tty) in rs_stop() 191 static void rs_start(struct tty_struct *tty) in rs_start() 249 struct tty_struct *tty = info->tty; in receive_chars() local 524 struct tty_struct *tty; in do_softint() local 835 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char() 862 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars() 886 static int rs_write(struct tty_struct * tty, const unsigned char *buf, int count) in rs_write() 935 static int rs_write_room(struct tty_struct *tty) in rs_write_room() 944 static int rs_chars_in_buffer(struct tty_struct *tty) in rs_chars_in_buffer() 953 static void rs_flush_buffer(struct tty_struct *tty) in rs_flush_buffer() [all …]
|
D | n_hdlc.c | 149 struct tty_struct *tty; member 197 #define tty2n_hdlc(tty) ((struct n_hdlc *) ((tty)->disc_data)) argument 200 static void flush_rx_queue(struct tty_struct *tty) in flush_rx_queue() 209 static void flush_tx_queue(struct tty_struct *tty) in flush_tx_queue() 246 struct tty_struct *tty = n_hdlc2tty (n_hdlc); in n_hdlc_release() local 300 static void n_hdlc_tty_close(struct tty_struct *tty) in n_hdlc_tty_close() 338 static int n_hdlc_tty_open (struct tty_struct *tty) in n_hdlc_tty_open() 387 static void n_hdlc_send_frames(struct n_hdlc *n_hdlc, struct tty_struct *tty) in n_hdlc_send_frames() 483 static void n_hdlc_tty_wakeup(struct tty_struct *tty) in n_hdlc_tty_wakeup() 512 static void n_hdlc_tty_receive(struct tty_struct *tty, const __u8 *data, in n_hdlc_tty_receive() [all …]
|
/linux-3.3/arch/ia64/hp/sim/ |
D | simserial.c | 113 static void rs_stop(struct tty_struct *tty) in rs_stop() 122 static void rs_start(struct tty_struct *tty) in rs_start() 130 static void receive_chars(struct tty_struct *tty) in receive_chars() 202 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char() 273 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars() 285 static int rs_write(struct tty_struct * tty, in rs_write() 320 static int rs_write_room(struct tty_struct *tty) in rs_write_room() 327 static int rs_chars_in_buffer(struct tty_struct *tty) in rs_chars_in_buffer() 334 static void rs_flush_buffer(struct tty_struct *tty) in rs_flush_buffer() 350 static void rs_send_xchar(struct tty_struct *tty, char ch) in rs_send_xchar() [all …]
|
/linux-3.3/drivers/tty/ipwireless/ |
D | tty.c | 76 static void report_registering(struct ipw_tty *tty) in report_registering() 84 static void report_deregistering(struct ipw_tty *tty) in report_deregistering() 119 struct ipw_tty *tty = get_tty(minor); in ipw_open() local 147 static void do_ipw_close(struct ipw_tty *tty) in do_ipw_close() 166 struct ipw_tty *tty = linux_tty->driver_data; in ipw_hangup() local 188 void ipwireless_tty_received(struct ipw_tty *tty, unsigned char *data, in ipwireless_tty_received() 224 struct ipw_tty *tty = callback_data; in ipw_write_packet_sent_callback() local 236 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write() local 276 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write_room() local 293 static int ipwireless_get_serial_info(struct ipw_tty *tty, in ipwireless_get_serial_info() [all …]
|
/linux-3.3/net/irda/ircomm/ |
D | ircomm_tty.c | 252 struct tty_struct *tty; in ircomm_tty_block_til_ready() local 366 static int ircomm_tty_open(struct tty_struct *tty, struct file *filp) in ircomm_tty_open() 494 static void ircomm_tty_close(struct tty_struct *tty, struct file *filp) in ircomm_tty_close() 580 static void ircomm_tty_flush_buffer(struct tty_struct *tty) in ircomm_tty_flush_buffer() 605 struct tty_struct *tty; in ircomm_tty_do_softint() local 664 static int ircomm_tty_write(struct tty_struct *tty, in ircomm_tty_write() 797 static int ircomm_tty_write_room(struct tty_struct *tty) in ircomm_tty_write_room() 837 static void ircomm_tty_wait_until_sent(struct tty_struct *tty, int timeout) in ircomm_tty_wait_until_sent() 874 static void ircomm_tty_throttle(struct tty_struct *tty) in ircomm_tty_throttle() 905 static void ircomm_tty_unthrottle(struct tty_struct *tty) in ircomm_tty_unthrottle() [all …]
|
/linux-3.3/drivers/isdn/gigaset/ |
D | interface.c | 146 static int if_open(struct tty_struct *tty, struct file *filp) in if_open() 179 static void if_close(struct tty_struct *tty, struct file *filp) in if_close() 211 static int if_ioctl(struct tty_struct *tty, in if_ioctl() 286 static int if_tiocmget(struct tty_struct *tty) in if_tiocmget() 309 static int if_tiocmset(struct tty_struct *tty, in if_tiocmset() 342 static int if_write(struct tty_struct *tty, const unsigned char *buf, int count) in if_write() 398 static int if_write_room(struct tty_struct *tty) in if_write_room() 430 static int if_chars_in_buffer(struct tty_struct *tty) in if_chars_in_buffer() 459 static void if_throttle(struct tty_struct *tty) in if_throttle() 483 static void if_unthrottle(struct tty_struct *tty) in if_unthrottle() [all …]
|
D | ser-gigaset.c | 47 struct tty_struct *tty; member 65 struct tty_struct *tty = cs->hw.ser->tty; in write_modem() local 107 struct tty_struct *tty = cs->hw.ser->tty; in send_cb() local 433 struct tty_struct *tty = cs->hw.ser->tty; in gigaset_set_modem_ctrl() local 480 static struct cardstate *cs_get(struct tty_struct *tty) in cs_get() 503 gigaset_tty_open(struct tty_struct *tty) in gigaset_tty_open() 553 gigaset_tty_close(struct tty_struct *tty) in gigaset_tty_close() 591 static int gigaset_tty_hangup(struct tty_struct *tty) in gigaset_tty_hangup() 602 gigaset_tty_read(struct tty_struct *tty, struct file *file, in gigaset_tty_read() 613 gigaset_tty_write(struct tty_struct *tty, struct file *file, in gigaset_tty_write() [all …]
|
/linux-3.3/drivers/net/irda/ |
D | irtty-sir.c | 90 struct tty_struct *tty; in irtty_wait_until_sent() local 117 struct tty_struct *tty; in irtty_change_speed() local 185 struct tty_struct *tty; in irtty_do_write() local 219 static void irtty_receive_buf(struct tty_struct *tty, const unsigned char *cp, in irtty_receive_buf() 259 static void irtty_write_wakeup(struct tty_struct *tty) in irtty_write_wakeup() 278 static inline void irtty_stop_receiver(struct tty_struct *tty, int stop) in irtty_stop_receiver() 308 struct tty_struct *tty; in irtty_start_dev() local 335 struct tty_struct *tty; in irtty_stop_dev() local 380 static int irtty_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long a… in irtty_ioctl() 425 static int irtty_open(struct tty_struct *tty) in irtty_open() [all …]
|
/linux-3.3/arch/xtensa/platforms/iss/ |
D | console.c | 69 static int rs_open(struct tty_struct *tty, struct file * filp) in rs_open() 100 static void rs_close(struct tty_struct *tty, struct file * filp) in rs_close() 109 static int rs_write(struct tty_struct * tty, in rs_write() 120 struct tty_struct* tty = (struct tty_struct*) priv; in rs_poll() local 143 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char() 153 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars() 157 static int rs_write_room(struct tty_struct *tty) in rs_write_room() 163 static int rs_chars_in_buffer(struct tty_struct *tty) in rs_chars_in_buffer() 169 static void rs_hangup(struct tty_struct *tty) in rs_hangup() 174 static void rs_wait_until_sent(struct tty_struct *tty, int timeout) in rs_wait_until_sent()
|
/linux-3.3/drivers/tty/serial/ |
D | msm_smd_tty.c | 57 struct tty_struct *tty; in smd_tty_notify() local 91 static int smd_tty_port_activate(struct tty_port *tport, struct tty_struct *tty) in smd_tty_port_activate() 121 struct tty_struct *tty = tty_port_tty_get(tport); in smd_tty_port_shutdown() local 133 static int smd_tty_open(struct tty_struct *tty, struct file *f) in smd_tty_open() 140 static void smd_tty_close(struct tty_struct *tty, struct file *f) in smd_tty_close() 147 static int smd_tty_write(struct tty_struct *tty, in smd_tty_write() 164 static int smd_tty_write_room(struct tty_struct *tty) in smd_tty_write_room() 170 static int smd_tty_chars_in_buffer(struct tty_struct *tty) in smd_tty_chars_in_buffer() 176 static void smd_tty_unthrottle(struct tty_struct *tty) in smd_tty_unthrottle()
|
D | 68328serial.c | 177 static void rs_stop(struct tty_struct *tty) in rs_stop() 208 static void rs_start(struct tty_struct *tty) in rs_start() 249 struct tty_struct *tty = info->tty; in receive_chars() local 598 static void rs_set_ldisc(struct tty_struct *tty) in rs_set_ldisc() 610 static void rs_flush_chars(struct tty_struct *tty) 657 static int rs_write(struct tty_struct * tty, 720 static int rs_write_room(struct tty_struct *tty) 733 static int rs_chars_in_buffer(struct tty_struct *tty) 742 static void rs_flush_buffer(struct tty_struct *tty) 763 static void rs_throttle(struct tty_struct * tty) [all …]
|
/linux-3.3/drivers/bluetooth/ |
D | hci_ldisc.c | 123 struct tty_struct *tty = hu->tty; in hci_uart_tx_wakeup() local 178 struct tty_struct *tty = hu->tty; in hci_uart_flush() local 253 static int hci_uart_tty_open(struct tty_struct *tty) in hci_uart_tty_open() 297 static void hci_uart_tty_close(struct tty_struct *tty) in hci_uart_tty_close() 330 static void hci_uart_tty_wakeup(struct tty_struct *tty) in hci_uart_tty_wakeup() 360 static void hci_uart_tty_receive(struct tty_struct *tty, const u8 *data, char *flags, int count) in hci_uart_tty_receive() 457 static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file * file, in hci_uart_tty_ioctl() 511 static ssize_t hci_uart_tty_read(struct tty_struct *tty, struct file *file, in hci_uart_tty_read() 517 static ssize_t hci_uart_tty_write(struct tty_struct *tty, struct file *file, in hci_uart_tty_write() 523 static unsigned int hci_uart_tty_poll(struct tty_struct *tty, in hci_uart_tty_poll()
|
/linux-3.3/drivers/usb/serial/ |
D | usb-serial.c | 198 static int serial_install(struct tty_driver *driver, struct tty_struct *tty) in serial_install() 250 static int serial_activate(struct tty_port *tport, struct tty_struct *tty) in serial_activate() 270 static int serial_open(struct tty_struct *tty, struct file *filp) in serial_open() 302 static void serial_hangup(struct tty_struct *tty) in serial_hangup() 309 static void serial_close(struct tty_struct *tty, struct file *filp) in serial_close() 326 static void serial_cleanup(struct tty_struct *tty) in serial_cleanup() 354 static int serial_write(struct tty_struct *tty, const unsigned char *buf, in serial_write() 373 static int serial_write_room(struct tty_struct *tty) in serial_write_room() 381 static int serial_chars_in_buffer(struct tty_struct *tty) in serial_chars_in_buffer() 394 static void serial_throttle(struct tty_struct *tty) in serial_throttle() [all …]
|
/linux-3.3/net/bluetooth/rfcomm/ |
D | tty.c | 67 struct tty_struct *tty; member 555 struct tty_struct *tty; in rfcomm_dev_data_ready() local 637 struct tty_struct *tty = dev->tty; in rfcomm_tty_wakeup() local 647 struct tty_struct *tty = dev->tty; in rfcomm_tty_copy_pending() local 669 static int rfcomm_tty_open(struct tty_struct *tty, struct file *filp) in rfcomm_tty_open() 744 static void rfcomm_tty_close(struct tty_struct *tty, struct file *filp) in rfcomm_tty_close() 780 static int rfcomm_tty_write(struct tty_struct *tty, const unsigned char *buf, int count) in rfcomm_tty_write() 814 static int rfcomm_tty_write_room(struct tty_struct *tty) in rfcomm_tty_write_room() 831 static int rfcomm_tty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) in rfcomm_tty_ioctl() 876 static void rfcomm_tty_set_termios(struct tty_struct *tty, struct ktermios *old) in rfcomm_tty_set_termios() [all …]
|
/linux-3.3/drivers/tty/hvc/ |
D | hvc_console.c | 297 static void hvc_unthrottle(struct tty_struct *tty) in hvc_unthrottle() 306 static int hvc_open(struct tty_struct *tty, struct file * filp) in hvc_open() 355 static void hvc_close(struct tty_struct *tty, struct file * filp) in hvc_close() 403 static void hvc_hangup(struct tty_struct *tty) in hvc_hangup() 471 static int hvc_write(struct tty_struct *tty, const unsigned char *buf, int count) in hvc_write() 524 struct tty_struct *tty; in hvc_set_winsz() local 547 static int hvc_write_room(struct tty_struct *tty) in hvc_write_room() 557 static int hvc_chars_in_buffer(struct tty_struct *tty) in hvc_chars_in_buffer() 583 struct tty_struct *tty; in hvc_poll() local 751 static int hvc_tiocmget(struct tty_struct *tty) in hvc_tiocmget() [all …]
|
/linux-3.3/drivers/mmc/card/ |
D | sdio_uart.c | 70 struct tty_struct *tty; member 148 struct tty_struct *tty; in sdio_uart_port_remove() local 395 struct tty_struct *tty = tty_port_tty_get(&port->port); in sdio_uart_receive_chars() local 455 struct tty_struct *tty; in sdio_uart_transmit_chars() local 493 struct tty_struct *tty; in sdio_uart_check_modem_status() local 625 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) in sdio_uart_activate() 749 static int sdio_uart_install(struct tty_driver *driver, struct tty_struct *tty) in sdio_uart_install() 774 static void sdio_uart_cleanup(struct tty_struct *tty) in sdio_uart_cleanup() 785 static int sdio_uart_open(struct tty_struct *tty, struct file *filp) in sdio_uart_open() 791 static void sdio_uart_close(struct tty_struct *tty, struct file * filp) in sdio_uart_close() [all …]
|
/linux-3.3/drivers/isdn/capi/ |
D | capi.c | 304 struct tty_struct *tty; in capincci_free_minor() local 321 struct tty_struct *tty; in capincci_minor_opencount() local 410 struct tty_struct *tty; in handle_recv_skb() local 494 struct tty_struct *tty; in handle_minor_send() local 578 struct tty_struct *tty; in capi_recv_message() local 1014 capinc_tty_install(struct tty_driver *driver, struct tty_struct *tty) in capinc_tty_install() 1030 static void capinc_tty_cleanup(struct tty_struct *tty) in capinc_tty_cleanup() 1037 static int capinc_tty_open(struct tty_struct *tty, struct file *filp) in capinc_tty_open() 1050 static void capinc_tty_close(struct tty_struct *tty, struct file *filp) in capinc_tty_close() 1057 static int capinc_tty_write(struct tty_struct *tty, in capinc_tty_write() [all …]
|