Home
last modified time | relevance | path

Searched refs:TTY_IO_ERROR (Results 1 – 26 of 26) sorted by relevance

/linux-4.4.14/drivers/tty/
Dtty_port.c242 set_bit(TTY_IO_ERROR, &tty->flags); in tty_port_hangup()
367 if (tty->flags & (1 << TTY_IO_ERROR)) { in tty_port_block_til_ready()
537 set_bit(TTY_IO_ERROR, &tty->flags); in tty_port_close()
586 clear_bit(TTY_IO_ERROR, &tty->flags); in tty_port_open()
Dpty.c47 if (test_bit(TTY_IO_ERROR, &tty->flags)) in pty_close()
52 set_bit(TTY_IO_ERROR, &tty->flags); in pty_close()
249 clear_bit(TTY_IO_ERROR, &tty->flags); in pty_open()
255 set_bit(TTY_IO_ERROR, &tty->flags); in pty_open()
Damiserial.c551 set_bit(TTY_IO_ERROR, &tty->flags); in startup()
570 clear_bit(TTY_IO_ERROR, &tty->flags); in startup()
647 set_bit(TTY_IO_ERROR, &tty->flags); in shutdown()
1149 if (tty->flags & (1 << TTY_IO_ERROR)) in rs_tiocmget()
1171 if (tty->flags & (1 << TTY_IO_ERROR)) in rs_tiocmset()
1256 if (tty->flags & (1 << TTY_IO_ERROR)) in rs_ioctl()
Dmxser.c875 set_bit(TTY_IO_ERROR, &tty->flags); in mxser_activate()
902 set_bit(TTY_IO_ERROR, &tty->flags); in mxser_activate()
940 clear_bit(TTY_IO_ERROR, &tty->flags); in mxser_activate()
1334 if (test_bit(TTY_IO_ERROR, &tty->flags)) in mxser_tiocmget()
1361 if (test_bit(TTY_IO_ERROR, &tty->flags)) in mxser_tiocmset()
1716 test_bit(TTY_IO_ERROR, &tty->flags)) in mxser_ioctl()
Dcyclades.c1286 set_bit(TTY_IO_ERROR, &tty->flags); in cy_startup()
1369 clear_bit(TTY_IO_ERROR, &tty->flags); in cy_startup()
1450 set_bit(TTY_IO_ERROR, &tty->flags); in cy_shutdown()
1475 set_bit(TTY_IO_ERROR, &tty->flags); in cy_shutdown()
2157 clear_bit(TTY_IO_ERROR, &tty->flags); in cy_set_line_char()
2280 clear_bit(TTY_IO_ERROR, &tty->flags); in cy_set_line_char()
Dsynclink.c1784 set_bit(TTY_IO_ERROR, &info->port.tty->flags); in startup()
1793 clear_bit(TTY_IO_ERROR, &info->port.tty->flags); in startup()
1859 set_bit(TTY_IO_ERROR, &info->port.tty->flags); in shutdown()
2975 if (tty->flags & (1 << TTY_IO_ERROR)) in mgsl_ioctl()
3278 if (filp->f_flags & O_NONBLOCK || tty->flags & (1 << TTY_IO_ERROR)){ in block_til_ready()
Dsynclink_gt.c1040 if (tty->flags & (1 << TTY_IO_ERROR)) in ioctl()
2448 clear_bit(TTY_IO_ERROR, &info->port.tty->flags); in startup()
2495 set_bit(TTY_IO_ERROR, &info->port.tty->flags); in shutdown()
3277 if (filp->f_flags & O_NONBLOCK || tty->flags & (1 << TTY_IO_ERROR)){ in block_til_ready()
Dsynclinkmp.c1269 if (tty->flags & (1 << TTY_IO_ERROR)) in ioctl()
2668 clear_bit(TTY_IO_ERROR, &info->port.tty->flags); in startup()
2711 set_bit(TTY_IO_ERROR, &info->port.tty->flags); in shutdown()
3293 if (filp->f_flags & O_NONBLOCK || tty->flags & (1 << TTY_IO_ERROR)){ in block_til_ready()
Dtty_io.c1064 if (!tty || (test_bit(TTY_IO_ERROR, &tty->flags))) in tty_read()
1238 (test_bit(TTY_IO_ERROR, &tty->flags))) in tty_write()
/linux-4.4.14/net/irda/ircomm/
Dircomm_tty_ioctl.c198 if (tty->flags & (1 << TTY_IO_ERROR)) in ircomm_tty_tiocmget()
221 if (tty->flags & (1 << TTY_IO_ERROR)) in ircomm_tty_tiocmset()
370 if (tty->flags & (1 << TTY_IO_ERROR)) in ircomm_tty_ioctl()
Dircomm_tty.c283 if (test_bit(TTY_IO_ERROR, &tty->flags)) { in ircomm_tty_block_til_ready()
931 set_bit(TTY_IO_ERROR, &port->tty->flags); in ircomm_tty_hangup()
/linux-4.4.14/drivers/tty/serial/
D68328serial.c409 clear_bit(TTY_IO_ERROR, &tty->flags); in startup()
444 set_bit(TTY_IO_ERROR, &tty->flags); in shutdown()
934 if (tty->flags & (1 << TTY_IO_ERROR))
Dserial_core.c208 set_bit(TTY_IO_ERROR, &tty->flags); in uart_startup()
213 clear_bit(TTY_IO_ERROR, &tty->flags); in uart_startup()
234 set_bit(TTY_IO_ERROR, &tty->flags); in uart_shutdown()
982 if (!(tty->flags & (1 << TTY_IO_ERROR))) { in uart_tiocmget()
1002 if (!(tty->flags & (1 << TTY_IO_ERROR))) { in uart_tiocmset()
1251 if (tty->flags & (1 << TTY_IO_ERROR)) { in uart_ioctl()
1270 if (tty->flags & (1 << TTY_IO_ERROR)) { in uart_ioctl()
Dcrisv10.c2663 clear_bit(TTY_IO_ERROR, &info->port.tty->flags); in startup()
2779 set_bit(TTY_IO_ERROR, &info->port.tty->flags); in shutdown()
3452 if (tty->flags & (1 << TTY_IO_ERROR)) in rs_ioctl()
3765 (tty->flags & (1 << TTY_IO_ERROR))) { in block_til_ready()
Dioc4_serial.c2445 set_bit(TTY_IO_ERROR, &state->port.tty->flags); in ic4_shutdown()
/linux-4.4.14/arch/ia64/hp/sim/
Dsimserial.c303 if (tty->flags & (1 << TTY_IO_ERROR)) in rs_ioctl()
/linux-4.4.14/drivers/mmc/card/
Dsdio_uart.c610 set_bit(TTY_IO_ERROR, &tty->flags); in sdio_uart_activate()
658 clear_bit(TTY_IO_ERROR, &tty->flags); in sdio_uart_activate()
/linux-4.4.14/drivers/isdn/i4l/
Disdn_tty.c1067 clear_bit(TTY_IO_ERROR, &info->port.tty->flags); in isdn_tty_startup()
1104 set_bit(TTY_IO_ERROR, &info->port.tty->flags); in isdn_tty_shutdown()
1354 if (tty->flags & (1 << TTY_IO_ERROR)) in isdn_tty_tiocmget()
1381 if (tty->flags & (1 << TTY_IO_ERROR)) in isdn_tty_tiocmset()
1422 if (tty->flags & (1 << TTY_IO_ERROR)) in isdn_tty_ioctl()
/linux-4.4.14/include/linux/
Dtty.h336 #define TTY_IO_ERROR 1 /* Cause an I/O error (may be no ldisc too) */ macro
/linux-4.4.14/drivers/char/pcmcia/
Dsynclink_cs.c1303 set_bit(TTY_IO_ERROR, &tty->flags); in startup()
1312 clear_bit(TTY_IO_ERROR, &tty->flags); in startup()
1362 set_bit(TTY_IO_ERROR, &tty->flags); in shutdown()
2249 if (tty->flags & (1 << TTY_IO_ERROR)) in mgslpc_ioctl()
/linux-4.4.14/drivers/s390/char/
Dtty3270.c1807 if (tty->flags & (1 << TTY_IO_ERROR)) in tty3270_ioctl()
1821 if (tty->flags & (1 << TTY_IO_ERROR)) in tty3270_compat_ioctl()
/linux-4.4.14/net/bluetooth/rfcomm/
Dtty.c118 set_bit(TTY_IO_ERROR, &tty->flags); in rfcomm_dev_activate()
/linux-4.4.14/Documentation/serial/
Dtty.txt211 TTY_IO_ERROR If set, causes all subsequent userspace read/write
/linux-4.4.14/drivers/staging/fwserial/
Dfwserial.c996 set_bit(TTY_IO_ERROR, &tty->flags); in fwtty_port_activate()
1023 clear_bit(TTY_IO_ERROR, &tty->flags); in fwtty_port_activate()
/linux-4.4.14/drivers/staging/dgnc/
Ddgnc_tty.c1276 if (tty->flags & (1 << TTY_IO_ERROR)) { in dgnc_block_til_ready()
/linux-4.4.14/drivers/staging/dgap/
Ddgap.c3062 if (tty->flags & (1 << TTY_IO_ERROR)) in dgap_block_til_ready()