/freebsd/sys/dev/usb/ |
H A D | usb_request.c | 283 USETW(req.wLength, 0); in usb_do_clear_stall_callback() 441 length = UGETW(req->wLength); in usbd_do_request_flags() 448 req->wLength[1], req->wLength[0]); in usbd_do_request_flags() 759 len = UGETW(req->wLength); in usbd_do_request_proc() 1018 USETW(req.wLength, min_len); in usbd_req_get_desc() 1029 USETW(req.wLength, max_len); in usbd_req_get_desc() 1248 USETW(req.wLength, 0); in usbd_req_get_descriptor_ptr() 1431 USETW(req.wLength, 1); in usbd_req_get_alt_interface_no() 1459 USETW(req.wLength, 0); in usbd_req_set_alt_interface_no() 1490 USETW(req.wLength, sizeof(*st)); in usbd_req_get_device_status() [all …]
|
H A D | usb_cdc.h | 158 uWord wLength; member 203 uWord wLength; member 223 uWord wLength; member 268 uWord wLength; member
|
/freebsd/share/examples/libusb20/ |
H A D | control.c | 80 setup.wLength); in doit() 111 data = malloc(setup.wLength); in doit() 116 setup.wLength); in doit() 136 print_formatted(data, (uint32_t)setup.wLength); in doit() 296 setup.wLength = strtoul(argv[idx], 0, 0); in parse_req()
|
/freebsd/sys/dev/usb/serial/ |
H A D | uslcom.c | 501 USETW(req.wLength, 0); in uslcom_cfg_open() 529 USETW(req.wLength, 0); in uslcom_cfg_close() 549 USETW(req.wLength, sizeof(partnum)); in uslcom_get_partnum() 575 USETW(req.wLength, 0); in uslcom_cfg_set_dtr() 599 USETW(req.wLength, 0); in uslcom_cfg_set_rts() 649 USETW(req.wLength, sizeof(baudrate)); in uslcom_cfg_param() 686 USETW(req.wLength, 0); in uslcom_cfg_param() 706 USETW(req.wLength, sizeof(flowctrl)); in uslcom_cfg_param() 737 USETW(req.wLength, 0); in uslcom_cfg_set_break() 766 USETW(req.wLength, sizeof(latch)); in uslcom_ioctl() [all …]
|
H A D | uvisor.c | 413 USETW(req.wLength, UVISOR_CONNECTION_INFO_SIZE); in uvisor_init() 465 USETW(req.wLength, UVISOR_GET_PALM_INFORMATION_LEN); in uvisor_init() 493 USETW(req.wLength, UVISOR_GET_PALM_INFORMATION_LEN); in uvisor_init() 507 USETW(req.wLength, 1); in uvisor_init() 519 USETW(req.wLength, 1); in uvisor_init() 533 USETW(req.wLength, sizeof(wAvail)); in uvisor_init() 564 USETW(req.wLength, UVISOR_CONNECTION_INFO_SIZE); in uvisor_cfg_close()
|
H A D | uplcom.c | 434 USETW(req.wLength, 1); in uplcom_attach() 599 USETW(req.wLength, 0); in uplcom_reset() 616 USETW(req.wLength, length); in uplcom_pl2303_do() 676 USETW(req.wLength, 0); in uplcom_cfg_set_dtr() 700 USETW(req.wLength, 0); in uplcom_cfg_set_rts() 722 USETW(req.wLength, 0); in uplcom_cfg_set_break() 921 USETW(req.wLength, UCDC_LINE_STATE_LENGTH); in uplcom_cfg_param() 942 USETW(req.wLength, 0); in uplcom_cfg_param() 958 USETW(req.wLength, 0); in uplcom_cfg_param()
|
H A D | ufoma.c | 541 USETW(req.wLength, sc->sc_modetable[0]); in ufoma_cfg_link_state() 563 USETW(req.wLength, 0); in ufoma_cfg_activate_state() 604 USETW(req.wLength, UFOMA_CMD_BUF_SIZE); in ufoma_ctrl_read_callback() 645 USETW(req.wLength, 1); in ufoma_ctrl_write_callback() 696 wLen = UGETW(pkt.wLength); in ufoma_intr_callback() 885 USETW(req.wLength, 0); in ufoma_cfg_set_break() 915 USETW(req.wLength, 0); in ufoma_cfg_set_line_state() 1012 USETW(req.wLength, UCDC_LINE_STATE_LENGTH); in ufoma_cfg_param()
|
H A D | uftdi.c | 1385 USETW(req.wLength, 0); in uftdi_cfg_set_dtr() 1406 USETW(req.wLength, 0); in uftdi_cfg_set_rts() 1433 USETW(req.wLength, 0); in uftdi_cfg_set_break() 1670 USETW(req.wLength, 0); in uftdi_cfg_param() 1678 USETW(req.wLength, 0); in uftdi_cfg_param() 1686 USETW(req.wLength, 0); in uftdi_cfg_param() 1714 USETW(req.wLength, 0); in uftdi_reset() 1733 USETW(req.wLength, 0); in uftdi_set_bitmode() 1759 USETW(req.wLength, 1); in uftdi_get_bitmode() 1781 USETW(req.wLength, 0); in uftdi_set_latency() [all …]
|
H A D | umodem.c | 623 USETW(req.wLength, sizeof(ls)); in umodem_cfg_param() 688 USETW(req.wLength, 0); in umodem_cfg_set_dtr() 712 USETW(req.wLength, 0); in umodem_cfg_set_rts() 735 USETW(req.wLength, 0); in umodem_cfg_set_break() 797 wLen = UGETW(pkt.wLength); in umodem_intr_read_callback() 944 USETW(req.wLength, UCDC_ABSTRACT_STATE_LENGTH); in umodem_set_comm_feature()
|
/freebsd/lib/libusb/ |
H A D | libusb10_io.c | 472 uint8_t *data, uint16_t wLength, unsigned int timeout) in libusb_control_transfer() argument 481 if ((wLength != 0) && (data == NULL)) in libusb_control_transfer() 490 req.wLength = wLength; in libusb_control_transfer() 716 uint16_t wIndex, uint16_t wLength) in libusb_fill_control_setup() argument 725 req->wLength = htole16(wLength); in libusb_fill_control_setup() 743 + le16toh(setup->wLength); in libusb_fill_control_transfer()
|
H A D | libusb20.c | 844 req.wLength = 4; /* bytes */ in libusb20_dev_req_string_sync() 850 req.wLength = 255; in libusb20_dev_req_string_sync() 854 req.wLength = *(uint8_t *)ptr; in libusb20_dev_req_string_sync() 857 if (req.wLength > len) { in libusb20_dev_req_string_sync() 859 req.wLength = len; in libusb20_dev_req_string_sync()
|
H A D | libusb.h | 446 uint16_t wLength; member 555 …*buf, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint16_t wLength); 583 …t8_t bRequest, uint16_t wValue, uint16_t wIndex, uint8_t *data, uint16_t wLength, uint32_t timeout…
|
/freebsd/sys/dev/usb/net/ |
H A D | if_cue.c | 205 USETW(req.wLength, 1); in cue_csr_read_1() 223 USETW(req.wLength, 2); in cue_csr_read_2() 238 USETW(req.wLength, 0); in cue_csr_write_1() 255 USETW(req.wLength, len); in cue_mem() 269 USETW(req.wLength, ETHER_ADDR_LEN); in cue_getmac() 359 USETW(req.wLength, 0); in cue_reset()
|
H A D | if_cdce.c | 357 USETW(req.wLength, sizeof(temp)); in cdce_ncm_init() 462 USETW(req.wLength, 8); in cdce_ncm_init() 467 USETW(req.wLength, 4); in cdce_ncm_init() 483 USETW(req.wLength, 0); in cdce_ncm_init() 496 USETW(req.wLength, 0); in cdce_ncm_init() 1058 USETW(req.wLength, 0); in cdce_set_filter() 1204 if (UGETW(ucn.wLength) != 8) in cdce_intr_read_callback() 1209 &ucn.data, UGETW(ucn.wLength)); in cdce_intr_read_callback() 1226 off += UCDC_NOTIFICATION_LENGTH + UGETW(ucn.wLength); in cdce_intr_read_callback() 1288 USETW(req.wLength, 0); in cdce_intr_write_callback() [all …]
|
H A D | if_mos.c | 276 USETW(req.wLength, 1); in mos_reg_read_1() 300 USETW(req.wLength, 2); in mos_reg_read_2() 323 USETW(req.wLength, 1); in mos_reg_write_1() 347 USETW(req.wLength, 2); in mos_reg_write_2() 368 USETW(req.wLength, ETHER_ADDR_LEN); in mos_readmac() 388 USETW(req.wLength, ETHER_ADDR_LEN); in mos_writemac() 409 USETW(req.wLength, 8); in mos_write_mcast()
|
H A D | if_udav.c | 333 USETW(req.wLength, len); 350 USETW(req.wLength, len); 365 USETW(req.wLength, 0x0000); 382 USETW(req.wLength, len); in udav_csr_read() 399 USETW(req.wLength, len); in udav_csr_write() 425 USETW(req.wLength, 0x0000); in udav_csr_write1()
|
H A D | if_ipheth.c | 194 req.wLength[0] = ETHER_ADDR_LEN; in ipheth_get_mac_addr() 195 req.wLength[1] = 0; in ipheth_get_mac_addr() 321 req.wLength[0] = IPHETH_CTRL_BUF_SIZE; in ipheth_tick() 322 req.wLength[1] = 0; in ipheth_tick()
|
H A D | mbim.h | 640 uWord wLength; member 697 uWord wLength; member 716 uWord wLength; member
|
/freebsd/sys/dev/rtwn/usb/ |
H A D | rtwn_usb_reg.c | 96 USETW(req.wLength, len); in rtwn_usb_write_region_1() 130 USETW(req.wLength, len); in rtwn_usb_read_region_1()
|
/freebsd/usr.sbin/usbconfig/ |
H A D | usbconfig.c | 833 opt->setup.wLength = num_id(argv[n + 5], "wLen"); in main() 834 if (opt->setup.wLength != 0) { in main() 835 opt->buffer = malloc(opt->setup.wLength); in main() 846 if (t < opt->setup.wLength) { in main() 849 t = opt->setup.wLength; in main() 854 n += opt->setup.wLength; in main()
|
/freebsd/sys/dev/usb/input/ |
H A D | usbhid.c | 230 int len = UGETW(req->wLength); in usbhid_ctrl_callback() 570 USETW(req.ctrl.wLength, maxlen); in usbhid_get_report() 596 USETW(req.ctrl.wLength, len); in usbhid_set_report() 657 USETW(req.ctrl.wLength, 0); in usbhid_set_idle() 678 USETW(req.ctrl.wLength, 0); in usbhid_set_protocol() 697 sc, USBHID_CTRL_DT, UGETW(req.ctrl.wLength)); in usbhid_ioctl() 706 ucr->ucr_actlen = UGETW(req.ctrl.wLength); in usbhid_ioctl()
|
/freebsd/tools/tools/usbtest/ |
H A D | usb_control_ep_test.c | 110 req.wLength = 255; in usb_control_ep_error_test() 510 setup_set_stall.wLength = 0; in usb_set_and_clear_stall_test() 517 setup_get_status.wLength = 1; in usb_set_and_clear_stall_test()
|
H A D | usb_modem_test.c | 227 setup.wLength = 0x0002; in usb_modem_control_ep_test() 238 setup.wLength = UCDC_ABSTRACT_STATE_LENGTH; in usb_modem_control_ep_test() 255 setup.wLength = sizeof(ls); in usb_modem_control_ep_test()
|
/freebsd/sys/dev/usb/misc/ |
H A D | i2ctinyusb.c | 101 USETW(req.wLength, len); in usb_read() 124 USETW(req.wLength, len); in usb_write()
|
/freebsd/contrib/libpcap/pcap/ |
H A D | usb.h | 64 uint16_t wLength; member
|