Home
last modified time | relevance | path

Searched refs:sc_super_ucom (Results 1 – 21 of 21) sorted by relevance

/freebsd/sys/dev/usb/serial/
H A Duark.c83 struct ucom_super_softc sc_super_ucom; member
202 ucom_ref(&sc->sc_super_ucom); in uark_attach()
222 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in uark_attach()
228 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in uark_attach()
242 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in uark_detach()
257 if (ucom_unref(&sc->sc_super_ucom)) { in uark_free_softc()
H A Dugensa.c86 struct ucom_super_softc sc_super_ucom; member
203 ucom_ref(&sc->sc_super_ucom); in ugensa_attach()
250 error = ucom_attach(&sc->sc_super_ucom, sc->sc_ucom, sc->sc_nports, sc, in ugensa_attach()
257 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in ugensa_attach()
272 ucom_detach(&sc->sc_super_ucom, sc->sc_ucom); in ugensa_detach()
290 if (ucom_unref(&sc->sc_super_ucom)) { in ugensa_free_softc()
H A Dubser.c124 struct ucom_super_softc sc_super_ucom; member
238 ucom_ref(&sc->sc_super_ucom); in ubser_attach()
283 error = ucom_attach(&sc->sc_super_ucom, sc->sc_ucom, in ubser_attach()
288 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in ubser_attach()
310 ucom_detach(&sc->sc_super_ucom, sc->sc_ucom); in ubser_detach()
325 if (ucom_unref(&sc->sc_super_ucom)) { in ubser_free_softc()
H A Ducycom.c80 struct ucom_super_softc sc_super_ucom; member
223 ucom_ref(&sc->sc_super_ucom); in ucycom_attach()
272 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in ucycom_attach()
277 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in ucycom_attach()
298 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in ucycom_detach()
313 if (ucom_unref(&sc->sc_super_ucom)) { in ucycom_free_softc()
H A Dubsa.c157 struct ucom_super_softc sc_super_ucom; member
304 ucom_ref(&sc->sc_super_ucom); in ubsa_attach()
323 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in ubsa_attach()
329 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in ubsa_attach()
345 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in ubsa_detach()
360 if (ucom_unref(&sc->sc_super_ucom)) { in ubsa_free_softc()
H A Dumct.c109 struct ucom_super_softc sc_super_ucom; member
262 ucom_ref(&sc->sc_super_ucom); in umct_attach()
299 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in umct_attach()
304 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in umct_attach()
318 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in umct_detach()
333 if (ucom_unref(&sc->sc_super_ucom)) { in umct_free_softc()
H A Dumoscom.c176 struct ucom_super_softc sc_super_ucom; member
321 ucom_ref(&sc->sc_super_ucom); in umoscom_attach()
337 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in umoscom_attach()
342 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in umoscom_attach()
357 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in umoscom_detach()
372 if (ucom_unref(&sc->sc_super_ucom)) { in umoscom_free_softc()
H A Duvisor.c172 struct ucom_super_softc sc_super_ucom; member
323 ucom_ref(&sc->sc_super_ucom); in uvisor_attach()
348 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in uvisor_attach()
354 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in uvisor_attach()
370 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in uvisor_detach()
385 if (ucom_unref(&sc->sc_super_ucom)) { in uvisor_free_softc()
H A Duvscom.c145 struct ucom_super_softc sc_super_ucom; member
296 ucom_ref(&sc->sc_super_ucom); in uvscom_attach()
320 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in uvscom_attach()
325 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in uvscom_attach()
351 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in uvscom_detach()
366 if (ucom_unref(&sc->sc_super_ucom)) { in uvscom_free_softc()
H A Dumcs.c126 struct ucom_super_softc sc_super_ucom; member
312 ucom_ref(&sc->sc_super_ucom); in umcs7840_attach()
385 error = ucom_attach(&sc->sc_super_ucom, sc->sc_ucom, sc->sc_numports, sc, in umcs7840_attach()
390 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in umcs7840_attach()
405 ucom_detach(&sc->sc_super_ucom, sc->sc_ucom); in umcs7840_detach()
423 if (ucom_unref(&sc->sc_super_ucom)) { in umcs7840_free_softc()
955 …err = usbd_do_request_proc(sc->sc_udev, &sc->sc_super_ucom.sc_tq, &req, (void *)data, 0, &len, UMC… in umcs7840_get_reg_sync()
976 …err = usbd_do_request_proc(sc->sc_udev, &sc->sc_super_ucom.sc_tq, &req, NULL, 0, NULL, UMCS7840_CT… in umcs7840_set_reg_sync()
1000 …err = usbd_do_request_proc(sc->sc_udev, &sc->sc_super_ucom.sc_tq, &req, (void *)data, 0, &len, UMC… in umcs7840_get_UART_reg_sync()
1025 …err = usbd_do_request_proc(sc->sc_udev, &sc->sc_super_ucom.sc_tq, &req, NULL, 0, NULL, UMCS7840_CT… in umcs7840_set_UART_reg_sync()
H A Dumodem.c175 struct ucom_super_softc sc_super_ucom; member
349 ucom_ref(&sc->sc_super_ucom); in umodem_attach()
451 ucom_set_usb_mode(&sc->sc_super_ucom, uaa->usb_mode); in umodem_attach()
453 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in umodem_attach()
459 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in umodem_attach()
635 if ((sc->sc_super_ucom.sc_flag & UCOM_FLAG_DEVICE_MODE) == 0) { in umodem_cfg_open()
957 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in umodem_detach()
972 if (ucom_unref(&sc->sc_super_ucom)) { in umodem_free_softc()
H A Duchcom.c163 struct ucom_super_softc sc_super_ucom; member
321 ucom_ref(&sc->sc_super_ucom); in uchcom_attach()
356 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in uchcom_attach()
361 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in uchcom_attach()
377 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in uchcom_detach()
392 if (ucom_unref(&sc->sc_super_ucom)) { in uchcom_free_softc()
H A Dufoma.c163 struct ucom_super_softc sc_super_ucom; member
379 ucom_ref(&sc->sc_super_ucom); in ufoma_attach()
441 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in ufoma_attach()
447 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in ufoma_attach()
465 CTLFLAG_RD, &(sc->sc_super_ucom.sc_unit), 0, in ufoma_attach()
480 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in ufoma_detach()
501 if (ucom_unref(&sc->sc_super_ucom)) { in ufoma_free_softc()
H A Duipaq.c89 struct ucom_super_softc sc_super_ucom; member
1124 ucom_ref(&sc->sc_super_ucom); in uipaq_attach()
1159 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in uipaq_attach()
1164 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in uipaq_attach()
1178 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in uipaq_detach()
1193 if (ucom_unref(&sc->sc_super_ucom)) { in uipaq_free_softc()
H A Duslcom.c139 struct ucom_super_softc sc_super_ucom; member
424 ucom_ref(&sc->sc_super_ucom); in uslcom_attach()
441 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in uslcom_attach()
446 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in uslcom_attach()
462 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in uslcom_detach()
479 if (ucom_unref(&sc->sc_super_ucom)) { in uslcom_free_softc()
H A Duplcom.c163 struct ucom_super_softc sc_super_ucom; member
386 ucom_ref(&sc->sc_super_ucom); in uplcom_attach()
528 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in uplcom_attach()
541 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in uplcom_attach()
557 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in uplcom_detach()
572 if (ucom_unref(&sc->sc_super_ucom)) { in uplcom_free_softc()
H A Du3g.c102 struct ucom_super_softc sc_super_ucom; member
977 ucom_ref(&sc->sc_super_ucom); in u3g_attach()
1047 error = ucom_attach(&sc->sc_super_ucom, sc->sc_ucom, in u3g_attach()
1053 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in u3g_attach()
1073 ucom_detach(&sc->sc_super_ucom, sc->sc_ucom); in u3g_detach()
1090 if (ucom_unref(&sc->sc_super_ucom)) { in u3g_free_softc()
H A Duftdi.c146 struct ucom_super_softc sc_super_ucom; member
1119 ucom_ref(&sc->sc_super_ucom); in uftdi_attach()
1148 error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc, in uftdi_attach()
1153 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, dev); in uftdi_attach()
1167 ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom); in uftdi_detach()
1182 if (ucom_unref(&sc->sc_super_ucom)) { in uftdi_free_softc()
/freebsd/sys/dev/usb/net/
H A Duhso.c103 struct ucom_super_softc sc_super_ucom; member
562 ucom_ref(&sc->sc_super_ucom); in uhso_attach()
676 ucom_detach(&sc->sc_super_ucom, sc->sc_ucom); in uhso_detach()
710 if (ucom_unref(&sc->sc_super_ucom)) { in uhso_free_softc()
928 error = ucom_attach(&sc->sc_super_ucom, sc->sc_ucom, in uhso_probe_iface()
934 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, sc->sc_dev); in uhso_probe_iface()
946 error = ucom_attach(&sc->sc_super_ucom, sc->sc_ucom, in uhso_probe_iface()
952 ucom_set_pnpinfo_usb(&sc->sc_super_ucom, sc->sc_dev); in uhso_probe_iface()
H A Dif_usievar.h212 struct ucom_super_softc sc_super_ucom; member
H A Dif_usie.c312 ucom_ref(&sc->sc_super_ucom); in usie_attach()
424 err = ucom_attach(&sc->sc_super_ucom, sc->sc_ucom, in usie_attach()
483 ucom_detach(&sc->sc_super_ucom, sc->sc_ucom); in usie_detach()
503 if (ucom_unref(&sc->sc_super_ucom)) { in usie_free_softc()