Searched refs:sc_tty (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/dev/usb/net/ |
H A D | uhso.c | 105 struct uhso_tty *sc_tty; member 629 ht = &sc->sc_tty[i]; in uhso_attach() 679 if (sc->sc_tty[i].ht_muxport != -1) { in uhso_detach() 680 usbd_transfer_unsetup(sc->sc_tty[i].ht_xfer, in uhso_detach() 711 free(sc->sc_tty, M_USBDEV); in uhso_free_softc() 1013 sc->sc_tty = reallocf(sc->sc_tty, sizeof(struct uhso_tty) * sc->sc_ttys, in uhso_alloc_tty() 1015 if (sc->sc_tty == NULL) in uhso_alloc_tty() 1023 sc->sc_tty[sc->sc_ttys - 1].ht_sc = sc; in uhso_alloc_tty() 1069 sc->sc_tty[tty].ht_muxport = i; in uhso_attach_muxserial() 1071 &sc->sc_iface_index, sc->sc_tty[tty].ht_xfer, in uhso_attach_muxserial() [all …]
|
/freebsd/sys/dev/usb/serial/ |
H A D | usb_serial.c | 323 sc->sc_tty, ssc->sc_unit, ssc->sc_subunits); in ucom_attach() 442 sc->sc_tty = tp; 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() 497 struct tty *tp = sc->sc_tty; in ucom_detach_tty() 499 DPRINTF("sc = %p, tp = %p\n", sc, sc->sc_tty); in ucom_detach_tty() 509 ucom_close(ucom_cons_softc->sc_tty); in ucom_detach_tty() 622 if (error == 0 && sc->sc_tty != NULL && tty_gone(sc->sc_tty)) in ucom_command_barrier() 668 if (error == 0 && sc->sc_tty != NULL && tty_gone(sc->sc_tty)) in ucom_queue_command() 687 struct tty *tp = sc->sc_tty; in ucom_shutdown() [all …]
|
H A D | usb_serial.h | 166 struct tty *sc_tty; member
|
H A D | umcs.c | 498 if (ucom->sc_tty == NULL || (ucom->sc_tty->t_termios.c_cflag & CNO_RTSDTR) == 0) in umcs7840_cfg_open()
|