/freebsd/sys/dev/usb/misc/ |
H A D | ugold.c | 98 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 D | uled.c | 64 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 D | uplcom.c | 168 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 D | uslcom.c | 145 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 D | uftdi.c | 150 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 D | uark.c | 87 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 D | ufoma.c | 173 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 D | umodem.c | 180 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 D | ubser.c | 129 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 D | umoscom.c | 180 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 D | uvscom.c | 150 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 D | ulpt.c | 110 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 D | uipaq.c | 94 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 D | umcs.c | 136 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 D | ucycom.c | 84 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 D | uchcom.c | 168 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 D | umct.c | 113 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 D | ubsa.c | 162 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 D | ubtbcmfw.c | 82 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 D | uaudio.c | 381 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 D | usb_hub.c | 108 #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 D | usb_hub_private.h | 58 struct usb_device *sc_udev; /* USB device */ member
|
/freebsd/sys/dev/usb/net/ |
H A D | uhso.c | 81 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 D | if_urndisreg.h | 45 struct usb_device *sc_udev; member
|
/freebsd/sys/dev/usb/input/ |
H A D | usbhid.c | 133 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()
|