Lines Matching refs:ucom_cons_softc
134 static struct ucom_softc *ucom_cons_softc = NULL; variable
453 if ((ucom_cons_softc == NULL) && in ucom_attach_tty()
459 ucom_cons_softc = sc; in ucom_attach_tty()
463 UCOM_MTX_LOCK(ucom_cons_softc); in ucom_attach_tty()
469 ucom_open(ucom_cons_softc->sc_tty); in ucom_attach_tty()
470 ucom_param(ucom_cons_softc->sc_tty, &tp->t_termios_init_in); in ucom_attach_tty()
471 UCOM_MTX_UNLOCK(ucom_cons_softc); in ucom_attach_tty()
476 ucom_cons_softc == NULL) { in ucom_attach_tty()
509 UCOM_MTX_LOCK(ucom_cons_softc); in ucom_detach_tty()
510 ucom_close(ucom_cons_softc->sc_tty); in ucom_detach_tty()
512 UCOM_MTX_UNLOCK(ucom_cons_softc); in ucom_detach_tty()
513 ucom_cons_softc = NULL; in ucom_detach_tty()
1621 struct ucom_softc *sc = ucom_cons_softc; in ucom_cngetc()
1652 struct ucom_softc *sc = ucom_cons_softc; in ucom_cnputc()
1758 return ((ucom_cons_softc != NULL) ? 0 : -1); in ucom_gdbprobe()