Home
last modified time | relevance | path

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

/freebsd/sys/dev/usb/serial/
H A Dumcs.c140 uint8_t sc_numports; /* Number of ports (subunits) */ member
331 sc->sc_numports = 4; in umcs7840_attach()
338 sc->sc_numports = 2; in umcs7840_attach()
343 device_printf(dev, "Chip mcs%04x, found %d active ports\n", uaa->info.idProduct, sc->sc_numports); in umcs7840_attach()
355 for (subunit = 0; subunit < sc->sc_numports; ++subunit) { in umcs7840_attach()
366 subunit + 1, sc->sc_numports); in umcs7840_attach()
379 for (subunit = 0; subunit < sc->sc_numports; ++subunit) { in umcs7840_attach()
385 error = ucom_attach(&sc->sc_super_ucom, sc->sc_ucom, sc->sc_numports, sc, in umcs7840_attach()
407 for (subunit = 0; subunit < sc->sc_numports; ++subunit) in umcs7840_detach()
783 for (subunit = 0; subunit < sc->sc_numports; ++subunit) { in umcs7840_intr_callback()
H A Du3g.c114 uint8_t sc_numports; member
1045 sc->sc_numports = nports; in u3g_attach()
1048 sc->sc_numports, sc, &u3g_callback, &sc->sc_mtx); in u3g_attach()
1054 device_printf(dev, "Found %u port%s.\n", sc->sc_numports, in u3g_attach()
1055 sc->sc_numports > 1 ? "s":""); in u3g_attach()