Home
last modified time | relevance | path

Searched refs:tty_port (Results 1 – 25 of 96) sorted by relevance

1234

/drivers/tty/
Dtty_port.c23 static int tty_port_default_receive_buf(struct tty_port *port, in tty_port_default_receive_buf()
46 static void tty_port_default_wakeup(struct tty_port *port) in tty_port_default_wakeup()
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()
109 struct device *tty_port_register_device(struct tty_port *port, in tty_port_register_device()
130 struct device *tty_port_register_device_attr(struct tty_port *port, in tty_port_register_device_attr()
153 struct device *tty_port_register_device_attr_serdev(struct tty_port *port, in tty_port_register_device_attr_serdev()
183 struct device *tty_port_register_device_serdev(struct tty_port *port, in tty_port_register_device_serdev()
202 void tty_port_unregister_device(struct tty_port *port, in tty_port_unregister_device()
215 int tty_port_alloc_xmit_buf(struct tty_port *port) in tty_port_alloc_xmit_buf()
[all …]
Dtty_buffer.c56 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()
91 unsigned int tty_buffer_space_avail(struct tty_port *port) in tty_buffer_space_avail()
117 void tty_buffer_free_all(struct tty_port *port) in tty_buffer_free_all()
156 static struct tty_buffer *tty_buffer_alloc(struct tty_port *port, size_t size) in tty_buffer_alloc()
197 static void tty_buffer_free(struct tty_port *port, struct tty_buffer *b) in tty_buffer_free()
224 struct tty_port *port = tty->port; in tty_buffer_flush()
260 static int __tty_buffer_request_room(struct tty_port *port, size_t size, in __tty_buffer_request_room()
297 int tty_buffer_request_room(struct tty_port *port, size_t size) in tty_buffer_request_room()
314 int tty_insert_flip_string_fixed_flag(struct tty_port *port, in tty_insert_flip_string_fixed_flag()
[all …]
Dtty.h71 void tty_buffer_free_all(struct tty_port *port);
73 void tty_buffer_init(struct tty_port *port);
74 void tty_buffer_set_lock_subclass(struct tty_port *port);
75 bool tty_buffer_restart_work(struct tty_port *port);
76 bool tty_buffer_cancel_work(struct tty_port *port);
77 void tty_buffer_flush_work(struct tty_port *port);
116 int tty_insert_flip_string_and_push_buffer(struct tty_port *port,
Damiserial.c70 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()
Dgoldfish.c37 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()
Dmxser.c239 struct tty_port port;
447 static int mxser_carrier_raised(struct tty_port *port) in mxser_carrier_raised()
453 static void mxser_dtr_rts(struct tty_port *port, int on) in mxser_dtr_rts()
709 static int mxser_activate(struct tty_port *port, struct tty_struct *tty) in mxser_activate()
809 static void mxser_shutdown_port(struct tty_port *port) in mxser_shutdown_port()
860 struct tty_port *tport = tty->port; in mxser_open()
889 static void mxser_close_port(struct tty_port *port) in mxser_close_port()
926 struct tty_port *port = &info->port; in mxser_close()
1036 struct tty_port *port = &info->port; in mxser_get_serial_info()
1063 struct tty_port *port = &info->port; in mxser_set_serial_info()
Dehv_bytechan.c46 struct tty_port port;
620 static int ehv_bc_tty_port_activate(struct tty_port *port, in ehv_bc_tty_port_activate()
654 static void ehv_bc_tty_port_shutdown(struct tty_port *port) in ehv_bc_tty_port_shutdown()
DMakefile3 tty_buffer.o tty_port.o tty_mutex.o \
Dttynull.c15 static struct tty_port ttynull_port;
/drivers/ipack/devices/
Dipoctal.c35 struct tty_port tty_port; member
70 static int ipoctal_port_activate(struct tty_port *port, struct tty_struct *tty) in ipoctal_port_activate()
112 return tty_port_open(&channel->tty_port, tty, file); in ipoctal_open()
137 tty_port_close(&channel->tty_port, tty, filp); in ipoctal_close()
160 struct tty_port *port = &channel->tty_port; in ipoctal_irq_rx()
212 value = channel->tty_port.xmit_buf[*pointer_write]; in ipoctal_irq_tx()
399 tty_port_init(&channel->tty_port); in ipoctal_inst_slot()
400 res = tty_port_alloc_xmit_buf(&channel->tty_port); in ipoctal_inst_slot()
403 channel->tty_port.ops = &ipoctal_tty_port_ops; in ipoctal_inst_slot()
410 tty_dev = tty_port_register_device_attr(&channel->tty_port, tty, in ipoctal_inst_slot()
[all …]
/drivers/tty/serial/
Dserial_core.c56 static void uart_port_shutdown(struct tty_port *port);
250 struct tty_port *port = &state->port; in uart_startup()
273 struct tty_port *port = &state->port; in uart_shutdown()
745 static int uart_get_info(struct tty_port *port, struct serial_struct *retinfo) in uart_get_info()
789 struct tty_port *port = &state->port; in uart_get_info_user()
794 static int uart_set_info(struct tty_struct *tty, struct tty_port *port, in uart_set_info()
1001 struct tty_port *port = &state->port; in uart_set_info_user()
1050 struct tty_port *port = &state->port; in uart_tiocmget()
1074 struct tty_port *port = &state->port; in uart_tiocmset()
1095 struct tty_port *port = &state->port; in uart_break_ctl()
[all …]
Dkgdb_nmi.c91 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()
Dbcm63xx_uart.c229 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()
Dsunhv.c186 static struct tty_port *receive_chars(struct uart_port *port) in receive_chars()
188 struct tty_port *tport = NULL; in receive_chars()
219 struct tty_port *tport; in sunhv_interrupt()
/drivers/s390/char/
Dkeyboard.h35 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()
/drivers/tty/serdev/
Dserdev-ttyport.c14 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()
/drivers/tty/serial/8250/
D8250_dma.c47 struct tty_port *tty_port = &p->port.state->port; in __dma_rx_complete() local
63 tty_insert_flip_string(tty_port, dma->rx_buf, count); in __dma_rx_complete()
67 tty_flip_buffer_push(tty_port); in __dma_rx_complete()
D8250_mtk.c96 struct tty_port *tty_port = &up->port.state->port; in mtk8250_dma_rx_complete() local
115 copied = tty_insert_flip_string(tty_port, ptr, cnt); in mtk8250_dma_rx_complete()
121 copied += tty_insert_flip_string(tty_port, ptr, cnt); in mtk8250_dma_rx_complete()
127 tty_flip_buffer_push(tty_port); in mtk8250_dma_rx_complete()
/drivers/char/
Dttyprintk.c21 struct tty_port port;
141 static void tpk_port_shutdown(struct tty_port *tport) in tpk_port_shutdown()
/drivers/staging/greybus/
Duart.c45 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()
/drivers/mmc/core/
Dsdio_uart.c64 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()
/drivers/staging/gdm724x/
Dgdm_tty.h27 struct tty_port port;
/drivers/staging/fwserial/
Dfwserial.c887 static void fwtty_port_dtr_rts(struct tty_port *tty_port, int on) in fwtty_port_dtr_rts() argument
889 struct fwtty_port *port = to_port(tty_port, port); in fwtty_port_dtr_rts()
912 static int fwtty_port_carrier_raised(struct tty_port *tty_port) in fwtty_port_carrier_raised() argument
914 struct fwtty_port *port = to_port(tty_port, port); in fwtty_port_carrier_raised()
974 static int fwtty_port_activate(struct tty_port *tty_port, in fwtty_port_activate() argument
977 struct fwtty_port *port = to_port(tty_port, port); in fwtty_port_activate()
1019 static void fwtty_port_shutdown(struct tty_port *tty_port) in fwtty_port_shutdown() argument
1021 struct fwtty_port *port = to_port(tty_port, port); in fwtty_port_shutdown()
/drivers/tty/hvc/
Dhvc_console.h36 struct tty_port port;
/drivers/usb/class/
Dcdc-acm.h90 struct tty_port port; /* our tty port data */

1234