Home
last modified time | relevance | path

Searched defs:tty (Results 1 – 25 of 194) sorted by relevance

12345678

/drivers/tty/
Dn_tty.c76 static inline int tty_put_user(struct tty_struct *tty, unsigned char x, in tty_put_user()
93 static void n_tty_set_room(struct tty_struct *tty) in n_tty_set_room()
115 static void put_tty_queue_nolock(unsigned char c, struct tty_struct *tty) in put_tty_queue_nolock()
134 static void put_tty_queue(unsigned char c, struct tty_struct *tty) in put_tty_queue()
155 static void check_unthrottle(struct tty_struct *tty) in check_unthrottle()
172 static void reset_buffer_flags(struct tty_struct *tty) in reset_buffer_flags()
201 static void n_tty_flush_buffer(struct tty_struct *tty) in n_tty_flush_buffer()
228 static ssize_t n_tty_chars_in_buffer(struct tty_struct *tty) in n_tty_chars_in_buffer()
267 static inline int is_continuation(unsigned char c, struct tty_struct *tty) in is_continuation()
294 static int do_output_char(unsigned char c, struct tty_struct *tty, int space) in do_output_char()
[all …]
Dtty_io.c182 void free_tty_struct(struct tty_struct *tty) in free_tty_struct()
210 void tty_add_file(struct tty_struct *tty, struct file *file) in tty_add_file()
248 #define TTY_NUMBER(tty) ((tty)->index + (tty)->driver->name_base) argument
261 char *tty_name(struct tty_struct *tty, char *buf) in tty_name()
272 int tty_paranoia_check(struct tty_struct *tty, struct inode *inode, in tty_paranoia_check()
292 static int check_tty_count(struct tty_struct *tty, const char *routine) in check_tty_count()
405 int tty_check_change(struct tty_struct *tty) in tty_check_change()
516 void tty_wakeup(struct tty_struct *tty) in tty_wakeup()
555 void __tty_hangup(struct tty_struct *tty) in __tty_hangup()
677 struct tty_struct *tty = in do_tty_hangup() local
[all …]
Dtty_ioctl.c49 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()
126 void tty_unthrottle(struct tty_struct *tty) in tty_unthrottle()
147 void tty_wait_until_sent(struct tty_struct *tty, long timeout) in tty_wait_until_sent()
411 void tty_encode_baud_rate(struct tty_struct *tty, speed_t ibaud, speed_t obaud) in tty_encode_baud_rate()
428 speed_t tty_get_baud_rate(struct tty_struct *tty) in tty_get_baud_rate()
498 int tty_set_termios(struct tty_struct *tty, struct ktermios *new_termios) in tty_set_termios()
571 static int set_termios(struct tty_struct *tty, void __user *arg, int opt) in set_termios()
[all …]
Dpty.c36 static void pty_close(struct tty_struct *tty, struct file *filp) in pty_close()
75 static void pty_unthrottle(struct tty_struct *tty) in pty_unthrottle()
110 static int pty_write(struct tty_struct *tty, const unsigned char *buf, int c) in pty_write()
137 static int pty_write_room(struct tty_struct *tty) in pty_write_room()
152 static int pty_chars_in_buffer(struct tty_struct *tty) in pty_chars_in_buffer()
158 static int pty_set_lock(struct tty_struct *tty, int __user *arg) in pty_set_lock()
171 static int pty_signal(struct tty_struct *tty, int sig) in pty_signal()
187 static void pty_flush_buffer(struct tty_struct *tty) in pty_flush_buffer()
203 static int pty_open(struct tty_struct *tty, struct file *filp) in pty_open()
225 static void pty_set_termios(struct tty_struct *tty, in pty_set_termios()
[all …]
Dtty_buffer.c30 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 …]
Dtty_ldisc.c267 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 …]
Damiserial.c187 static void rs_stop(struct tty_struct *tty) in rs_stop()
207 static void rs_start(struct tty_struct *tty) in rs_start()
254 struct tty_struct *tty = info->tport.tty; in receive_chars() local
522 static int startup(struct tty_struct *tty, struct serial_state *info) in startup()
609 static void shutdown(struct tty_struct *tty, struct serial_state *info) in shutdown()
664 static void change_speed(struct tty_struct *tty, struct serial_state *info, in change_speed()
802 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char()
829 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars()
853 static int rs_write(struct tty_struct * tty, const unsigned char *buf, int count) in rs_write()
900 static int rs_write_room(struct tty_struct *tty) in rs_write_room()
[all …]
Dn_hdlc.c148 struct tty_struct *tty; member
196 #define tty2n_hdlc(tty) ((struct n_hdlc *) ((tty)->disc_data)) argument
199 static void flush_rx_queue(struct tty_struct *tty) in flush_rx_queue()
208 static void flush_tx_queue(struct tty_struct *tty) in flush_tx_queue()
245 struct tty_struct *tty = n_hdlc2tty (n_hdlc); in n_hdlc_release() local
299 static void n_hdlc_tty_close(struct tty_struct *tty) in n_hdlc_tty_close()
337 static int n_hdlc_tty_open (struct tty_struct *tty) in n_hdlc_tty_open()
386 static void n_hdlc_send_frames(struct n_hdlc *n_hdlc, struct tty_struct *tty) in n_hdlc_send_frames()
482 static void n_hdlc_tty_wakeup(struct tty_struct *tty) in n_hdlc_tty_wakeup()
511 static void n_hdlc_tty_receive(struct tty_struct *tty, const __u8 *data, in n_hdlc_tty_receive()
[all …]
Disicom.c408 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 …]
Dtty_port.c89 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()
Dbfin_jtag_comm.c97 struct tty_struct *tty; in bfin_jc_emudat_manager() local
123 struct tty_struct *tty; in bfin_jc_emudat_manager() local
150 bfin_jc_open(struct tty_struct *tty, struct file *filp) in bfin_jc_open()
162 bfin_jc_close(struct tty_struct *tty, struct file *filp) in bfin_jc_close()
190 bfin_jc_write(struct tty_struct *tty, const unsigned char *buf, int count) in bfin_jc_write()
201 bfin_jc_flush_chars(struct tty_struct *tty) in bfin_jc_flush_chars()
207 bfin_jc_write_room(struct tty_struct *tty) in bfin_jc_write_room()
213 bfin_jc_chars_in_buffer(struct tty_struct *tty) in bfin_jc_chars_in_buffer()
219 bfin_jc_wait_until_sent(struct tty_struct *tty, int timeout) in bfin_jc_wait_until_sent()
/drivers/tty/ipwireless/
Dtty.c76 static void report_registering(struct ipw_tty *tty) in report_registering()
84 static void report_deregistering(struct ipw_tty *tty) in report_deregistering()
109 struct ipw_tty *tty = get_tty(linux_tty->index); in ipw_open() local
137 static void do_ipw_close(struct ipw_tty *tty) in do_ipw_close()
156 struct ipw_tty *tty = linux_tty->driver_data; in ipw_hangup() local
178 void ipwireless_tty_received(struct ipw_tty *tty, unsigned char *data, in ipwireless_tty_received()
214 struct ipw_tty *tty = callback_data; in ipw_write_packet_sent_callback() local
226 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write() local
266 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write_room() local
283 static int ipwireless_get_serial_info(struct ipw_tty *tty, in ipwireless_get_serial_info()
[all …]
/drivers/isdn/gigaset/
Dinterface.c146 static int if_open(struct tty_struct *tty, struct file *filp) in if_open()
174 static void if_close(struct tty_struct *tty, struct file *filp) in if_close()
199 static int if_ioctl(struct tty_struct *tty, in if_ioctl()
266 static int if_tiocmget(struct tty_struct *tty) in if_tiocmget()
283 static int if_tiocmset(struct tty_struct *tty, in if_tiocmset()
310 static int if_write(struct tty_struct *tty, const unsigned char *buf, int count) in if_write()
355 static int if_write_room(struct tty_struct *tty) in if_write_room()
379 static int if_chars_in_buffer(struct tty_struct *tty) in if_chars_in_buffer()
400 static void if_throttle(struct tty_struct *tty) in if_throttle()
416 static void if_unthrottle(struct tty_struct *tty) in if_unthrottle()
[all …]
Dser-gigaset.c47 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 …]
/drivers/net/irda/
Dirtty-sir.c90 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/tty/serial/
Dmsm_smd_tty.c57 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()
Dserial_core.c81 static void uart_stop(struct tty_struct *tty) in uart_stop()
92 static void __uart_start(struct tty_struct *tty) in __uart_start()
105 static void uart_start(struct tty_struct *tty) in uart_start()
137 static int uart_port_startup(struct tty_struct *tty, struct uart_state *state, in uart_port_startup()
201 static int uart_startup(struct tty_struct *tty, struct uart_state *state, in uart_startup()
231 static void uart_shutdown(struct tty_struct *tty, struct uart_state *state) in uart_shutdown()
435 static void uart_change_speed(struct tty_struct *tty, struct uart_state *state, in uart_change_speed()
486 static int uart_put_char(struct tty_struct *tty, unsigned char ch) in uart_put_char()
493 static void uart_flush_chars(struct tty_struct *tty) in uart_flush_chars()
498 static int uart_write(struct tty_struct *tty, in uart_write()
[all …]
D68328serial.c176 static void rs_stop(struct tty_struct *tty) in rs_stop()
207 static void rs_start(struct tty_struct *tty) in rs_start()
248 struct tty_struct *tty = info->tty; in receive_chars() local
597 static void rs_set_ldisc(struct tty_struct *tty) in rs_set_ldisc()
609 static void rs_flush_chars(struct tty_struct *tty)
656 static int rs_write(struct tty_struct * tty,
719 static int rs_write_room(struct tty_struct *tty)
732 static int rs_chars_in_buffer(struct tty_struct *tty)
741 static void rs_flush_buffer(struct tty_struct *tty)
762 static void rs_throttle(struct tty_struct * tty)
[all …]
/drivers/bluetooth/
Dhci_ldisc.c121 struct tty_struct *tty = hu->tty; in hci_uart_tx_wakeup() local
176 struct tty_struct *tty = hu->tty; in hci_uart_flush() local
242 static int hci_uart_tty_open(struct tty_struct *tty) in hci_uart_tty_open()
286 static void hci_uart_tty_close(struct tty_struct *tty) in hci_uart_tty_close()
321 static void hci_uart_tty_wakeup(struct tty_struct *tty) in hci_uart_tty_wakeup()
351 static void hci_uart_tty_receive(struct tty_struct *tty, const u8 *data, char *flags, int count) in hci_uart_tty_receive()
450 static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file * file, in hci_uart_tty_ioctl()
504 static ssize_t hci_uart_tty_read(struct tty_struct *tty, struct file *file, in hci_uart_tty_read()
510 static ssize_t hci_uart_tty_write(struct tty_struct *tty, struct file *file, in hci_uart_tty_write()
516 static unsigned int hci_uart_tty_poll(struct tty_struct *tty, in hci_uart_tty_poll()
/drivers/usb/serial/
Dusb-serial.c199 static int serial_install(struct tty_driver *driver, struct tty_struct *tty) in serial_install()
247 static int serial_activate(struct tty_port *tport, struct tty_struct *tty) in serial_activate()
267 static int serial_open(struct tty_struct *tty, struct file *filp) in serial_open()
299 static void serial_hangup(struct tty_struct *tty) in serial_hangup()
306 static void serial_close(struct tty_struct *tty, struct file *filp) in serial_close()
323 static void serial_cleanup(struct tty_struct *tty) in serial_cleanup()
351 static int serial_write(struct tty_struct *tty, const unsigned char *buf, in serial_write()
370 static int serial_write_room(struct tty_struct *tty) in serial_write_room()
378 static int serial_chars_in_buffer(struct tty_struct *tty) in serial_chars_in_buffer()
391 static void serial_throttle(struct tty_struct *tty) in serial_throttle()
[all …]
Dkeyspan_pda.c121 struct tty_struct *tty = tty_port_tty_get(&port->port); in keyspan_pda_wakeup_write() local
156 struct tty_struct *tty; in keyspan_pda_rx_interrupt() local
220 static void keyspan_pda_rx_throttle(struct tty_struct *tty) in keyspan_pda_rx_throttle()
234 static void keyspan_pda_rx_unthrottle(struct tty_struct *tty) in keyspan_pda_rx_unthrottle()
303 static void keyspan_pda_break_ctl(struct tty_struct *tty, int break_state) in keyspan_pda_break_ctl()
328 static void keyspan_pda_set_termios(struct tty_struct *tty, in keyspan_pda_set_termios()
406 static int keyspan_pda_tiocmget(struct tty_struct *tty) in keyspan_pda_tiocmget()
427 static int keyspan_pda_tiocmset(struct tty_struct *tty, in keyspan_pda_tiocmset()
452 static int keyspan_pda_write(struct tty_struct *tty, in keyspan_pda_write()
583 static int keyspan_pda_write_room(struct tty_struct *tty) in keyspan_pda_write_room()
[all …]
/drivers/mmc/card/
Dsdio_uart.c70 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()
771 static void sdio_uart_cleanup(struct tty_struct *tty) in sdio_uart_cleanup()
782 static int sdio_uart_open(struct tty_struct *tty, struct file *filp) in sdio_uart_open()
788 static void sdio_uart_close(struct tty_struct *tty, struct file * filp) in sdio_uart_close()
[all …]
/drivers/isdn/capi/
Dcapi.c304 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()
1026 static void capinc_tty_cleanup(struct tty_struct *tty) in capinc_tty_cleanup()
1033 static int capinc_tty_open(struct tty_struct *tty, struct file *filp) in capinc_tty_open()
1046 static void capinc_tty_close(struct tty_struct *tty, struct file *filp) in capinc_tty_close()
1053 static int capinc_tty_write(struct tty_struct *tty, in capinc_tty_write()
[all …]
/drivers/tty/hvc/
Dhvc_console.c297 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 …]
/drivers/usb/class/
Dcdc-acm.c296 struct tty_struct *tty; in acm_ctrl_irq() local
414 struct tty_struct *tty; in acm_process_read_urb() local
486 struct tty_struct *tty; in acm_softint() local
501 static int acm_tty_install(struct tty_driver *driver, struct tty_struct *tty) in acm_tty_install()
525 static int acm_tty_open(struct tty_struct *tty, struct file *filp) in acm_tty_open()
534 static int acm_port_activate(struct tty_port *port, struct tty_struct *tty) in acm_port_activate()
632 static void acm_tty_cleanup(struct tty_struct *tty) in acm_tty_cleanup()
639 static void acm_tty_hangup(struct tty_struct *tty) in acm_tty_hangup()
646 static void acm_tty_close(struct tty_struct *tty, struct file *filp) in acm_tty_close()
653 static int acm_tty_write(struct tty_struct *tty, in acm_tty_write()
[all …]

12345678