Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dtty_flip.h4 extern int tty_buffer_set_limit(struct tty_port *port, int limit);
5 extern int tty_buffer_space_avail(struct tty_port *port);
6 extern int tty_buffer_request_room(struct tty_port *port, size_t size);
7 extern int tty_insert_flip_string_flags(struct tty_port *port,
9 extern int tty_insert_flip_string_fixed_flag(struct tty_port *port,
11 extern int tty_prepare_flip_string(struct tty_port *port,
13 extern void tty_flip_buffer_push(struct tty_port *port);
14 void tty_schedule_flip(struct tty_port *port);
16 static inline int tty_insert_flip_char(struct tty_port *port, in tty_insert_flip_char()
32 static inline int tty_insert_flip_string(struct tty_port *port, in tty_insert_flip_string()
[all …]
Dtty.h201 struct tty_port;
205 int (*carrier_raised)(struct tty_port *port);
207 void (*dtr_rts)(struct tty_port *port, int raise);
211 void (*shutdown)(struct tty_port *port);
216 int (*activate)(struct tty_port *port, struct tty_struct *tty);
218 void (*destruct)(struct tty_port *port);
221 struct tty_port { struct
314 struct tty_port *port;
465 extern void tty_buffer_free_all(struct tty_port *port);
467 extern void tty_buffer_init(struct tty_port *port);
[all …]
Dconsole_struct.h25 struct tty_port port; /* Upper level data */
Dtty_driver.h318 struct tty_port **ports;
Dcyclades.h120 struct tty_port port;
Disdn.h313 struct tty_port port;
Dserial_core.h278 struct tty_port port;
/linux-4.4.14/drivers/tty/
Dtty_port.c20 void tty_port_init(struct tty_port *port) in tty_port_init()
46 void tty_port_link_device(struct tty_port *port, in tty_port_link_device()
66 struct device *tty_port_register_device(struct tty_port *port, in tty_port_register_device()
88 struct device *tty_port_register_device_attr(struct tty_port *port, in tty_port_register_device_attr()
99 int tty_port_alloc_xmit_buf(struct tty_port *port) in tty_port_alloc_xmit_buf()
112 void tty_port_free_xmit_buf(struct tty_port *port) in tty_port_free_xmit_buf()
131 void tty_port_destroy(struct tty_port *port) in tty_port_destroy()
140 struct tty_port *port = container_of(kref, struct tty_port, kref); in tty_port_destructor()
154 void tty_port_put(struct tty_port *port) in tty_port_put()
169 struct tty_struct *tty_port_tty_get(struct tty_port *port) in tty_port_tty_get()
[all …]
Dtty_buffer.c55 void tty_buffer_lock_exclusive(struct tty_port *port) in tty_buffer_lock_exclusive()
64 void tty_buffer_unlock_exclusive(struct tty_port *port) in tty_buffer_unlock_exclusive()
90 int tty_buffer_space_avail(struct tty_port *port) in tty_buffer_space_avail()
115 void tty_buffer_free_all(struct tty_port *port) in tty_buffer_free_all()
149 static struct tty_buffer *tty_buffer_alloc(struct tty_port *port, size_t size) in tty_buffer_alloc()
188 static void tty_buffer_free(struct tty_port *port, struct tty_buffer *b) in tty_buffer_free()
215 struct tty_port *port = tty->port; in tty_buffer_flush()
251 static int __tty_buffer_request_room(struct tty_port *port, size_t size, in __tty_buffer_request_room()
288 int tty_buffer_request_room(struct tty_port *port, size_t size) in tty_buffer_request_room()
305 int tty_insert_flip_string_fixed_flag(struct tty_port *port, in tty_insert_flip_string_fixed_flag()
[all …]
Dgoldfish.c42 struct tty_port port;
93 static int goldfish_tty_activate(struct tty_port *port, struct tty_struct *tty) in goldfish_tty_activate()
101 static void goldfish_tty_shutdown(struct tty_port *port) in goldfish_tty_shutdown()
Disicom.c204 struct tty_port port;
332 static void isicom_dtr_rts(struct tty_port *port, int on) in isicom_dtr_rts()
811 static int isicom_activate(struct tty_port *tport, struct tty_struct *tty) in isicom_activate()
838 static int isicom_carrier_raised(struct tty_port *port) in isicom_carrier_raised()
844 static struct tty_port *isicom_find_port(struct tty_struct *tty) in isicom_find_port()
871 struct tty_port *tport; in isicom_open()
915 static void isicom_shutdown(struct tty_port *port) in isicom_shutdown()
934 struct tty_port *port; in isicom_close()
1614 struct tty_port *tport = &board->ports[index].port; in isicom_probe()
Dmetag_da.c109 struct tty_port port;
341 static int dashtty_port_activate(struct tty_port *port, struct tty_struct *tty) in dashtty_port_activate()
377 static void dashtty_port_shutdown(struct tty_port *port) in dashtty_port_shutdown()
Damiserial.c95 struct tty_port tport;
380 struct tty_port *port = &info->tport; in check_modem_status()
518 struct tty_port *port = &info->tport; in startup()
661 struct tty_port *port = &info->tport; in change_speed()
1044 struct tty_port *port = &state->tport; in set_serial_info()
1392 struct tty_port *port = &state->tport; in rs_close()
1521 struct tty_port *port = &info->tport; in rs_open()
1658 static int amiga_carrier_raised(struct tty_port *port) in amiga_carrier_raised()
1663 static void amiga_dtr_rts(struct tty_port *port, int raise) in amiga_dtr_rts()
DMakefile2 tty_buffer.o tty_port.o tty_mutex.o tty_ldsem.o
Dehv_bytechan.c50 struct tty_port port;
609 static int ehv_bc_tty_port_activate(struct tty_port *port, in ehv_bc_tty_port_activate()
643 static void ehv_bc_tty_port_shutdown(struct tty_port *port) in ehv_bc_tty_port_shutdown()
Dmoxa.c134 struct tty_port port;
172 static struct tty_port moxa_service_port;
208 static void moxa_shutdown(struct tty_port *);
209 static int moxa_carrier_raised(struct tty_port *);
210 static void moxa_dtr_rts(struct tty_port *, int);
1143 static void moxa_shutdown(struct tty_port *port) in moxa_shutdown()
1150 static int moxa_carrier_raised(struct tty_port *port) in moxa_carrier_raised()
1161 static void moxa_dtr_rts(struct tty_port *port, int onoff) in moxa_dtr_rts()
Dmxser.c225 struct tty_port port;
550 static int mxser_carrier_raised(struct tty_port *port) in mxser_carrier_raised()
556 static void mxser_dtr_rts(struct tty_port *port, int on) in mxser_dtr_rts()
862 static int mxser_activate(struct tty_port *port, struct tty_struct *tty) in mxser_activate()
955 static void mxser_shutdown_port(struct tty_port *port) in mxser_shutdown_port()
1041 static void mxser_close_port(struct tty_port *port) in mxser_close_port()
1078 struct tty_port *port = &info->port; in mxser_close()
1237 struct tty_port *port = &info->port; in mxser_set_serial_info()
1487 struct tty_port *port; in mxser_ioctl_special()
1667 struct tty_port *port = &info->port; in mxser_ioctl()
Dn_gsm.c144 struct tty_port port; /* The tty bound to this DLCI if there is one */
1152 struct tty_port *port; in gsm_control_rls()
1554 struct tty_port *port = &dlci->port; in gsm_dlci_data()
1678 static void gsm_dlci_free(struct tty_port *port) in gsm_dlci_free()
2870 static int gsm_carrier_raised(struct tty_port *port) in gsm_carrier_raised()
2881 static void gsm_dtr_rts(struct tty_port *port, int onoff) in gsm_dtr_rts()
2960 struct tty_port *port = &dlci->port; in gsmtty_open()
Dmips_ejtag_fdc.c108 struct tty_port port;
697 static int mips_ejtag_fdc_tty_port_activate(struct tty_port *port, in mips_ejtag_fdc_tty_port_activate()
724 static void mips_ejtag_fdc_tty_port_shutdown(struct tty_port *port) in mips_ejtag_fdc_tty_port_shutdown()
Dbfin_jtag_comm.c65 static struct tty_port port;
Dcyclades.c444 struct tty_port *port; in cyy_chip_rx()
924 struct tty_port *port = &info->port; in cyz_handle_rx()
1698 static void cy_do_close(struct tty_port *port) in cy_do_close()
2990 static int cyy_carrier_raised(struct tty_port *port) in cyy_carrier_raised()
3007 static void cyy_dtr_rts(struct tty_port *port, int raise) in cyy_dtr_rts()
3020 static int cyz_carrier_raised(struct tty_port *port) in cyz_carrier_raised()
3028 static void cyz_dtr_rts(struct tty_port *port, int raise) in cyz_dtr_rts()
Dnozomi.c353 struct tty_port port;
1606 static int ntty_activate(struct tty_port *tport, struct tty_struct *tty) in ntty_activate()
1628 static void ntty_shutdown(struct tty_port *tport) in ntty_shutdown()
Drocket_int.h1128 struct tty_port port;
Drocket.c859 static int carrier_raised(struct tty_port *port) in carrier_raised()
865 static void dtr_rts(struct tty_port *port, int on) in dtr_rts()
884 struct tty_port *port; in rp_open()
987 struct tty_port *port = &info->port; in rp_close()
Dpty.c381 struct tty_port *ports[2]; in pty_common_install()
Dsynclinkmp.c154 struct tty_port port;
559 static int carrier_raised(struct tty_port *port);
3251 static int carrier_raised(struct tty_port *port) in carrier_raised()
3263 static void dtr_rts(struct tty_port *port, int on) in dtr_rts()
3287 struct tty_port *port = &info->port; in block_til_ready()
Dsynclink_gt.c241 struct tty_port port;
3236 static int carrier_raised(struct tty_port *port) in carrier_raised()
3247 static void dtr_rts(struct tty_port *port, int on) in dtr_rts()
3273 struct tty_port *port = &info->port; in block_til_ready()
Dsynclink.c181 struct tty_port port;
3225 static int carrier_raised(struct tty_port *port) in carrier_raised()
3236 static void dtr_rts(struct tty_port *port, int on) in dtr_rts()
3272 struct tty_port *port = &info->port; in block_til_ready()
/linux-4.4.14/arch/parisc/kernel/
Dpdc_cons.c96 static struct tty_port tty_port; variable
100 tty_port_tty_set(&tty_port, tty); in pdc_console_tty_open()
110 tty_port_tty_set(&tty_port, NULL); in pdc_console_tty_close()
146 tty_insert_flip_char(&tty_port, data & 0xFF, TTY_NORMAL); in pdc_console_poll()
151 tty_flip_buffer_push(&tty_port); in pdc_console_poll()
188 tty_port_init(&tty_port); in pdc_console_tty_driver_init()
199 tty_port_link_device(&tty_port, pdc_console_tty_driver, 0); in pdc_console_tty_driver_init()
204 tty_port_destroy(&tty_port); in pdc_console_tty_driver_init()
/linux-4.4.14/drivers/ipack/devices/
Dipoctal.c40 struct tty_port tty_port; member
74 static int ipoctal_port_activate(struct tty_port *port, struct tty_struct *tty) in ipoctal_port_activate()
100 err = tty_port_open(&channel->tty_port, tty, file); in ipoctal_open()
129 tty_port_close(&channel->tty_port, tty, filp); in ipoctal_close()
152 struct tty_port *port = &channel->tty_port; in ipoctal_irq_rx()
204 value = channel->tty_port.xmit_buf[*pointer_write]; in ipoctal_irq_tx()
391 tty_port_init(&channel->tty_port); in ipoctal_inst_slot()
392 tty_port_alloc_xmit_buf(&channel->tty_port); in ipoctal_inst_slot()
393 channel->tty_port.ops = &ipoctal_tty_port_ops; in ipoctal_inst_slot()
400 tty_dev = tty_port_register_device(&channel->tty_port, tty, i, NULL); in ipoctal_inst_slot()
[all …]
/linux-4.4.14/drivers/s390/char/
Dkeyboard.h23 struct tty_port *port;
44 kbd_put_queue(struct tty_port *port, int ch) in kbd_put_queue()
51 kbd_puts_queue(struct tty_port *port, char *cp) in kbd_puts_queue()
Dsclp_tty.c50 static struct tty_port sclp_port;
Dkeyboard.c259 to_utf8(struct tty_port *port, ushort c) in to_utf8()
Dsclp_vt220.c60 static struct tty_port sclp_vt220_port;
Dtty3270.c64 struct tty_port port;
995 struct tty_port *port = &tp->port; in tty3270_open()
Dcon3215.c77 struct tty_port port;
/linux-4.4.14/arch/um/drivers/
Dchan_user.h41 struct tty_port;
42 extern void register_winch(int fd, struct tty_port *port);
44 struct tty_port *port, unsigned long stack);
Dchan_user.c219 static int winch_tramp(int fd, struct tty_port *port, int *fd_out, in winch_tramp()
274 void register_winch(int fd, struct tty_port *port) in register_winch()
Dchan.h40 extern void chan_enable_winch(struct chan *chan, struct tty_port *port);
Dline.c292 static int line_activate(struct tty_port *port, struct tty_struct *tty) in line_activate()
314 static void line_destruct(struct tty_port *port) in line_destruct()
600 struct tty_port *port;
674 void register_winch_irq(int fd, int tty_fd, int pid, struct tty_port *port, in register_winch_irq()
Dline.h35 struct tty_port port;
Dchan_kern.c125 void chan_enable_winch(struct chan *chan, struct tty_port *port) in chan_enable_winch()
549 struct tty_port *port = &line->port; in chan_interrupt()
/linux-4.4.14/arch/alpha/kernel/
Dsrmcons.c33 struct tty_port port;
47 srmcons_do_receive_chars(struct tty_port *port) in srmcons_do_receive_chars()
70 struct tty_port *port = &srmconsp->port; in srmcons_receive_chars()
91 srmcons_do_write(struct tty_port *port, const char *buf, int count) in srmcons_do_write()
160 struct tty_port *port = &srmconsp->port; in srmcons_open()
181 struct tty_port *port = &srmconsp->port; in srmcons_close()
/linux-4.4.14/drivers/tty/serial/
Dserial_core.c60 static void uart_port_shutdown(struct tty_port *port);
198 struct tty_port *port = &state->port; in uart_startup()
228 struct tty_port *port = &state->port; in uart_shutdown()
680 static void do_uart_get_info(struct tty_port *port, in do_uart_get_info()
708 static void uart_get_info(struct tty_port *port, in uart_get_info()
718 static int uart_get_info_user(struct tty_port *port, in uart_get_info_user()
729 static int uart_set_info(struct tty_struct *tty, struct tty_port *port, in uart_set_info()
925 struct tty_port *port = &state->port; in uart_set_info_user()
977 struct tty_port *port = &state->port; in uart_tiocmget()
998 struct tty_port *port = &state->port; in uart_tiocmset()
[all …]
Difx6x60.c284 tty_port_tty_hangup(&ifx_dev->tty_port, false); in ifx_spi_timeout()
355 return tty_port_open(&saved_ifx_dev->tty_port, tty, filp); in ifx_spi_open()
369 tty_port_close(&ifx_dev->tty_port, tty, filp); in ifx_spi_close()
473 tty_port_tty_wakeup(&ifx_dev->tty_port); in ifx_spi_prepare_tx_buffer()
555 tty_port_hangup(&ifx_dev->tty_port); in ifx_spi_hangup()
565 static int ifx_port_activate(struct tty_port *port, struct tty_struct *tty) in ifx_port_activate()
568 container_of(port, struct ifx_spi_device, tty_port); in ifx_port_activate()
596 static void ifx_port_shutdown(struct tty_port *port) in ifx_port_shutdown()
599 container_of(port, struct ifx_spi_device, tty_port); in ifx_port_shutdown()
636 tty_insert_flip_string(&ifx_dev->tty_port, chars, size); in ifx_spi_insert_flip_string()
[all …]
Difx6x60.h80 struct tty_port tty_port; member
Dkgdb_nmi.c94 struct tty_port port;
99 static struct tty_port *kgdb_nmi_port;
211 static int kgdb_nmi_tty_activate(struct tty_port *port, struct tty_struct *tty) in kgdb_nmi_tty_activate()
223 static void kgdb_nmi_tty_shutdown(struct tty_port *port) in kgdb_nmi_tty_shutdown()
Dbcm63xx_uart.c236 struct tty_port *tty_port = &port->state->port; in bcm_uart_do_rx() local
261 tty_insert_flip_char(tty_port, 0, TTY_OVERRUN); in bcm_uart_do_rx()
300 tty_insert_flip_char(tty_port, c, flag); in bcm_uart_do_rx()
305 tty_flip_buffer_push(tty_port); in bcm_uart_do_rx()
Dcrisv10.h39 struct tty_port port;
Dsunhv.c185 static struct tty_port *receive_chars(struct uart_port *port) in receive_chars()
187 struct tty_port *tport = NULL; in receive_chars()
218 struct tty_port *tport; in sunhv_interrupt()
Dtilegx.c72 struct tty_port *port = tty->port; in receive_chars()
87 struct tty_port *port = &tile_uart->uart.state->port; in handle_receive()
D68328serial.c109 struct tty_port tport;
832 struct tty_port *port = &info->tport;
998 struct tty_port *port = &info->tport;
Dlpc32xx_hs.c260 struct tty_port *tport = &port->state->port; in __serial_lpc32xx_rx()
328 struct tty_port *tport = &port->state->port; in serial_lpc32xx_interrupt()
Dfsl_lpuart.c320 struct tty_port *tty, int count) in lpuart_copy_rx_to_tty()
470 struct tty_port *port = &sport->port.state->port; in lpuart_dma_rx_complete()
489 struct tty_port *port = &sport->port.state->port; in lpuart_timer_func()
643 struct tty_port *port = &sport->port.state->port; in lpuart_rxint()
706 struct tty_port *port = &sport->port.state->port; in lpuart32_rxint()
Dsunsab.c110 static struct tty_port *
114 struct tty_port *port = NULL; in receive_chars()
311 struct tty_port *port = NULL; in sunsab_interrupt()
Dmux.c235 struct tty_port *tport = &port->state->port; in mux_read()
Dserial-tegra.c525 struct tty_port *tty) in tegra_uart_handle_rx_pio()
546 struct tty_port *tty, in tegra_uart_copy_rx_to_tty()
575 struct tty_port *port = &tup->uport.state->port; in tegra_uart_rx_buffer_push()
Dsh-sci.c771 struct tty_port *tport = &port->state->port; in sci_receive_chars()
891 struct tty_port *tport = &port->state->port; in sci_handle_errors()
955 struct tty_port *tport = &port->state->port; in sci_handle_fifo_overrun()
986 struct tty_port *tport = &port->state->port; in sci_handle_breaks()
1053 struct tty_port *tport = &port->state->port; in sci_dma_rx_push()
Dnwpserial.c132 struct tty_port *port = &up->port.state->port; in nwpserial_interrupt()
Dmsm_serial.c375 struct tty_port *tport = &port->state->port; in msm_complete_rx_dma()
527 struct tty_port *tport = &port->state->port; in msm_handle_rx_dm()
602 struct tty_port *tport = &port->state->port; in msm_handle_rx()
Dsunzilog.c326 static struct tty_port *
330 struct tty_port *port = NULL; in sunzilog_receive_chars()
535 struct tty_port *port; in sunzilog_interrupt()
Dsamsung.c364 struct tty_port *tty, int count) in s3c24xx_uart_copy_rx_to_tty()
392 struct tty_port *t = &port->state->port; in s3c24xx_serial_stop_rx()
455 struct tty_port *t = &port->state->port; in s3c24xx_serial_rx_dma_complete()
559 struct tty_port *t = &port->state->port; in s3c24xx_serial_rx_chars_dma()
Dtimbuart.c94 struct tty_port *tport = &port->state->port; in timbuart_rx_chars()
Dsn_console.c450 struct tty_port *tport = NULL; in sn_receive_chars()
Duartlite.c117 struct tty_port *tport = &port->state->port; in ulite_receive()
Dmeson_uart.c174 struct tty_port *tport = &port->state->port; in meson_receive_chars()
Dar933x_uart.c310 struct tty_port *port = &up->port.state->port; in ar933x_uart_rx_chars()
Dsprd_serial.c231 struct tty_port *tty = &port->state->port; in sprd_rx()
Dlantiq.c159 struct tty_port *tport = &port->state->port; in lqasc_rx_chars()
Dstm32-usart.c153 struct tty_port *tport = &port->state->port; in stm32_receive_chars()
Dvt8500_serial.c167 struct tty_port *tport = &port->state->port; in handle_rx()
Dmen_z135_uart.c249 struct tty_port *tport = &port->state->port; in men_z135_handle_rx()
Dst-asc.c289 struct tty_port *tport = &port->state->port; in asc_receive_chars()
Defm32-uart.c247 struct tty_port *tport = &port->state->port; in efm32_uart_rxirq()
Dbfin_sport_uart.c153 struct tty_port *port = &up->port.state->port; in sport_uart_rx_irq()
Detraxfs-uart.c492 struct tty_port *port; in receive_chars_no_dma()
Drp2.c405 struct tty_port *port = &up->port.state->port; in rp2_rx_chars()
Dpch_uart.c646 struct tty_port *tport = &port->state->port; in push_rx()
674 struct tty_port *tport = &port->state->port; in dma_push_rx()
Dm32r_sio.c310 struct tty_port *port = &up->port.state->port; in receive_chars()
Dimx.c650 struct tty_port *port = &sport->port.state->port; in imx_rxint()
899 struct tty_port *port = &sport->port.state->port; in dma_rx_callback()
Damba-pl011.c764 struct tty_port *port = &uap->port.state->port; in pl011_dma_rx_chars()
949 struct tty_port *port = &uap->port.state->port; in pl011_dma_rx_poll()
Ducc_uart.c464 struct tty_port *tport = &port->state->port; in qe_uart_int_rx()
Datmel_serial.c1007 struct tty_port *tport = &port->state->port; in atmel_rx_from_dma()
1490 struct tty_port *tport = &port->state->port; in atmel_rx_from_pdc()
Dmxs-auart.c533 struct tty_port *port = &s->port.state->port; in dma_rx_callback()
Dsunsu.c325 struct tty_port *port = &up->port.state->port; in receive_chars()
Dicom.c744 struct tty_port *port = &icom_port->uart_port.state->port; in recv_interrupt()
Dmpc52xx_uart.c1378 struct tty_port *tport = &port->state->port; in mpc52xx_uart_int_rx_chars()
Dpmac_zilog.c234 struct tty_port *port; in pmz_receive_chars()
Dmpsc.c939 struct tty_port *port = &pi->port.state->port; in mpsc_rx_intr()
/linux-4.4.14/arch/xtensa/platforms/iss/
Dconsole.c39 static struct tty_port serial_port;
101 struct tty_port *port = (struct tty_port *)priv; in rs_poll()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_dma.c53 struct tty_port *tty_port = &p->port.state->port; in __dma_rx_complete() local
62 tty_insert_flip_string(tty_port, dma->rx_buf, count); in __dma_rx_complete()
65 tty_flip_buffer_push(tty_port); in __dma_rx_complete()
D8250_omap.c724 struct tty_port *tty_port = &p->port.state->port; in __dma_rx_do_complete() local
744 ret = tty_insert_flip_string(tty_port, dma->rx_buf, count); in __dma_rx_do_complete()
754 tty_flip_buffer_push(tty_port); in __dma_rx_do_complete()
D8250_port.c2556 static int do_get_rxtrig(struct tty_port *port) in do_get_rxtrig()
2569 static int do_serial8250_get_rxtrig(struct tty_port *port) in do_serial8250_get_rxtrig()
2583 struct tty_port *port = dev_get_drvdata(dev); in serial8250_get_attr_rx_trig_bytes()
2593 static int do_set_rxtrig(struct tty_port *port, unsigned char bytes) in do_set_rxtrig()
2616 static int do_serial8250_set_rxtrig(struct tty_port *port, unsigned char bytes) in do_serial8250_set_rxtrig()
2630 struct tty_port *port = dev_get_drvdata(dev); in serial8250_set_attr_rx_trig_bytes()
/linux-4.4.14/arch/ia64/hp/sim/
Dsimserial.c44 struct tty_port port;
56 static void receive_chars(struct tty_port *port) in receive_chars()
331 static void shutdown(struct tty_port *port) in shutdown()
363 static int activate(struct tty_port *port, struct tty_struct *tty) in activate()
417 struct tty_port *port = &info->port; in rs_open()
/linux-4.4.14/drivers/staging/gdm724x/
Dgdm_tty.h38 struct tty_port port;
Dgdm_tty.c56 static void gdm_port_destruct(struct tty_port *port) in gdm_port_destruct()
/linux-4.4.14/drivers/isdn/i4l/
Disdn_common.h40 extern int isdn_readbchan_tty(int, int, struct tty_port *, int);
Disdn_tty.c63 struct tty_port *port = &info->port; in isdn_tty_try_read()
1004 struct tty_port *port = &info->port; in isdn_tty_change_speed()
1501 struct tty_port *port = &info->port; in isdn_tty_open()
1541 struct tty_port *port = &info->port; in isdn_tty_close()
1618 struct tty_port *port = &info->port; in isdn_tty_hangup()
1754 static int isdn_tty_carrier_raised(struct tty_port *port) in isdn_tty_carrier_raised()
2222 struct tty_port *port = &info->port; in isdn_tty_at_cout()
Disdn_common.c880 isdn_readbchan_tty(int di, int channel, struct tty_port *port, int cisco_hack) in isdn_readbchan_tty()
/linux-4.4.14/drivers/misc/
Dpti.c63 struct tty_port port[PTITTY_MINOR_NUM];
755 static int pti_port_activate(struct tty_port *port, struct tty_struct *tty) in pti_port_activate()
772 static void pti_port_shutdown(struct tty_port *port) in pti_port_shutdown()
855 struct tty_port *port = &drv_data->port[a]; in pti_pci_probe()
/linux-4.4.14/include/net/irda/
Dircomm_tty.h58 struct tty_port port;
/linux-4.4.14/drivers/tty/hvc/
Dhvc_console.h49 struct tty_port port;
Dhvcs.c264 struct tty_port port;
698 static void hvcs_destruct_port(struct tty_port *p) in hvcs_destruct_port()
Dhvc_console.c236 static void hvc_port_destruct(struct tty_port *port) in hvc_port_destruct()
Dhvsi.c72 struct tty_port port;
/linux-4.4.14/drivers/mmc/card/
Dsdio_uart.c68 struct tty_port port;
548 static int uart_carrier_raised(struct tty_port *tport) in uart_carrier_raised()
571 static void uart_dtr_rts(struct tty_port *tport, int onoff) in uart_dtr_rts()
600 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) in sdio_uart_activate()
683 static void sdio_uart_shutdown(struct tty_port *tport) in sdio_uart_shutdown()
715 static void sdio_uart_port_destroy(struct tty_port *tport) in sdio_uart_port_destroy()
/linux-4.4.14/drivers/usb/class/
Dcdc-acm.h86 struct tty_port port; /* our tty port data */
Dcdc-acm.c523 static void acm_port_dtr_rts(struct tty_port *port, int raise) in acm_port_dtr_rts()
542 static int acm_port_activate(struct tty_port *port, struct tty_struct *tty) in acm_port_activate()
606 static void acm_port_destruct(struct tty_port *port) in acm_port_destruct()
618 static void acm_port_shutdown(struct tty_port *port) in acm_port_shutdown()
/linux-4.4.14/net/irda/ircomm/
Dircomm_tty.c108 static void ircomm_port_raise_dtr_rts(struct tty_port *port, int raise) in ircomm_port_raise_dtr_rts()
125 static int ircomm_port_carrier_raised(struct tty_port *port) in ircomm_port_carrier_raised()
273 struct tty_port *port = &self->port; in ircomm_tty_block_til_ready()
481 struct tty_port *port = &self->port; in ircomm_tty_close()
919 struct tty_port *port = &self->port; in ircomm_tty_hangup()
/linux-4.4.14/net/bluetooth/rfcomm/
Dtty.c47 struct tty_port port;
81 static void rfcomm_dev_destruct(struct tty_port *port) in rfcomm_dev_destruct()
111 static int rfcomm_dev_activate(struct tty_port *port, struct tty_struct *tty) in rfcomm_dev_activate()
123 static int rfcomm_dev_carrier_raised(struct tty_port *port) in rfcomm_dev_carrier_raised()
131 static void rfcomm_dev_shutdown(struct tty_port *port) in rfcomm_dev_shutdown()
/linux-4.4.14/arch/m68k/emu/
Dnfcon.c23 static struct tty_port nfcon_tty_port;
/linux-4.4.14/drivers/staging/fwserial/
Dfwserial.c902 static void fwtty_port_dtr_rts(struct tty_port *tty_port, int on) in fwtty_port_dtr_rts() argument
904 struct fwtty_port *port = to_port(tty_port, port); in fwtty_port_dtr_rts()
927 static int fwtty_port_carrier_raised(struct tty_port *tty_port) in fwtty_port_carrier_raised() argument
929 struct fwtty_port *port = to_port(tty_port, port); in fwtty_port_carrier_raised()
989 static int fwtty_port_activate(struct tty_port *tty_port, in fwtty_port_activate() argument
992 struct fwtty_port *port = to_port(tty_port, port); in fwtty_port_activate()
1034 static void fwtty_port_shutdown(struct tty_port *tty_port) in fwtty_port_shutdown() argument
1036 struct fwtty_port *port = to_port(tty_port, port); in fwtty_port_shutdown()
Dfwserial.h238 struct tty_port port;
/linux-4.4.14/drivers/char/
Dttyprintk.c23 struct tty_port port;
/linux-4.4.14/drivers/staging/dgap/
Ddgap.h580 struct tty_port *serial_ports;
583 struct tty_port *printer_ports;
/linux-4.4.14/drivers/usb/serial/
Dusb-serial.c222 static int serial_port_activate(struct tty_port *tport, struct tty_struct *tty) in serial_port_activate()
261 static void serial_port_shutdown(struct tty_port *tport) in serial_port_shutdown()
670 static int serial_port_carrier_raised(struct tty_port *port) in serial_port_carrier_raised()
681 static void serial_port_dtr_rts(struct tty_port *port, int on) in serial_port_dtr_rts()
Dgeneric.c581 struct tty_port *port = &usb_port->port; in usb_serial_handle_dcd_change()
Dmos7840.c772 struct tty_port *tport = &mos7840_port->port->port; in mos7840_bulk_in_callback()
/linux-4.4.14/include/linux/usb/
Dserial.h78 struct tty_port port;
/linux-4.4.14/drivers/char/pcmcia/
Dsynclink_cs.c138 struct tty_port port;
380 static int carrier_raised(struct tty_port *port);
381 static void dtr_rts(struct tty_port *port, int onoff);
895 struct tty_port *port = &info->port; in rx_ready_async()
2341 struct tty_port *port = &info->port; in mgslpc_close()
2451 static int carrier_raised(struct tty_port *port) in carrier_raised()
2465 static void dtr_rts(struct tty_port *port, int onoff) in dtr_rts()
2483 struct tty_port *port; in mgslpc_open()
/linux-4.4.14/drivers/tty/ipwireless/
Dtty.c46 struct tty_port port;
/linux-4.4.14/drivers/isdn/gigaset/
Dgigaset.h439 struct tty_port port;
/linux-4.4.14/Documentation/serial/
Ddriver63 semaphore has been the 'mutex' member of the tty_port struct, and
328 Locking: tty_mutex and tty_port->mutex taken.
/linux-4.4.14/drivers/isdn/capi/
Dcapi.c87 struct tty_port port;
191 static void capiminor_destroy(struct tty_port *port) in capiminor_destroy()
/linux-4.4.14/drivers/tty/serial/jsm/
Djsm_tty.c525 struct tty_port *port; in jsm_input()
/linux-4.4.14/drivers/usb/gadget/function/
Du_serial.c96 struct tty_port port;
/linux-4.4.14/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c249 struct tty_port *tport = &port->state->port; in cpm_uart_int_rx()
/linux-4.4.14/arch/mn10300/kernel/
Dmn10300-serial.c527 struct tty_port *tport = &port->uart.state->port; in mn10300_serial_receive_interrupt()
/linux-4.4.14/drivers/net/usb/
Dhso.c250 struct tty_port port;
/linux-4.4.14/drivers/tty/vt/
Dvt.c1430 static void respond_string(const char *p, struct tty_port *port) in respond_string()