Home
last modified time | relevance | path

Searched refs:TS_ISOPEN (Results 1 – 25 of 30) sorted by relevance

12

/openbsd/src/sys/dev/pci/
Dcz.c710 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/
Dz8530tty.c480 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()
Dpluart.c507 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()
Dcom.c258 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()
Dcy.c290 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/
Damluart.c272 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()
Dcduart.c343 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()
Dmvuart.c359 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()
Dimxuart.c438 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()
Dexuart.c621 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/
Dsfuart.c258 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/
Dtty_pty.c241 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()
Dtty.c186 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/
Dopalcons.c156 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/
Dvcons.c195 if ((tp->t_state & TS_ISOPEN) == 0) { in vconsopen()
357 if (tp->t_state & TS_ISOPEN) in vcons_softintr()
Dvcctty.c236 if (tp->t_state & TS_ISOPEN) in vcctty_rx_intr()
328 if ((tp->t_state & TS_ISOPEN) == 0) { in vccttyopen()
Dpcons.c226 if (!(tp->t_state & TS_ISOPEN)) { in pconsopen()
357 if (tp && (tp->t_state & TS_ISOPEN)) { in pcons_poll()
Dsab.c587 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()
Dsbbc.c445 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/
Dpdc.c213 if ((tp->t_state & TS_ISOPEN) == 0) {
370 if (tp->t_state & TS_ISOPEN)
/openbsd/src/sys/arch/luna88k/dev/
Dsiotty.c470 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/
Dscif.c687 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/
Dviocon.c512 if (!ISSET(tp->t_state, TS_ISOPEN)) { in vioconopen()
546 if (!ISSET(tp->t_state, TS_ISOPEN)) in vioconclose()
/openbsd/src/sys/sys/
Dtty.h183 #define TS_ISOPEN 0x00020 /* Open has completed. */ macro
/openbsd/src/sys/dev/sbus/
Dspif.c346 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()

12