Home
last modified time | relevance | path

Searched refs:TTIPRI (Results 1 – 20 of 20) sorted by relevance

/openbsd/sys/kern/
H A Dtty_pty.c258 error = ttysleep(tp, &tp->t_rawq, TTIPRI | PCATCH, ttopen); in ptsopen()
297 error = ttysleep(tp, &lbolt, TTIPRI | PCATCH, ttybg); in ptsread()
305 TTIPRI | PCATCH, ttyin); in ptsread()
479 error = tsleep_nsec(&tp->t_outq.c_cf, TTIPRI | PCATCH, ttyin, in ptcread()
567 tsleep(tp, TTIPRI | PCATCH, "ttyretype", 1) == EINTR) in ptcwrite()
H A Dtty.c1518 error = ttysleep(tp, &lbolt, TTIPRI | PCATCH, ttybg); in ttread()
1587 error = ttysleep(tp, &tp->t_rawq, TTIPRI | PCATCH, in ttread()
1616 error = ttysleep(tp, &lbolt, TTIPRI | PCATCH, in ttread()
1747 &tp->t_rawq, TTIPRI | PCATCH, ttopen); in ttwrite()
1768 error = ttysleep(tp, &lbolt, TTIPRI | PCATCH, ttybg); in ttwrite()
/openbsd/sys/arch/sparc64/dev/
H A Dsab.c714 error = ttysleep(tp, &tp->t_rawq, TTIPRI | PCATCH, in sabttyopen()
733 tsleep_nsec(sc, TTIPRI, ttclos, SEC_TO_NSEC(1)); in sabttyopen()
762 tsleep_nsec(sc, TTIPRI, ttclos, SEC_TO_NSEC(5)); in sabttyclose()
769 tsleep_nsec(bc, TTIPRI, ttclos, SEC_TO_NSEC(1)); in sabttyclose()
/openbsd/sys/sys/
H A Dtty.h164 #define TTIPRI 25 /* Sleep priority for tty reads. */ macro
/openbsd/sys/dev/ic/
H A Dz8530tty.c432 tsleep_nsec(cs, TTIPRI, ttclos, SEC_TO_NSEC(1)); in zs_shutdown()
632 error = ttysleep(tp, (caddr_t)&tp->t_rawq, TTIPRI | PCATCH, in zsopen()
H A Dpluart.c666 TTIPRI | PCATCH, ttopen); in pluartopen()
H A Dcy.c369 error = ttysleep(tp, &tp->t_rawq, TTIPRI | PCATCH, in cyopen()
H A Dcom.c399 error = ttysleep(tp, &tp->t_rawq, TTIPRI | PCATCH, ttopen); in comopen()
/openbsd/sys/dev/usb/
H A Ducom.c310 tsleep_nsec(sc, TTIPRI, ttclos, SEC_TO_NSEC(1)); in ucom_shutdown()
517 TTIPRI | PCATCH, ttopen); in ucom_do_open()
H A Duvscom.c700 tsleep_nsec(&err, TTIPRI, "uvsop", SEC_TO_NSEC(1)); in uvscom_open()
/openbsd/sys/dev/pci/
H A Dcz.c818 error = tsleep_nsec(cz, TTIPRI | PCATCH, wstring, in cz_wait_pci_doorbell()
914 tsleep_nsec(tp, TTIPRI, ttclos, SEC_TO_NSEC(1)); in cztty_shutdown()
/openbsd/sys/arch/riscv64/dev/
H A Dsfuart.c434 TTIPRI | PCATCH, ttopen); in sfuartopen()
/openbsd/sys/dev/fdt/
H A Damluart.c432 TTIPRI | PCATCH, ttopen); in amluartopen()
H A Dcduart.c441 TTIPRI | PCATCH, ttopen); in cduartopen()
H A Dmvuart.c453 TTIPRI | PCATCH, ttopen); in mvuartopen()
H A Dimxuart.c593 TTIPRI | PCATCH, ttopen); in imxuartopen()
H A Dexuart.c787 TTIPRI | PCATCH, ttopen); in exuartopen()
/openbsd/sys/net/
H A Dppp_tty.c311 error = ttysleep(tp, (caddr_t)&tp->t_rawq, TTIPRI|PCATCH, ttyin); in pppread()
/openbsd/sys/dev/sbus/
H A Dspif.c393 error = ttysleep(tp, &tp->t_rawq, TTIPRI | PCATCH, in sttyopen()
H A Dmagma.c905 error = ttysleep(tp, &tp->t_rawq, TTIPRI | PCATCH, in mttyopen()