Lines Matching refs:sc_tty

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()
1127 sc->sc_tty[mux].ht_xfer[UHSO_CTRL_READ], in uhso_mux_intr_callback()
1128 &sc->sc_tty[mux]); in uhso_mux_intr_callback()
1129 usbd_transfer_start(sc->sc_tty[mux].ht_xfer[UHSO_CTRL_READ]); in uhso_mux_intr_callback()
1292 sc->sc_tty[tty].ht_muxport = -1; in uhso_attach_bulkserial()
1485 sc->sc_tty[ucom->sc_subunit].ht_open = 1; in uhso_ucom_start_read()
1489 sc->sc_tty[0].ht_open = 1; in uhso_ucom_start_read()
1503 sc->sc_tty[ucom->sc_subunit].ht_open = 0; in uhso_ucom_stop_read()
1505 sc->sc_tty[ucom->sc_subunit].ht_xfer[UHSO_CTRL_READ]); in uhso_ucom_stop_read()
1508 sc->sc_tty[0].ht_open = 0; in uhso_ucom_stop_read()
1526 sc->sc_tty[ucom->sc_subunit].ht_xfer[UHSO_CTRL_WRITE], in uhso_ucom_start_write()
1527 &sc->sc_tty[ucom->sc_subunit]); in uhso_ucom_start_write()
1529 sc->sc_tty[ucom->sc_subunit].ht_xfer[UHSO_CTRL_WRITE]); in uhso_ucom_start_write()
1543 sc->sc_tty[ucom->sc_subunit].ht_xfer[UHSO_CTRL_WRITE]); in uhso_ucom_stop_write()