Home
last modified time | relevance | path

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

/freebsd/sys/dev/usb/serial/
H A Dumcs.c303 int subunit; in umcs7840_attach() local
355 for (subunit = 0; subunit < sc->sc_numports; ++subunit) { in umcs7840_attach()
358 …onfig_tmp[n].endpoint = umcs7840_bulk_config_data[n].endpoint + 2 * sc->sc_ucom[subunit].sc_portno; in umcs7840_attach()
359 umcs7840_config_tmp[n].callback = umcs7840_rw_callbacks[subunit][n]; in umcs7840_attach()
362 &iface_index, sc->sc_ports[sc->sc_ucom[subunit].sc_portno].sc_xfer, umcs7840_config_tmp, in umcs7840_attach()
366 subunit + 1, sc->sc_numports); in umcs7840_attach()
379 for (subunit = 0; subunit < sc->sc_numports; ++subunit) { in umcs7840_attach()
380 usbd_xfer_set_stall(sc->sc_ports[sc->sc_ucom[subunit].sc_portno].sc_xfer[UMCS7840_BULK_RD_EP]); in umcs7840_attach()
381 usbd_xfer_set_stall(sc->sc_ports[sc->sc_ucom[subunit].sc_portno].sc_xfer[UMCS7840_BULK_WR_EP]); in umcs7840_attach()
403 int subunit; in umcs7840_detach() local
[all …]
H A Dusb_serial.c268 int subunit; in ucom_attach() local
303 for (subunit = 0; subunit < ssc->sc_subunits; subunit++) { in ucom_attach()
304 sc[subunit].sc_subunit = subunit; in ucom_attach()
305 sc[subunit].sc_super = ssc; in ucom_attach()
306 sc[subunit].sc_mtx = mtx; in ucom_attach()
307 sc[subunit].sc_parent = parent; in ucom_attach()
308 sc[subunit].sc_callback = callback; in ucom_attach()
310 error = ucom_attach_tty(ssc, &sc[subunit]); in ucom_attach()
319 sc[subunit].sc_flag |= UCOM_FLAG_ATTACHED; in ucom_attach()
335 int subunit; in ucom_detach() local
[all …]
H A Dusb_serial.h104 …ucom_tty_name) (struct ucom_softc *, char *pbuf, uint16_t buflen, uint16_t unit, uint16_t subunit);
H A Du3g.c1068 uint8_t subunit; in u3g_detach() local
1075 for (subunit = 0; subunit != U3G_MAXPORTS; subunit++) in u3g_detach()
1076 usbd_transfer_unsetup(sc->sc_xfer[subunit], U3G_N_TRANSFER); in u3g_detach()
/freebsd/sys/dev/usb/
H A Dusb_dev.c1828 struct usb_fifo_sc *f_sc, uint16_t unit, int16_t subunit, in usb_fifo_attach() argument
1901 if (subunit < 0) { in usb_fifo_attach()
1911 unit, subunit, pm->postfix[n] ? in usb_fifo_attach()
H A Dusbdi.h690 struct usb_fifo_sc *f_sc, uint16_t unit, int16_t subunit,
/freebsd/contrib/diff/doc/
H A Dfdl.texi115 A section ``Entitled XYZ'' means a named subunit of the Document whose
/freebsd/share/dict/
H A Dweb2193159 subunit