| /openbsd/src/sys/dev/pci/ |
| D | cz.c | 710 if (!ISSET(tp->t_state, TS_ISOPEN)) { in cz_intr() 733 if (!ISSET(tp->t_state, TS_ISOPEN)) { in cz_intr() 749 if (!ISSET(tp->t_state, TS_ISOPEN)) in cz_intr() 782 if (!ISSET(tp->t_state, TS_ISOPEN)) in cz_intr() 955 if (ISSET(tp->t_state, TS_ISOPEN) && in czttyopen() 965 if (!ISSET(tp->t_state, TS_ISOPEN)) { in czttyopen() 1037 if (!ISSET(tp->t_state, TS_ISOPEN)) { in czttyopen() 1060 if (!ISSET(tp->t_state, TS_ISOPEN)) in czttyclose() 1066 if (!ISSET(tp->t_state, TS_ISOPEN)) { in czttyclose()
|
| /openbsd/src/sys/dev/ic/ |
| D | z8530tty.c | 480 if (ISSET(tp->t_state, TS_ISOPEN) && in zsopen() 490 if (!ISSET(tp->t_state, TS_ISOPEN)) { in zsopen() 581 if (ISSET(tp->t_state, TS_ISOPEN)) { in zsopen() 641 if (!ISSET(tp->t_state, TS_ISOPEN)) { in zsopen() 671 if (!ISSET(tp->t_state, TS_ISOPEN)) { in zsopen() 694 if (!ISSET(tp->t_state, TS_ISOPEN)) in zsclose() 704 if (!ISSET(tp->t_state, TS_ISOPEN)) { in zsclose() 1478 if (!ISSET(tp->t_state, TS_ISOPEN)) { in zstty_rxsoft()
|
| D | pluart.c | 507 if (ibufp == ibufend || tp == NULL || !ISSET(tp->t_state, TS_ISOPEN)) { in pluart_softint() 581 if (!ISSET(tp->t_state, TS_ISOPEN)) { in pluartopen() 647 if (ISSET(tp->t_state, TS_ISOPEN)) { in pluartopen() 696 if (!ISSET(tp->t_state, TS_ISOPEN)) in pluartclose()
|
| D | com.c | 258 if (!ISSET(tp->t_state, TS_ISOPEN)) { in comopen() 380 if (ISSET(tp->t_state, TS_ISOPEN)) { in comopen() 407 if (!sc->sc_cua && !ISSET(tp->t_state, TS_ISOPEN)) in comopen() 430 if (!ISSET(tp->t_state, TS_ISOPEN)) in comclose() 515 if (!tp || !ISSET(tp->t_state, TS_ISOPEN)) { in com_resume() 1023 if (tp == NULL || !ISSET(tp->t_state, TS_ISOPEN)) { in comsoft()
|
| D | cy.c | 290 if (!ISSET(tp->t_state, TS_ISOPEN)) { in cyopen() 913 !ISSET(tp->t_state, TS_ISOPEN | TS_WOPEN)) in cy_poll() 1091 !ISSET(cy->cy_tty->t_state, TS_ISOPEN)) in cy_intr() 1120 !ISSET(cy->cy_tty->t_state, TS_ISOPEN)) { in cy_intr()
|
| /openbsd/src/sys/dev/fdt/ |
| D | amluart.c | 272 if (tp == NULL || !ISSET(tp->t_state, TS_ISOPEN)) { in amluart_softintr() 386 if (!ISSET(tp->t_state, TS_ISOPEN)) { in amluartopen() 417 if (ISSET(tp->t_state, TS_ISOPEN)) { in amluartopen() 459 if (!ISSET(tp->t_state, TS_ISOPEN)) in amluartclose()
|
| D | cduart.c | 343 if (tp == NULL || (tp->t_state & TS_ISOPEN) == 0) { in cduart_softintr() 395 if ((tp->t_state & TS_ISOPEN) == 0) { in cduartopen() 428 if (tp->t_state & TS_ISOPEN) { in cduartopen() 466 if ((tp->t_state & TS_ISOPEN) == 0) in cduartclose()
|
| D | mvuart.c | 359 if (ibufp == ibufend || tp == NULL || !ISSET(tp->t_state, TS_ISOPEN)) { in mvuart_softint() 406 if (!ISSET(tp->t_state, TS_ISOPEN)) { in mvuartopen() 434 if (ISSET(tp->t_state, TS_ISOPEN)) { in mvuartopen() 479 if (!ISSET(tp->t_state, TS_ISOPEN)) in mvuartclose()
|
| D | imxuart.c | 438 if (ibufp == ibufend || tp == NULL || !ISSET(tp->t_state, TS_ISOPEN)) { in imxuart_softint() 506 if (!ISSET(tp->t_state, TS_ISOPEN)) { in imxuartopen() 574 if (ISSET(tp->t_state, TS_ISOPEN)) { in imxuartopen() 623 if (!ISSET(tp->t_state, TS_ISOPEN)) in imxuartclose()
|
| D | exuart.c | 621 if (tp == NULL || !ISSET(tp->t_state, TS_ISOPEN)) { in exuart_softint() 686 if (!ISSET(tp->t_state, TS_ISOPEN)) { in exuartopen() 768 if (ISSET(tp->t_state, TS_ISOPEN)) { in exuartopen() 818 if (!ISSET(tp->t_state, TS_ISOPEN)) in exuartclose()
|
| /openbsd/src/sys/arch/riscv64/dev/ |
| D | sfuart.c | 258 if (tp == NULL || !ISSET(tp->t_state, TS_ISOPEN)) { in sfuart_softintr() 381 if (!ISSET(tp->t_state, TS_ISOPEN)) { in sfuartopen() 419 if (ISSET(tp->t_state, TS_ISOPEN)) { in sfuartopen() 461 if (!ISSET(tp->t_state, TS_ISOPEN)) in sfuartclose()
|
| /openbsd/src/sys/kern/ |
| D | tty_pty.c | 241 if ((tp->t_state & TS_ISOPEN) == 0) { in ptsopen() 450 if (tp->t_state & TS_ISOPEN) { in ptcread() 514 if ((tp->t_state & TS_ISOPEN) == 0) in ptcwrite() 530 if ((tp->t_state & TS_ISOPEN) == 0) { in ptcwrite() 554 if ((tp->t_state & TS_ISOPEN) == 0) { in ptcwrite() 625 if (ISSET(tp->t_state, TS_ISOPEN)) { in filt_ptcread() 667 if (ISSET(tp->t_state, TS_ISOPEN)) { in filt_ptcwrite()
|
| D | tty.c | 186 if (!ISSET(tp->t_state, TS_ISOPEN)) { in ttyopen() 187 SET(tp->t_state, TS_ISOPEN); in ttyopen() 792 ISSET(constty->t_state, TS_CARR_ON | TS_ISOPEN) == in ttioctl() 793 (TS_CARR_ON | TS_ISOPEN)) in ttioctl() 891 CLR(tp->t_state, TS_ISOPEN); in ttioctl() 1411 if (ISSET(tp->t_state, TS_ISOPEN) && in ttymodem() 1440 if (ISSET(tp->t_state, TS_ISOPEN) && in nullmodem() 1577 if (!carrier && ISSET(tp->t_state, TS_ISOPEN)) { in ttread() 1736 if (ISSET(tp->t_state, TS_ISOPEN)) { in ttwrite() 2292 if (ISSET(tp->t_state, TS_ISOPEN) == 0 || in tputchar()
|
| /openbsd/src/sys/arch/powerpc64/dev/ |
| D | opalcons.c | 156 if ((tp->t_state & TS_ISOPEN) == 0) { in opalconsopen() 307 if (tp->t_state & TS_ISOPEN) in opalcons_softintr()
|
| /openbsd/src/sys/arch/sparc64/dev/ |
| D | vcons.c | 195 if ((tp->t_state & TS_ISOPEN) == 0) { in vconsopen() 357 if (tp->t_state & TS_ISOPEN) in vcons_softintr()
|
| D | vcctty.c | 236 if (tp->t_state & TS_ISOPEN) in vcctty_rx_intr() 328 if ((tp->t_state & TS_ISOPEN) == 0) { in vccttyopen()
|
| D | pcons.c | 226 if (!(tp->t_state & TS_ISOPEN)) { in pconsopen() 357 if (tp && (tp->t_state & TS_ISOPEN)) { in pcons_poll()
|
| D | sab.c | 587 if ((tp->t_state & TS_ISOPEN) == 0) in sabtty_softintr() 653 if ((tp->t_state & TS_ISOPEN) == 0) { in sabttyopen() 728 if (tp->t_state & TS_ISOPEN) in sabttyopen() 757 if ((tp->t_state & TS_ISOPEN) == 0) { in sabttyclose()
|
| D | sbbc.c | 445 if (tp->t_state & TS_ISOPEN) { in sbbc_softintr_cons() 523 if ((tp->t_state & TS_ISOPEN) == 0) { in sbbcopen()
|
| /openbsd/src/sys/arch/hppa/dev/ |
| D | pdc.c | 213 if ((tp->t_state & TS_ISOPEN) == 0) { 370 if (tp->t_state & TS_ISOPEN)
|
| /openbsd/src/sys/arch/luna88k/dev/ |
| D | siotty.c | 470 if ((tp->t_state & TS_ISOPEN) && (tp->t_state & TS_XCLUDE) in sioopen() 474 if ((tp->t_state & TS_ISOPEN) == 0) { in sioopen() 521 || tp->t_wopen || (tp->t_state & TS_ISOPEN) == 0) { in sioclose()
|
| /openbsd/src/sys/arch/sh/dev/ |
| D | scif.c | 687 if (ISSET(tp->t_state, TS_ISOPEN) && in scifopen() 697 if (!ISSET(tp->t_state, TS_ISOPEN)) { in scifopen() 777 if (!ISSET(tp->t_state, TS_ISOPEN)) in scifclose()
|
| /openbsd/src/sys/dev/pv/ |
| D | viocon.c | 512 if (!ISSET(tp->t_state, TS_ISOPEN)) { in vioconopen() 546 if (!ISSET(tp->t_state, TS_ISOPEN)) in vioconclose()
|
| /openbsd/src/sys/sys/ |
| D | tty.h | 183 #define TS_ISOPEN 0x00020 /* Open has completed. */ macro
|
| /openbsd/src/sys/dev/sbus/ |
| D | spif.c | 346 if (!ISSET(tp->t_state, TS_ISOPEN)) { in sttyopen() 421 if (ISSET(tp->t_cflag, HUPCL) || !ISSET(tp->t_state, TS_ISOPEN)) { in sttyclose() 896 if (!ISSET(tp->t_state, TS_ISOPEN)) in spifsoftintr()
|