Lines Matching refs:ucom_cons_softc
133 static struct ucom_softc *ucom_cons_softc = NULL; variable
452 if ((ucom_cons_softc == NULL) && in ucom_attach_tty()
458 ucom_cons_softc = sc; in ucom_attach_tty()
462 UCOM_MTX_LOCK(ucom_cons_softc); in ucom_attach_tty()
468 ucom_open(ucom_cons_softc->sc_tty); in ucom_attach_tty()
469 ucom_param(ucom_cons_softc->sc_tty, &tp->t_termios_init_in); in ucom_attach_tty()
470 UCOM_MTX_UNLOCK(ucom_cons_softc); in ucom_attach_tty()
475 ucom_cons_softc == NULL) { in ucom_attach_tty()
508 UCOM_MTX_LOCK(ucom_cons_softc); in ucom_detach_tty()
509 ucom_close(ucom_cons_softc->sc_tty); in ucom_detach_tty()
511 UCOM_MTX_UNLOCK(ucom_cons_softc); in ucom_detach_tty()
512 ucom_cons_softc = NULL; in ucom_detach_tty()
1684 struct ucom_softc *sc = ucom_cons_softc; in ucom_cngetc()
1715 struct ucom_softc *sc = ucom_cons_softc; in ucom_cnputc()
1821 return ((ucom_cons_softc != NULL) ? 0 : -1); in ucom_gdbprobe()