Home
last modified time | relevance | path

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

/freebsd/sys/dev/usb/serial/
H A Dusb_serial.c133 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()
[all …]