Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/usb/serial/
H A Dusb_serial.c455 if ((ucom_cons_softc == NULL) && in ucom_attach_tty()
461 ucom_cons_softc = sc; in ucom_attach_tty()
465 UCOM_MTX_LOCK(ucom_cons_softc); in ucom_attach_tty()
471 ucom_open(ucom_cons_softc->sc_tty); in ucom_attach_tty()
473 UCOM_MTX_UNLOCK(ucom_cons_softc); in ucom_attach_tty()
478 ucom_cons_softc == NULL) { in ucom_attach_tty()
511 UCOM_MTX_LOCK(ucom_cons_softc); in ucom_detach_tty()
512 ucom_close(ucom_cons_softc->sc_tty); in ucom_detach_tty()
514 UCOM_MTX_UNLOCK(ucom_cons_softc); in ucom_detach_tty()
515 ucom_cons_softc = NULL; in ucom_detach_tty()
[all …]