/linux/include/linux/ |
A D | tty_port.h | 23 struct tty_port; 28 int (*carrier_raised)(struct tty_port *port); 34 void (*shutdown)(struct tty_port *port); 41 void (*destruct)(struct tty_port *port); 46 void (*write_wakeup)(struct tty_port *port); 51 struct tty_port { struct 91 void tty_port_init(struct tty_port *port); 112 void tty_port_destroy(struct tty_port *port); 113 void tty_port_put(struct tty_port *port); 115 static inline struct tty_port *tty_port_get(struct tty_port *port) in tty_port_get() [all …]
|
A D | tty_flip.h | 10 int tty_buffer_set_limit(struct tty_port *port, int limit); 11 unsigned int tty_buffer_space_avail(struct tty_port *port); 12 int tty_buffer_request_room(struct tty_port *port, size_t size); 13 int tty_insert_flip_string_flags(struct tty_port *port, 15 int tty_insert_flip_string_fixed_flag(struct tty_port *port, 19 void tty_flip_buffer_push(struct tty_port *port); 20 void tty_schedule_flip(struct tty_port *port); 23 static inline int tty_insert_flip_char(struct tty_port *port, in tty_insert_flip_char() 39 static inline int tty_insert_flip_string(struct tty_port *port, in tty_insert_flip_string() 48 void tty_buffer_lock_exclusive(struct tty_port *port); [all …]
|
A D | serdev.h | 309 struct tty_port; 313 struct device *serdev_tty_port_register(struct tty_port *port, 316 int serdev_tty_port_unregister(struct tty_port *port); 318 static inline struct device *serdev_tty_port_register(struct tty_port *port, in serdev_tty_port_register() 324 static inline int serdev_tty_port_unregister(struct tty_port *port) in serdev_tty_port_unregister()
|
/linux/drivers/tty/ |
A D | tty_port.c | 62 void tty_port_init(struct tty_port *port) in tty_port_init() 89 void tty_port_link_device(struct tty_port *port, in tty_port_link_device() 215 int tty_port_alloc_xmit_buf(struct tty_port *port) in tty_port_alloc_xmit_buf() 228 void tty_port_free_xmit_buf(struct tty_port *port) in tty_port_free_xmit_buf() 247 void tty_port_destroy(struct tty_port *port) in tty_port_destroy() 256 struct tty_port *port = container_of(kref, struct tty_port, kref); in tty_port_destructor() 270 void tty_port_put(struct tty_port *port) in tty_port_put() 346 void tty_port_hangup(struct tty_port *port) in tty_port_hangup() 387 void tty_port_tty_wakeup(struct tty_port *port) in tty_port_tty_wakeup() 401 int tty_port_carrier_raised(struct tty_port *port) in tty_port_carrier_raised() [all …]
|
A D | tty_buffer.c | 56 void tty_buffer_lock_exclusive(struct tty_port *port) in tty_buffer_lock_exclusive() 65 void tty_buffer_unlock_exclusive(struct tty_port *port) in tty_buffer_unlock_exclusive() 117 void tty_buffer_free_all(struct tty_port *port) in tty_buffer_free_all() 223 struct tty_port *port = tty->port; in tty_buffer_flush() 413 void tty_schedule_flip(struct tty_port *port) in tty_schedule_flip() 512 struct tty_port *port = container_of(work, struct tty_port, buf.work); in flush_to_ldisc() 567 void tty_flip_buffer_push(struct tty_port *port) in tty_flip_buffer_push() 581 void tty_buffer_init(struct tty_port *port) in tty_buffer_init() 620 bool tty_buffer_restart_work(struct tty_port *port) in tty_buffer_restart_work() 625 bool tty_buffer_cancel_work(struct tty_port *port) in tty_buffer_cancel_work() [all …]
|
A D | tty.h | 69 void tty_buffer_free_all(struct tty_port *port); 71 void tty_buffer_init(struct tty_port *port); 72 void tty_buffer_set_lock_subclass(struct tty_port *port); 73 bool tty_buffer_restart_work(struct tty_port *port); 74 bool tty_buffer_cancel_work(struct tty_port *port); 75 void tty_buffer_flush_work(struct tty_port *port);
|
A D | amiserial.c | 70 struct tty_port tport; 306 struct tty_port *port = &info->tport; in check_modem_status() 444 struct tty_port *port = &info->tport; in startup() 572 struct tty_port *port = &info->tport; in change_speed() 924 struct tty_port *port = &state->tport; in set_serial_info() 1233 struct tty_port *port = &state->tport; in rs_close() 1349 struct tty_port *port = tty->port; in rs_open() 1461 static int amiga_carrier_raised(struct tty_port *port) in amiga_carrier_raised() 1466 static void amiga_dtr_rts(struct tty_port *port, int raise) in amiga_dtr_rts()
|
A D | goldfish.c | 37 struct tty_port port; 158 static int goldfish_tty_activate(struct tty_port *port, struct tty_struct *tty) in goldfish_tty_activate() 166 static void goldfish_tty_shutdown(struct tty_port *port) in goldfish_tty_shutdown()
|
/linux/arch/parisc/kernel/ |
A D | pdc_cons.c | 82 static struct tty_port tty_port; variable 86 tty_port_tty_set(&tty_port, tty); in pdc_console_tty_open() 96 tty_port_tty_set(&tty_port, NULL); in pdc_console_tty_close() 126 tty_insert_flip_char(&tty_port, data & 0xFF, TTY_NORMAL); in pdc_console_poll() 131 tty_flip_buffer_push(&tty_port); in pdc_console_poll() 169 tty_port_init(&tty_port); in pdc_console_tty_driver_init() 178 tty_port_link_device(&tty_port, driver, 0); in pdc_console_tty_driver_init() 183 tty_port_destroy(&tty_port); in pdc_console_tty_driver_init()
|
/linux/drivers/ipack/devices/ |
A D | ipoctal.c | 35 struct tty_port tty_port; member 137 tty_port_close(&channel->tty_port, tty, filp); in ipoctal_close() 160 struct tty_port *port = &channel->tty_port; in ipoctal_irq_rx() 399 tty_port_init(&channel->tty_port); in ipoctal_inst_slot() 403 channel->tty_port.ops = &ipoctal_tty_port_ops; in ipoctal_inst_slot() 414 tty_port_free_xmit_buf(&channel->tty_port); in ipoctal_inst_slot() 415 tty_port_destroy(&channel->tty_port); in ipoctal_inst_slot() 647 tty_port_hangup(&channel->tty_port); in ipoctal_hangup() 650 tty_port_set_initialized(&channel->tty_port, 0); in ipoctal_hangup() 724 tty_port_free_xmit_buf(&channel->tty_port); in __ipoctal_remove() [all …]
|
/linux/arch/alpha/kernel/ |
A D | srmcons.c | 34 struct tty_port port; 48 srmcons_do_receive_chars(struct tty_port *port) in srmcons_do_receive_chars() 71 struct tty_port *port = &srmconsp->port; in srmcons_receive_chars() 92 srmcons_do_write(struct tty_port *port, const char *buf, int count) in srmcons_do_write() 155 struct tty_port *port = &srmconsp->port; in srmcons_open() 176 struct tty_port *port = &srmconsp->port; in srmcons_close()
|
/linux/drivers/tty/serial/ |
A D | serial_core.c | 258 struct tty_port *port = &state->port; in uart_startup() 281 struct tty_port *port = &state->port; in uart_shutdown() 783 struct tty_port *port = &state->port; in uart_get_info_user() 995 struct tty_port *port = &state->port; in uart_set_info_user() 1044 struct tty_port *port = &state->port; in uart_tiocmget() 1068 struct tty_port *port = &state->port; in uart_tiocmset() 1094 struct tty_port *port = &state->port; in uart_break_ctl() 1113 struct tty_port *port = &state->port; in uart_do_autoconfig() 1538 struct tty_port *port; in uart_close() 2422 struct tty_port *tport; in uart_poll_init() [all …]
|
A D | kgdb_nmi.c | 91 struct tty_port port; 96 static struct tty_port *kgdb_nmi_port; 208 static int kgdb_nmi_tty_activate(struct tty_port *port, struct tty_struct *tty) in kgdb_nmi_tty_activate() 220 static void kgdb_nmi_tty_shutdown(struct tty_port *port) in kgdb_nmi_tty_shutdown()
|
A D | bcm63xx_uart.c | 229 struct tty_port *tty_port = &port->state->port; in bcm_uart_do_rx() local 254 tty_insert_flip_char(tty_port, 0, TTY_OVERRUN); in bcm_uart_do_rx() 293 tty_insert_flip_char(tty_port, c, flag); in bcm_uart_do_rx() 297 tty_flip_buffer_push(tty_port); in bcm_uart_do_rx()
|
/linux/drivers/s390/char/ |
A D | keyboard.h | 35 struct tty_port *port; 56 kbd_put_queue(struct tty_port *port, int ch) in kbd_put_queue() 63 kbd_puts_queue(struct tty_port *port, char *cp) in kbd_puts_queue()
|
/linux/arch/um/drivers/ |
A D | chan_user.h | 41 struct tty_port; 42 extern void register_winch(int fd, struct tty_port *port); 44 struct tty_port *port, unsigned long stack);
|
A D | chan_user.c | 219 static int winch_tramp(int fd, struct tty_port *port, int *fd_out, in winch_tramp() 275 void register_winch(int fd, struct tty_port *port) in register_winch()
|
A D | line.c | 281 static int line_activate(struct tty_port *port, struct tty_struct *tty) in line_activate() 303 static void line_destruct(struct tty_port *port) in line_destruct() 590 struct tty_port *port; 661 void register_winch_irq(int fd, int tty_fd, int pid, struct tty_port *port, in register_winch_irq()
|
/linux/drivers/tty/serdev/ |
A D | serdev-ttyport.c | 14 struct tty_port *port; 25 static int ttyport_receive_buf(struct tty_port *port, const unsigned char *cp, in ttyport_receive_buf() 48 static void ttyport_write_wakeup(struct tty_port *port) in ttyport_write_wakeup() 264 struct device *serdev_tty_port_register(struct tty_port *port, in serdev_tty_port_register() 304 int serdev_tty_port_unregister(struct tty_port *port) in serdev_tty_port_unregister()
|
/linux/drivers/tty/serial/8250/ |
A D | 8250_dma.c | 47 struct tty_port *tty_port = &p->port.state->port; in __dma_rx_complete() local 56 tty_insert_flip_string(tty_port, dma->rx_buf, count); in __dma_rx_complete() 59 tty_flip_buffer_push(tty_port); in __dma_rx_complete()
|
A D | 8250_mtk.c | 92 struct tty_port *tty_port = &up->port.state->port; in mtk8250_dma_rx_complete() local 111 copied = tty_insert_flip_string(tty_port, ptr, cnt); in mtk8250_dma_rx_complete() 117 copied += tty_insert_flip_string(tty_port, ptr, cnt); in mtk8250_dma_rx_complete() 123 tty_flip_buffer_push(tty_port); in mtk8250_dma_rx_complete()
|
/linux/arch/xtensa/platforms/iss/ |
A D | console.c | 37 static struct tty_port serial_port; 71 struct tty_port *port = &serial_port; in rs_poll()
|
/linux/drivers/char/ |
A D | ttyprintk.c | 21 struct tty_port port; 141 static void tpk_port_shutdown(struct tty_port *tport) in tpk_port_shutdown()
|
/linux/drivers/staging/greybus/ |
A D | uart.c | 45 struct tty_port port; 77 struct tty_port *port = &gb_tty->port; in gb_uart_receive_data_handler() 704 static void gb_tty_dtr_rts(struct tty_port *port, int on) in gb_tty_dtr_rts() 721 static int gb_tty_port_activate(struct tty_port *port, in gb_tty_port_activate() 731 static void gb_tty_port_shutdown(struct tty_port *port) in gb_tty_port_shutdown() 764 static void gb_tty_port_destruct(struct tty_port *port) in gb_tty_port_destruct()
|
/linux/drivers/mmc/core/ |
A D | sdio_uart.c | 64 struct tty_port port; 542 static int uart_carrier_raised(struct tty_port *tport) in uart_carrier_raised() 565 static void uart_dtr_rts(struct tty_port *tport, int onoff) in uart_dtr_rts() 594 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) in sdio_uart_activate() 677 static void sdio_uart_shutdown(struct tty_port *tport) in sdio_uart_shutdown() 709 static void sdio_uart_port_destroy(struct tty_port *tport) in sdio_uart_port_destroy()
|