/drivers/tty/ |
D | pty.c | 35 static void pty_close(struct tty_struct *tty, struct file *filp) in pty_close() 82 static void pty_unthrottle(struct tty_struct *tty) in pty_unthrottle() 117 static int pty_write(struct tty_struct *tty, const unsigned char *buf, int c) in pty_write() 144 static int pty_write_room(struct tty_struct *tty) in pty_write_room() 159 static int pty_chars_in_buffer(struct tty_struct *tty) in pty_chars_in_buffer() 165 static int pty_set_lock(struct tty_struct *tty, int __user *arg) in pty_set_lock() 177 static int pty_get_lock(struct tty_struct *tty, int __user *arg) in pty_get_lock() 184 static int pty_set_pktmode(struct tty_struct *tty, int __user *arg) in pty_set_pktmode() 206 static int pty_get_pktmode(struct tty_struct *tty, int __user *arg) in pty_get_pktmode() 213 static int pty_signal(struct tty_struct *tty, int sig) in pty_signal() [all …]
|
D | tty_ioctl.c | 49 int tty_chars_in_buffer(struct tty_struct *tty) in tty_chars_in_buffer() 69 int tty_write_room(struct tty_struct *tty) in tty_write_room() 85 void tty_driver_flush_buffer(struct tty_struct *tty) in tty_driver_flush_buffer() 102 void tty_throttle(struct tty_struct *tty) in tty_throttle() 127 void tty_unthrottle(struct tty_struct *tty) in tty_unthrottle() 150 int tty_throttle_safe(struct tty_struct *tty) in tty_throttle_safe() 181 int tty_unthrottle_safe(struct tty_struct *tty) in tty_unthrottle_safe() 211 void tty_wait_until_sent(struct tty_struct *tty, long timeout) in tty_wait_until_sent() 475 void tty_encode_baud_rate(struct tty_struct *tty, speed_t ibaud, speed_t obaud) in tty_encode_baud_rate() 534 int tty_set_termios(struct tty_struct *tty, struct ktermios *new_termios) in tty_set_termios() [all …]
|
D | tty_io.c | 182 void free_tty_struct(struct tty_struct *tty) in free_tty_struct() 212 void tty_add_file(struct tty_struct *tty, struct file *file) in tty_add_file() 250 #define TTY_NUMBER(tty) ((tty)->index + (tty)->driver->name_base) argument 263 char *tty_name(struct tty_struct *tty, char *buf) in tty_name() 274 int tty_paranoia_check(struct tty_struct *tty, struct inode *inode, in tty_paranoia_check() 294 static int check_tty_count(struct tty_struct *tty, const char *routine) in check_tty_count() 407 int tty_check_change(struct tty_struct *tty) in tty_check_change() 518 void tty_wakeup(struct tty_struct *tty) in tty_wakeup() 547 static int tty_signal_session_leader(struct tty_struct *tty, int exit_session) in tty_signal_session_leader() 611 static void __tty_hangup(struct tty_struct *tty, int exit_session) in __tty_hangup() [all …]
|
D | tty_ldisc.c | 26 #define tty_ldisc_debug(tty, f, args...) ({ \ argument 31 #define tty_ldisc_debug(tty, f, args...) argument 265 static struct tty_ldisc *tty_ldisc_try(struct tty_struct *tty) in tty_ldisc_try() 297 struct tty_ldisc *tty_ldisc_ref_wait(struct tty_struct *tty) in tty_ldisc_ref_wait() 318 struct tty_ldisc *tty_ldisc_ref(struct tty_struct *tty) in tty_ldisc_ref() 366 static void tty_ldisc_enable(struct tty_struct *tty) in tty_ldisc_enable() 382 void tty_ldisc_flush(struct tty_struct *tty) in tty_ldisc_flush() 410 static void tty_set_termios_ldisc(struct tty_struct *tty, int num) in tty_set_termios_ldisc() 431 static int tty_ldisc_open(struct tty_struct *tty, struct tty_ldisc *ld) in tty_ldisc_open() 454 static void tty_ldisc_close(struct tty_struct *tty, struct tty_ldisc *ld) in tty_ldisc_close() [all …]
|
D | tty_port.c | 170 struct tty_struct *tty; in tty_port_tty_get() local 188 void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty) in tty_port_tty_set() 200 static void tty_port_shutdown(struct tty_port *port, struct tty_struct *tty) in tty_port_shutdown() 231 struct tty_struct *tty; in tty_port_hangup() local 257 struct tty_struct *tty = tty_port_tty_get(port); in tty_port_tty_hangup() local 273 struct tty_struct *tty = tty_port_tty_get(port); in tty_port_tty_wakeup() local 352 struct tty_struct *tty, struct file *filp) in tty_port_block_til_ready() 445 static void tty_port_drain_delay(struct tty_port *port, struct tty_struct *tty) in tty_port_drain_delay() 460 struct tty_struct *tty, struct file *filp) in tty_port_close_start() 511 void tty_port_close_end(struct tty_port *port, struct tty_struct *tty) in tty_port_close_end() [all …]
|
D | n_tty.c | 107 static inline int tty_put_user(struct tty_struct *tty, unsigned char x, in tty_put_user() 126 static void n_tty_set_room(struct tty_struct *tty) in n_tty_set_room() 223 static void n_tty_packet_mode_flush(struct tty_struct *tty) in n_tty_packet_mode_flush() 246 static void n_tty_flush_buffer(struct tty_struct *tty) in n_tty_flush_buffer() 265 static ssize_t n_tty_chars_in_buffer(struct tty_struct *tty) in n_tty_chars_in_buffer() 305 static inline int is_continuation(unsigned char c, struct tty_struct *tty) in is_continuation() 332 static int do_output_char(unsigned char c, struct tty_struct *tty, int space) in do_output_char() 407 static int process_output(unsigned char c, struct tty_struct *tty) in process_output() 443 static ssize_t process_output_block(struct tty_struct *tty, in process_output_block() 528 static void process_echoes(struct tty_struct *tty) in process_echoes() [all …]
|
D | amiserial.c | 187 static void rs_stop(struct tty_struct *tty) in rs_stop() 207 static void rs_start(struct tty_struct *tty) in rs_start() 516 static int startup(struct tty_struct *tty, struct serial_state *info) in startup() 603 static void shutdown(struct tty_struct *tty, struct serial_state *info) in shutdown() 658 static void change_speed(struct tty_struct *tty, struct serial_state *info, in change_speed() 796 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char() 823 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars() 847 static int rs_write(struct tty_struct * tty, const unsigned char *buf, int count) in rs_write() 894 static int rs_write_room(struct tty_struct *tty) in rs_write_room() 903 static int rs_chars_in_buffer(struct tty_struct *tty) in rs_chars_in_buffer() [all …]
|
D | tty_mutex.c | 18 static void __lockfunc tty_lock_nested(struct tty_struct *tty, in tty_lock_nested() 30 void __lockfunc tty_lock(struct tty_struct *tty) in tty_lock() 36 void __lockfunc tty_unlock(struct tty_struct *tty) in tty_unlock() 52 void __lockfunc tty_lock_pair(struct tty_struct *tty, in tty_lock_pair() 66 void __lockfunc tty_unlock_pair(struct tty_struct *tty, in tty_unlock_pair()
|
D | n_hdlc.c | 146 struct tty_struct *tty; member 194 #define tty2n_hdlc(tty) ((struct n_hdlc *) ((tty)->disc_data)) argument 197 static void flush_rx_queue(struct tty_struct *tty) in flush_rx_queue() 206 static void flush_tx_queue(struct tty_struct *tty) in flush_tx_queue() 236 struct tty_struct *tty = n_hdlc2tty (n_hdlc); in n_hdlc_release() local 289 static void n_hdlc_tty_close(struct tty_struct *tty) in n_hdlc_tty_close() 327 static int n_hdlc_tty_open (struct tty_struct *tty) in n_hdlc_tty_open() 376 static void n_hdlc_send_frames(struct n_hdlc *n_hdlc, struct tty_struct *tty) in n_hdlc_send_frames() 465 static void n_hdlc_tty_wakeup(struct tty_struct *tty) in n_hdlc_tty_wakeup() 494 static void n_hdlc_tty_receive(struct tty_struct *tty, const __u8 *data, in n_hdlc_tty_receive() [all …]
|
D | isicom.c | 408 struct tty_struct *tty; in isicom_tx() local 519 struct tty_struct *tty; in isicom_interrupt() local 683 static void isicom_config_port(struct tty_struct *tty) in isicom_config_port() 811 static int isicom_activate(struct tty_port *tport, struct tty_struct *tty) in isicom_activate() 844 static struct tty_port *isicom_find_port(struct tty_struct *tty) in isicom_find_port() 868 static int isicom_open(struct tty_struct *tty, struct file *filp) in isicom_open() 899 static void isicom_flush_buffer(struct tty_struct *tty) in isicom_flush_buffer() 931 static void isicom_close(struct tty_struct *tty, struct file *filp) in isicom_close() 946 static int isicom_write(struct tty_struct *tty, const unsigned char *buf, in isicom_write() 980 static int isicom_put_char(struct tty_struct *tty, unsigned char ch) in isicom_put_char() [all …]
|
/drivers/tty/ipwireless/ |
D | tty.c | 91 struct ipw_tty *tty = get_tty(linux_tty->index); in ipw_open() local 119 static void do_ipw_close(struct ipw_tty *tty) in do_ipw_close() 138 struct ipw_tty *tty = linux_tty->driver_data; in ipw_hangup() local 160 void ipwireless_tty_received(struct ipw_tty *tty, unsigned char *data, in ipwireless_tty_received() 190 struct ipw_tty *tty = callback_data; in ipw_write_packet_sent_callback() local 202 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write() local 242 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write_room() local 259 static int ipwireless_get_serial_info(struct ipw_tty *tty, in ipwireless_get_serial_info() 286 struct ipw_tty *tty = linux_tty->driver_data; in ipw_chars_in_buffer() local 297 static int get_control_lines(struct ipw_tty *tty) in get_control_lines() [all …]
|
/drivers/isdn/gigaset/ |
D | interface.c | 116 static int if_open(struct tty_struct *tty, struct file *filp) in if_open() 144 static void if_close(struct tty_struct *tty, struct file *filp) in if_close() 169 static int if_ioctl(struct tty_struct *tty, in if_ioctl() 236 static int if_tiocmget(struct tty_struct *tty) in if_tiocmget() 253 static int if_tiocmset(struct tty_struct *tty, in if_tiocmset() 280 static int if_write(struct tty_struct *tty, const unsigned char *buf, int count) in if_write() 325 static int if_write_room(struct tty_struct *tty) in if_write_room() 349 static int if_chars_in_buffer(struct tty_struct *tty) in if_chars_in_buffer() 370 static void if_throttle(struct tty_struct *tty) in if_throttle() 386 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 432 struct tty_struct *tty = cs->hw.ser->tty; in gigaset_set_modem_ctrl() local 479 static struct cardstate *cs_get(struct tty_struct *tty) in cs_get() 502 gigaset_tty_open(struct tty_struct *tty) in gigaset_tty_open() 556 gigaset_tty_close(struct tty_struct *tty) in gigaset_tty_close() 594 static int gigaset_tty_hangup(struct tty_struct *tty) in gigaset_tty_hangup() 605 gigaset_tty_read(struct tty_struct *tty, struct file *file, in gigaset_tty_read() 616 gigaset_tty_write(struct tty_struct *tty, struct file *file, in gigaset_tty_write() [all …]
|
/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 …]
|
/drivers/staging/dgrp/ |
D | dgrp_tty.c | 594 static int dgrp_tty_open(struct tty_struct *tty, struct file *file) in dgrp_tty_open() 964 static void dgrp_tty_close(struct tty_struct *tty, struct file *file) in dgrp_tty_close() 1422 static int dgrp_tty_write(struct tty_struct *tty, in dgrp_tty_write() 1740 static int dgrp_tty_put_char(struct tty_struct *tty, unsigned char new_char) in dgrp_tty_put_char() 1858 static void dgrp_tty_flush_buffer(struct tty_struct *tty) in dgrp_tty_flush_buffer() 1894 static int dgrp_tty_write_room(struct tty_struct *tty) in dgrp_tty_write_room() 1941 static int dgrp_tty_chars_in_buffer(struct tty_struct *tty) in dgrp_tty_chars_in_buffer() 2061 static ushort tty_to_ch_flags(struct tty_struct *tty, char flagtype) in tty_to_ch_flags() 2135 static int dgrp_tty_send_break(struct tty_struct *tty, int msec) in dgrp_tty_send_break() 2183 static int dgrp_tty_tiocmget(struct tty_struct *tty) in dgrp_tty_tiocmget() [all …]
|
/drivers/tty/hvc/ |
D | hvc_console.c | 307 static void hvc_unthrottle(struct tty_struct *tty) in hvc_unthrottle() 312 static int hvc_install(struct tty_driver *driver, struct tty_struct *tty) in hvc_install() 333 static int hvc_open(struct tty_struct *tty, struct file * filp) in hvc_open() 371 static void hvc_close(struct tty_struct *tty, struct file * filp) in hvc_close() 416 static void hvc_cleanup(struct tty_struct *tty) in hvc_cleanup() 423 static void hvc_hangup(struct tty_struct *tty) in hvc_hangup() 483 static int hvc_write(struct tty_struct *tty, const unsigned char *buf, int count) in hvc_write() 537 struct tty_struct *tty; in hvc_set_winsz() local 559 static int hvc_write_room(struct tty_struct *tty) in hvc_write_room() 569 static int hvc_chars_in_buffer(struct tty_struct *tty) in hvc_chars_in_buffer() [all …]
|
/drivers/tty/serial/ |
D | 68328serial.c | 212 static void rs_stop(struct tty_struct *tty) in rs_stop() 244 static void rs_start(struct tty_struct *tty) in rs_start() 311 static void transmit_chars(struct m68k_serial *info, struct tty_struct *tty) in transmit_chars() 350 struct tty_struct *tty = tty_port_tty_get(&info->tport); in rs_interrupt() local 373 static int startup(struct m68k_serial *info, struct tty_struct *tty) in startup() 427 static void shutdown(struct m68k_serial *info, struct tty_struct *tty) in shutdown() 502 static void change_speed(struct m68k_serial *info, struct tty_struct *tty) in change_speed() 605 static void rs_set_ldisc(struct tty_struct *tty) in rs_set_ldisc() 617 static void rs_flush_chars(struct tty_struct *tty) 663 static int rs_write(struct tty_struct * tty, [all …]
|
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() 129 static int smd_tty_open(struct tty_struct *tty, struct file *f) in smd_tty_open() 136 static void smd_tty_close(struct tty_struct *tty, struct file *f) in smd_tty_close() 143 static int smd_tty_write(struct tty_struct *tty, in smd_tty_write() 160 static int smd_tty_write_room(struct tty_struct *tty) in smd_tty_write_room() 166 static int smd_tty_chars_in_buffer(struct tty_struct *tty) in smd_tty_chars_in_buffer() 172 static void smd_tty_unthrottle(struct tty_struct *tty) in smd_tty_unthrottle()
|
D | serial_core.c | 82 static void uart_stop(struct tty_struct *tty) in uart_stop() 93 static void __uart_start(struct tty_struct *tty) in __uart_start() 106 static void uart_start(struct tty_struct *tty) in uart_start() 138 static int uart_port_startup(struct tty_struct *tty, struct uart_state *state, in uart_port_startup() 202 static int uart_startup(struct tty_struct *tty, struct uart_state *state, in uart_startup() 232 static void uart_shutdown(struct tty_struct *tty, struct uart_state *state) in uart_shutdown() 436 static void uart_change_speed(struct tty_struct *tty, struct uart_state *state, in uart_change_speed() 487 static int uart_put_char(struct tty_struct *tty, unsigned char ch) in uart_put_char() 494 static void uart_flush_chars(struct tty_struct *tty) in uart_flush_chars() 499 static int uart_write(struct tty_struct *tty, in uart_write() [all …]
|
/drivers/bluetooth/ |
D | hci_ldisc.c | 121 struct tty_struct *tty = hu->tty; in hci_uart_tx_wakeup() local 205 struct tty_struct *tty = hu->tty; in hci_uart_flush() local 271 static int hci_uart_tty_open(struct tty_struct *tty) in hci_uart_tty_open() 312 static void hci_uart_tty_close(struct tty_struct *tty) in hci_uart_tty_close() 349 static void hci_uart_tty_wakeup(struct tty_struct *tty) in hci_uart_tty_wakeup() 379 static void hci_uart_tty_receive(struct tty_struct *tty, const u8 *data, char *flags, int count) in hci_uart_tty_receive() 486 static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file * file, in hci_uart_tty_ioctl() 540 static ssize_t hci_uart_tty_read(struct tty_struct *tty, struct file *file, in hci_uart_tty_read() 546 static ssize_t hci_uart_tty_write(struct tty_struct *tty, struct file *file, in hci_uart_tty_write() 552 static unsigned int hci_uart_tty_poll(struct tty_struct *tty, in hci_uart_tty_poll()
|
/drivers/usb/serial/ |
D | usb-serial.c | 181 static int serial_install(struct tty_driver *driver, struct tty_struct *tty) in serial_install() 227 static int serial_port_activate(struct tty_port *tport, struct tty_struct *tty) in serial_port_activate() 247 static int serial_open(struct tty_struct *tty, struct file *filp) in serial_open() 276 static void serial_hangup(struct tty_struct *tty) in serial_hangup() 285 static void serial_close(struct tty_struct *tty, struct file *filp) in serial_close() 303 static void serial_cleanup(struct tty_struct *tty) in serial_cleanup() 331 static int serial_write(struct tty_struct *tty, const unsigned char *buf, in serial_write() 349 static int serial_write_room(struct tty_struct *tty) in serial_write_room() 358 static int serial_chars_in_buffer(struct tty_struct *tty) in serial_chars_in_buffer() 371 static void serial_wait_until_sent(struct tty_struct *tty, int timeout) in serial_wait_until_sent() [all …]
|
D | generic.c | 84 int usb_serial_generic_open(struct tty_struct *tty, struct usb_serial_port *port) in usb_serial_generic_open() 200 int usb_serial_generic_write(struct tty_struct *tty, in usb_serial_generic_write() 221 int usb_serial_generic_write_room(struct tty_struct *tty) in usb_serial_generic_write_room() 238 int usb_serial_generic_chars_in_buffer(struct tty_struct *tty) in usb_serial_generic_chars_in_buffer() 256 void usb_serial_generic_wait_until_sent(struct tty_struct *tty, long timeout) in usb_serial_generic_wait_until_sent() 423 void usb_serial_generic_throttle(struct tty_struct *tty) in usb_serial_generic_throttle() 436 void usb_serial_generic_unthrottle(struct tty_struct *tty) in usb_serial_generic_unthrottle() 452 static bool usb_serial_generic_msr_changed(struct tty_struct *tty, in usb_serial_generic_msr_changed() 486 int usb_serial_generic_tiocmiwait(struct tty_struct *tty, unsigned long arg) in usb_serial_generic_tiocmiwait() 510 int usb_serial_generic_get_icount(struct tty_struct *tty, in usb_serial_generic_get_icount() [all …]
|
/drivers/isdn/capi/ |
D | capi.c | 303 struct tty_struct *tty; in capincci_free_minor() local 320 struct tty_struct *tty; in capincci_minor_opencount() local 404 struct tty_struct *tty; in handle_recv_skb() local 488 struct tty_struct *tty; in handle_minor_send() local 998 capinc_tty_install(struct tty_driver *driver, struct tty_struct *tty) in capinc_tty_install() 1010 static void capinc_tty_cleanup(struct tty_struct *tty) in capinc_tty_cleanup() 1017 static int capinc_tty_open(struct tty_struct *tty, struct file *filp) in capinc_tty_open() 1030 static void capinc_tty_close(struct tty_struct *tty, struct file *filp) in capinc_tty_close() 1037 static int capinc_tty_write(struct tty_struct *tty, in capinc_tty_write() 1072 static int capinc_tty_put_char(struct tty_struct *tty, unsigned char ch) in capinc_tty_put_char() [all …]
|
/drivers/net/ppp/ |
D | ppp_synctty.c | 56 struct tty_struct *tty; member 137 static struct syncppp *sp_get(struct tty_struct *tty) in sp_get() 159 ppp_sync_open(struct tty_struct *tty) in ppp_sync_open() 217 ppp_sync_close(struct tty_struct *tty) in ppp_sync_close() 251 static int ppp_sync_hangup(struct tty_struct *tty) in ppp_sync_hangup() 262 ppp_sync_read(struct tty_struct *tty, struct file *file, in ppp_sync_read() 273 ppp_sync_write(struct tty_struct *tty, struct file *file, in ppp_sync_write() 280 ppp_synctty_ioctl(struct tty_struct *tty, struct file *file, in ppp_synctty_ioctl() 330 ppp_sync_poll(struct tty_struct *tty, struct file *file, poll_table *wait) in ppp_sync_poll() 337 ppp_sync_receive(struct tty_struct *tty, const unsigned char *buf, in ppp_sync_receive() [all …]
|
/drivers/mmc/card/ |
D | sdio_uart.c | 434 struct tty_struct *tty; in sdio_uart_transmit_chars() local 472 struct tty_struct *tty; in sdio_uart_check_modem_status() local 600 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) in sdio_uart_activate() 732 static int sdio_uart_install(struct tty_driver *driver, struct tty_struct *tty) in sdio_uart_install() 754 static void sdio_uart_cleanup(struct tty_struct *tty) in sdio_uart_cleanup() 765 static int sdio_uart_open(struct tty_struct *tty, struct file *filp) in sdio_uart_open() 771 static void sdio_uart_close(struct tty_struct *tty, struct file * filp) in sdio_uart_close() 777 static void sdio_uart_hangup(struct tty_struct *tty) in sdio_uart_hangup() 783 static int sdio_uart_write(struct tty_struct *tty, const unsigned char *buf, in sdio_uart_write() 806 static int sdio_uart_write_room(struct tty_struct *tty) in sdio_uart_write_room() [all …]
|