Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/tty/
Dtty_port.c243 set_bit(TTY_IO_ERROR, &tty->flags); in tty_port_hangup()
378 if (tty->flags & (1 << TTY_IO_ERROR)) { in tty_port_block_til_ready()
557 set_bit(TTY_IO_ERROR, &tty->flags); in tty_port_close()
606 clear_bit(TTY_IO_ERROR, &tty->flags); in tty_port_open()
Dpty.c42 if (test_bit(TTY_IO_ERROR, &tty->flags)) in pty_close()
47 set_bit(TTY_IO_ERROR, &tty->flags); in pty_close()
244 clear_bit(TTY_IO_ERROR, &tty->flags); in pty_open()
250 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()
1153 if (tty->flags & (1 << TTY_IO_ERROR)) in rs_tiocmget()
1175 if (tty->flags & (1 << TTY_IO_ERROR)) in rs_tiocmset()
1260 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()
2166 clear_bit(TTY_IO_ERROR, &tty->flags); in cy_set_line_char()
2289 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.c1049 if (tty->flags & (1 << TTY_IO_ERROR)) in ioctl()
2453 clear_bit(TTY_IO_ERROR, &info->port.tty->flags); in startup()
2500 set_bit(TTY_IO_ERROR, &info->port.tty->flags); in shutdown()
3282 if (filp->f_flags & O_NONBLOCK || tty->flags & (1 << TTY_IO_ERROR)){ in block_til_ready()
Dsynclinkmp.c1278 if (tty->flags & (1 << TTY_IO_ERROR)) in ioctl()
2674 clear_bit(TTY_IO_ERROR, &info->port.tty->flags); in startup()
2717 set_bit(TTY_IO_ERROR, &info->port.tty->flags); in shutdown()
3299 if (filp->f_flags & O_NONBLOCK || tty->flags & (1 << TTY_IO_ERROR)){ in block_til_ready()
Dtty_io.c1067 if (!tty || (test_bit(TTY_IO_ERROR, &tty->flags))) in tty_read()
1243 (test_bit(TTY_IO_ERROR, &tty->flags))) in tty_write()
/linux-4.1.27/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()
960 set_bit(TTY_IO_ERROR, &port->tty->flags); in ircomm_tty_hangup()
/linux-4.1.27/drivers/tty/serial/
D68328serial.c409 clear_bit(TTY_IO_ERROR, &tty->flags); in startup()
444 set_bit(TTY_IO_ERROR, &tty->flags); in shutdown()
933 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()
973 if (!(tty->flags & (1 << TTY_IO_ERROR))) { in uart_tiocmget()
993 if (!(tty->flags & (1 << TTY_IO_ERROR))) { in uart_tiocmset()
1242 if (tty->flags & (1 << TTY_IO_ERROR)) { in uart_ioctl()
1261 if (tty->flags & (1 << TTY_IO_ERROR)) { in uart_ioctl()
Dcrisv10.c2705 clear_bit(TTY_IO_ERROR, &info->port.tty->flags); in startup()
2821 set_bit(TTY_IO_ERROR, &info->port.tty->flags); in shutdown()
3511 if (tty->flags & (1 << TTY_IO_ERROR)) in rs_ioctl()
3852 (tty->flags & (1 << TTY_IO_ERROR))) { in block_til_ready()
Dioc4_serial.c2444 set_bit(TTY_IO_ERROR, &state->port.tty->flags); in ic4_shutdown()
/linux-4.1.27/arch/ia64/hp/sim/
Dsimserial.c303 if (tty->flags & (1 << TTY_IO_ERROR)) in rs_ioctl()
/linux-4.1.27/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.1.27/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.1.27/include/linux/
Dtty.h337 #define TTY_IO_ERROR 1 /* Cause an I/O error (may be no ldisc too) */ macro
/linux-4.1.27/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.1.27/drivers/s390/char/
Dtty3270.c1803 if (tty->flags & (1 << TTY_IO_ERROR)) in tty3270_ioctl()
1817 if (tty->flags & (1 << TTY_IO_ERROR)) in tty3270_compat_ioctl()
/linux-4.1.27/Documentation/serial/
Dtty.txt196 TTY_IO_ERROR If set, causes all subsequent userspace read/write
/linux-4.1.27/net/bluetooth/rfcomm/
Dtty.c118 set_bit(TTY_IO_ERROR, &tty->flags); in rfcomm_dev_activate()
/linux-4.1.27/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.1.27/drivers/staging/dgnc/
Ddgnc_tty.c1270 if (tty->flags & (1 << TTY_IO_ERROR)) { in dgnc_block_til_ready()
/linux-4.1.27/drivers/staging/dgap/
Ddgap.c3128 if (tty->flags & (1 << TTY_IO_ERROR)) in dgap_block_til_ready()