Home
last modified time | relevance | path

Searched refs:sc_udev (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/sys/dev/usb/misc/
H A Dugold.c98 struct usb_device *sc_udev; member
164 usb_proc_explore_lock(sc->sc_udev); in ugold_timeout()
165 (void)usb_proc_explore_msignal(sc->sc_udev, in ugold_timeout()
167 usb_proc_explore_unlock(sc->sc_udev); in ugold_timeout()
199 sc->sc_udev = uaa->device; in ugold_attach()
296 usb_proc_explore_lock(sc->sc_udev); in ugold_detach()
297 usb_proc_explore_mwait(sc->sc_udev, in ugold_detach()
299 usb_proc_explore_unlock(sc->sc_udev); in ugold_detach()
384 return (usbd_req_set_report(sc->sc_udev, &sc->sc_mtx, cmd, len, in ugold_issue_cmd()
393 usb_proc_explore_unlock(sc->sc_udev); in ugold_readout_msg()
[all …]
H A Duled.c64 struct usb_device *sc_udev; member
154 sc->sc_udev = uaa->device; in uled_attach()
196 return (usbd_do_request_flags(sc->sc_udev, &sc->sc_mtx, &req, buf, in uled_ctrl_msg()
/freebsd/sys/dev/usb/serial/
H A Duplcom.c168 struct usb_device *sc_udev; member
391 sc->sc_udev = uaa->device; in uplcom_attach()
393 dd = usbd_get_device_descriptor(sc->sc_udev); in uplcom_attach()
436 err = usbd_do_request(sc->sc_udev, NULL, &req, buf); in uplcom_attach()
515 if (uplcom_pl2303_do(sc->sc_udev, UT_WRITE_VENDOR_DEVICE, in uplcom_attach()
517 uplcom_pl2303_do(sc->sc_udev, UT_WRITE_VENDOR_DEVICE, in uplcom_attach()
523 if (uplcom_pl2303_do(sc->sc_udev, UT_WRITE_VENDOR_DEVICE, in uplcom_attach()
679 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uplcom_cfg_set_dtr()
703 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uplcom_cfg_set_rts()
725 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uplcom_cfg_set_break()
[all …]
H A Duslcom.c145 struct usb_device *sc_udev; member
428 sc->sc_udev = uaa->device; in uslcom_attach()
504 if (ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uslcom_cfg_open()
532 if (ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uslcom_cfg_close()
552 if (usbd_do_request_flags(sc->sc_udev, NULL, in uslcom_get_partnum()
578 if (ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uslcom_cfg_set_dtr()
602 if (ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uslcom_cfg_set_rts()
652 if (ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uslcom_cfg_param()
689 if (ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uslcom_cfg_param()
709 if (ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uslcom_cfg_param()
[all …]
H A Duftdi.c150 struct usb_device *sc_udev; member
1014 dd = usbd_get_device_descriptor(sc->sc_udev); in uftdi_devtype_setup()
1113 sc->sc_udev = uaa->device; in uftdi_attach()
1387 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uftdi_cfg_set_dtr()
1408 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uftdi_cfg_set_rts()
1435 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uftdi_cfg_set_break()
1672 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uftdi_cfg_param()
1680 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uftdi_cfg_param()
1688 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uftdi_cfg_param()
1718 return (usbd_do_request(sc->sc_udev, &sc->sc_mtx, &req, NULL)); in uftdi_reset()
[all …]
H A Duark.c87 struct usb_device *sc_udev; member
204 sc->sc_udev = uaa->device; in uark_attach()
450 err = ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uark_cfg_write()
H A Dufoma.c173 struct usb_device *sc_udev; member
375 sc->sc_udev = uaa->device; in ufoma_attach()
544 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in ufoma_cfg_link_state()
566 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in ufoma_cfg_activate_state()
888 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in ufoma_cfg_set_break()
918 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in ufoma_cfg_set_line_state()
1015 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in ufoma_cfg_param()
H A Dumodem.c180 struct usb_device *sc_udev; member
354 sc->sc_udev = uaa->device; in umodem_attach()
626 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in umodem_cfg_param()
691 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in umodem_cfg_set_dtr()
715 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in umodem_cfg_set_rts()
738 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in umodem_cfg_set_break()
H A Dubser.c129 struct usb_device *sc_udev; member
243 sc->sc_udev = uaa->device; in ubser_attach()
499 err = ucom_cfg_do_request(sc->sc_udev, ucom, in ubser_cfg_set_break()
H A Dumoscom.c180 struct usb_device *sc_udev; member
313 sc->sc_udev = uaa->device; in umoscom_attach()
561 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in umoscom_cfg_write()
577 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in umoscom_cfg_read()
H A Duvscom.c150 struct usb_device *sc_udev; member
299 sc->sc_udev = uaa->device; in uvscom_attach()
732 err = ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uvscom_cfg_write()
753 err = ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uvscom_cfg_read_status()
H A Dulpt.c110 struct usb_device *sc_udev; member
187 if (usbd_do_request_flags(sc->sc_udev, &sc->sc_mtx, in ulpt_reset()
190 if (usbd_do_request_flags(sc->sc_udev, &sc->sc_mtx, in ulpt_reset()
541 sc->sc_udev = uaa->device; in ulpt_attach()
H A Duipaq.c94 struct usb_device *sc_udev; member
1121 sc->sc_udev = uaa->device; in uipaq_attach()
1260 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uipaq_cfg_set_dtr()
1284 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uipaq_cfg_set_rts()
1304 ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in uipaq_cfg_set_break()
H A Dumcs.c136 struct usb_device *sc_udev; /* USB Device for all operations */ member
316 sc->sc_udev = uaa->device; in umcs7840_attach()
956 …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()
977 …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()
1001 …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()
1026 …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 Ducycom.c84 struct usb_device *sc_udev; member
220 sc->sc_udev = uaa->device; in ucycom_attach()
464 err = ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in ucycom_cfg_write()
H A Duchcom.c168 struct usb_device *sc_udev; member
324 sc->sc_udev = uaa->device; in uchcom_attach()
423 ucom_cfg_do_request(sc->sc_udev, in uchcom_ctrl_write()
441 ucom_cfg_do_request(sc->sc_udev, in uchcom_ctrl_read()
H A Dumct.c113 struct usb_device *sc_udev; member
258 sc->sc_udev = uaa->device; in umct_attach()
364 err = ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in umct_cfg_do_request()
H A Dubsa.c162 struct usb_device *sc_udev; member
307 sc->sc_udev = uaa->device; in ubsa_attach()
386 err = ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, in ubsa_cfg_request()
/freebsd/sys/netgraph/bluetooth/drivers/ubtbcmfw/
H A Dubtbcmfw.c82 struct usb_device *sc_udev; member
211 sc->sc_udev = uaa->device; in ubtbcmfw_attach()
437 memcpy(data, usbd_get_device_descriptor(sc->sc_udev), in ubtbcmfw_ioctl()
/freebsd/sys/dev/sound/usb/
H A Duaudio.c381 struct usb_device *sc_udev; member
929 if (usbd_req_set_report(sc->sc_udev, NULL, in uaudio_set_spdif_cm6206()
950 iface = usbd_get_iface(sc->sc_udev, iface_index); in uaudio_force_power_save()
957 err = usbd_req_set_alt_interface_no(sc->sc_udev, NULL, iface_index, in uaudio_force_power_save()
960 err = usbd_set_alt_interface_index(sc->sc_udev, iface_index, 0); in uaudio_force_power_save()
974 sc->sc_udev = uaa->device; in uaudio_attach()
1206 usb_get_manufacturer(sc->sc_udev), in uaudio_attach_sub()
1207 usb_get_product(sc->sc_udev)); in uaudio_attach_sub()
1272 usb_proc_explore_lock(sc->sc_udev); in uaudio_detach()
1277 usb_proc_explore_mwait(sc->sc_udev, in uaudio_detach()
[all …]
/freebsd/sys/dev/usb/
H A Dusb_hub.c108 #define UHUB_PROTO(sc) ((sc)->sc_udev->ddesc.bDeviceProtocol)
198 usb_needs_explore(sc->sc_udev->bus, 0); in uhub_intr_callback()
336 udev = sc->sc_udev; in uhub_reset_tt_callback()
514 bus = sc->sc_udev->bus; in uhub_explore_sub()
570 sc->sc_udev, NULL, &ps, portno); in uhub_read_port_status()
612 udev = sc->sc_udev; in uhub_reattach_port()
832 sc->sc_udev, NULL, in uhub_reattach_port()
882 udev = sc->sc_udev; in uhub_suspend_resume_port()
1223 sc->sc_udev = udev; in uhub_attach()
1551 struct usb_hub *hub = sc->sc_udev->hub; in uhub_detach()
[all …]
H A Dusb_hub_private.h58 struct usb_device *sc_udev; /* USB device */ member
/freebsd/sys/dev/usb/net/
H A Duhso.c81 struct usb_device *sc_udev; member
559 sc->sc_udev = uaa->device; in uhso_attach()
897 type = probe(sc->sc_udev, index); in uhso_probe_iface()
903 iface = usbd_get_iface(sc->sc_udev, index); in uhso_probe_iface()
974 uerr = usbd_do_request(sc->sc_udev, NULL, &req, NULL); in uhso_radio_ctrl()
1047 desc = usbd_find_descriptor(sc->sc_udev, NULL, in uhso_attach_muxserial()
1070 uerr = usbd_transfer_setup(sc->sc_udev, in uhso_attach_muxserial()
1083 uerr = usbd_transfer_setup(sc->sc_udev, in uhso_attach_muxserial()
1272 uerr = usbd_transfer_setup(sc->sc_udev, in uhso_attach_bulkserial()
1277 uerr = usbd_transfer_setup(sc->sc_udev, in uhso_attach_bulkserial()
[all …]
H A Dif_urndisreg.h45 struct usb_device *sc_udev; member
/freebsd/sys/dev/usb/input/
H A Dusbhid.c133 struct usb_device *sc_udev; member
356 error = usbd_transfer_setup(sc->sc_udev, in usbhid_intr_setup()
389 error = usbd_transfer_setup(sc->sc_udev, &sc->sc_iface_index, in usbhid_intr_setup()
545 error = usbd_req_get_report_descriptor(sc->sc_udev, NULL, in usbhid_get_rdesc()
701 error = usb_check_request(sc->sc_udev, &req.ctrl); in usbhid_ioctl()
823 sc->sc_udev = uaa->device; in usbhid_attach()

123