Lines Matching refs:sc_ucom
128 struct ucom_softc sc_ucom[UMCS7840_MAX_PORTS]; /* Need to be continuous member
334 sc->sc_ucom[0].sc_portno = 0; in umcs7840_attach()
335 sc->sc_ucom[1].sc_portno = 1; in umcs7840_attach()
336 sc->sc_ucom[2].sc_portno = 2; in umcs7840_attach()
337 sc->sc_ucom[3].sc_portno = 3; in umcs7840_attach()
341 sc->sc_ucom[0].sc_portno = 0; in umcs7840_attach()
342 sc->sc_ucom[1].sc_portno = 2; /* '1' is skipped */ in umcs7840_attach()
359 …umcs7840_config_tmp[n].endpoint = umcs7840_bulk_config_data[n].endpoint + 2 * sc->sc_ucom[subunit]… in umcs7840_attach()
363 &iface_index, sc->sc_ports[sc->sc_ucom[subunit].sc_portno].sc_xfer, umcs7840_config_tmp, in umcs7840_attach()
381 usbd_xfer_set_stall(sc->sc_ports[sc->sc_ucom[subunit].sc_portno].sc_xfer[UMCS7840_BULK_RD_EP]); in umcs7840_attach()
382 usbd_xfer_set_stall(sc->sc_ports[sc->sc_ucom[subunit].sc_portno].sc_xfer[UMCS7840_BULK_WR_EP]); in umcs7840_attach()
386 error = ucom_attach(&sc->sc_super_ucom, sc->sc_ucom, sc->sc_numports, sc, in umcs7840_attach()
406 ucom_detach(&sc->sc_super_ucom, sc->sc_ucom); in umcs7840_detach()
409 usbd_transfer_unsetup(sc->sc_ports[sc->sc_ucom[subunit].sc_portno].sc_xfer, UMCS7840_N_TRANSFERS); in umcs7840_detach()
785 uint8_t pn = sc->sc_ucom[subunit].sc_portno; in umcs7840_intr_callback()
795 ucom_status_change(&sc->sc_ucom[subunit]); in umcs7840_intr_callback()
848 struct ucom_softc *ucom = &sc->sc_ucom[subunit]; in umcs7840_read_callbackN()
905 struct ucom_softc *ucom = &sc->sc_ucom[subunit]; in umcs7840_write_callbackN()