Lines Matching refs:otp
106 struct tty *otp;
110 otp = onp->np_tty;
113 if (tty_opened(otp))
124 otp = onp->np_tty;
125 tty_rel_gone(otp);
251 struct tty *tp, *otp;
262 otp = np->np_other->np_tty;
263 KASSERT(otp != NULL, ("NULL otp in nmdmstart"));
264 KASSERT(otp != tp, ("NULL otp == tp nmdmstart"));
268 ttydisc_modem(otp, 0);
273 ttydisc_modem(otp, 1);
278 if (tty_gone(otp)) {
279 tty_unlock(otp);
283 while (ttydisc_rint_poll(otp) > 0) {
289 ttydisc_rint(otp, c, 0);
292 ttydisc_rint_done(otp);