/freebsd-12-stable/sys/dev/usb/ |
H A D | usb_request.c | 285 USETW(req.wLength, 0); 370 * "data" - if the "wLength" part of the structure pointed to by "req" 372 * can hold at least "wLength" bytes. If "wLength" is zero "data" can 433 length = UGETW(req->wLength); 436 "wValue=0x%02x%02x wIndex=0x%02x%02x wLength=0x%02x%02x\n", 440 req->wLength[1], req->wLength[0]); 751 len = UGETW(req->wLength); 1011 USETW(req.wLength, min_le [all...] |
H A D | usb_cdc.h | 159 uWord wLength; member in struct:usb_cdc_notification 204 uWord wLength; member in struct:usb_ncm16_dpt 224 uWord wLength; member in struct:usb_ncm32_dpt 269 uWord wLength; member in struct:usb_ncm_parameters
|
/freebsd-12-stable/share/examples/libusb20/ |
H A D | control.c | 77 printf("doit(): bmRequestType 0x%02x, bRequest 0x%02x, wValue 0x%04x, wIndex 0x%04x, wLength 0x%04x\n", 82 setup.wLength); 113 data = malloc(setup.wLength); 118 setup.wLength); 138 print_formatted(data, (uint32_t)setup.wLength); 188 "Usage ./usb [-i <INTR_EP>] -v <VID> -p <PID> [dir type rcpt req wValue wIndex wLength [<outdata> ...]]\n"); 298 setup.wLength = strtoul(argv[idx], 0, 0); 329 * setup.wLength: length of associated data transfer, direction
|
/freebsd-12-stable/contrib/libpcap/pcap/ |
H A D | usb.h | 64 uint16_t wLength; member in struct:_usb_setup
|
/freebsd-12-stable/sys/dev/rtwn/usb/ |
H A D | rtwn_usb_reg.c | 99 USETW(req.wLength, len); 133 USETW(req.wLength, len);
|
/freebsd-12-stable/lib/libusb/ |
H A D | libusb10_io.c | 465 uint8_t *data, uint16_t wLength, unsigned int timeout) 474 if ((wLength != 0) && (data == NULL)) 483 req.wLength = wLength; 709 uint16_t wIndex, uint16_t wLength) 718 req->wLength = htole16(wLength); 736 + le16toh(setup->wLength); 463 libusb_control_transfer(libusb_device_handle *devh, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint8_t *data, uint16_t wLength, unsigned int timeout) argument 707 libusb_fill_control_setup(uint8_t *buf, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint16_t wLength) argument
|
H A D | libusb20.c | 840 req.wLength = 4; /* bytes */ 846 req.wLength = 255; 850 req.wLength = *(uint8_t *)ptr; 853 if (req.wLength > len) { 855 req.wLength = len;
|
H A D | libusb.h | 432 uint16_t wLength; member in struct:libusb_control_setup 540 void libusb_fill_control_setup(uint8_t *buf, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint16_t wLength); 567 int libusb_control_transfer(libusb_device_handle * devh, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint8_t *data, uint16_t wLength, uint32_t timeout);
|
/freebsd-12-stable/sys/dev/usb/serial/ |
H A D | uslcom.c | 511 USETW(req.wLength, 0); 535 USETW(req.wLength, 0); 555 USETW(req.wLength, sizeof(partnum)); 581 USETW(req.wLength, 0); 605 USETW(req.wLength, 0); 655 USETW(req.wLength, sizeof(baudrate)); 692 USETW(req.wLength, 0); 712 USETW(req.wLength, sizeof(flowctrl)); 743 USETW(req.wLength, 0); 772 USETW(req.wLength, sizeo [all...] |
H A D | uvisor.c | 416 USETW(req.wLength, UVISOR_CONNECTION_INFO_SIZE); 468 USETW(req.wLength, UVISOR_GET_PALM_INFORMATION_LEN); 496 USETW(req.wLength, UVISOR_GET_PALM_INFORMATION_LEN); 510 USETW(req.wLength, 1); 522 USETW(req.wLength, 1); 536 USETW(req.wLength, sizeof(wAvail)); 567 USETW(req.wLength, UVISOR_CONNECTION_INFO_SIZE);
|
H A D | uplcom.c | 439 USETW(req.wLength, 1); 604 USETW(req.wLength, 0); 621 USETW(req.wLength, length); 681 USETW(req.wLength, 0); 705 USETW(req.wLength, 0); 727 USETW(req.wLength, 0); 926 USETW(req.wLength, UCDC_LINE_STATE_LENGTH); 948 USETW(req.wLength, 0); 964 USETW(req.wLength, 0);
|
H A D | ufoma.c | 549 USETW(req.wLength, sc->sc_modetable[0]); 571 USETW(req.wLength, 0); 612 USETW(req.wLength, UFOMA_CMD_BUF_SIZE); 654 USETW(req.wLength, 1); 705 wLen = UGETW(pkt.wLength); 894 USETW(req.wLength, 0); 924 USETW(req.wLength, 0); 1021 USETW(req.wLength, UCDC_LINE_STATE_LENGTH);
|
H A D | uftdi.c | 1369 USETW(req.wLength, 0); 1390 USETW(req.wLength, 0); 1417 USETW(req.wLength, 0); 1654 USETW(req.wLength, 0); 1662 USETW(req.wLength, 0); 1670 USETW(req.wLength, 0); 1698 USETW(req.wLength, 0); 1717 USETW(req.wLength, 0); 1743 USETW(req.wLength, 1); 1765 USETW(req.wLength, [all...] |
H A D | umodem.c | 634 USETW(req.wLength, sizeof(ls)); 687 USETW(req.wLength, 0); 711 USETW(req.wLength, 0); 735 USETW(req.wLength, 0); 797 wLen = UGETW(pkt.wLength); 946 USETW(req.wLength, UCDC_ABSTRACT_STATE_LENGTH);
|
H A D | ulpt.c | 177 USETW(req.wLength, 0); 334 USETW(req.wLength, 1); 613 USETW(req.wLength, sizeof devinfo - 1);
|
H A D | ubser.c | 255 USETW(req.wLength, 1); 505 USETW(req.wLength, 0);
|
H A D | ucycom.c | 407 USETW(req.wLength, sc->sc_olen); 459 USETW(req.wLength, len);
|
/freebsd-12-stable/sys/dev/usb/net/ |
H A D | if_cue.c | 210 USETW(req.wLength, 1); 228 USETW(req.wLength, 2); 243 USETW(req.wLength, 0); 260 USETW(req.wLength, len); 274 USETW(req.wLength, ETHER_ADDR_LEN); 361 USETW(req.wLength, 0);
|
H A D | if_ipheth.c | 199 req.wLength[0] = ETHER_ADDR_LEN; 200 req.wLength[1] = 0; 326 req.wLength[0] = IPHETH_CTRL_BUF_SIZE; 327 req.wLength[1] = 0;
|
H A D | if_mos.c | 278 USETW(req.wLength, 1); 302 USETW(req.wLength, 2); 325 USETW(req.wLength, 1); 349 USETW(req.wLength, 2); 370 USETW(req.wLength, ETHER_ADDR_LEN); 390 USETW(req.wLength, ETHER_ADDR_LEN); 411 USETW(req.wLength, 8);
|
H A D | if_cdce.c | 352 USETW(req.wLength, sizeof(temp)); 457 USETW(req.wLength, 8); 462 USETW(req.wLength, 4); 478 USETW(req.wLength, 0); 491 USETW(req.wLength, 0); 1126 USETW(req.wLength, 0); 1140 USETW(req.wLength, 8); 1314 USETW(sc->sc_ncm.dpt.wLength, rem); 1493 nframes = UGETW(sc->sc_ncm.dpt.wLength) / 4;
|
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); 399 USETW(req.wLength, len); 425 USETW(req.wLength, 0x0000);
|
/freebsd-12-stable/usr.sbin/usbconfig/ |
H A D | usbconfig.c | 827 opt->setup.wLength = num_id(argv[n + 5], "wLen"); 828 if (opt->setup.wLength != 0) { 829 opt->buffer = malloc(opt->setup.wLength); 840 if (t < opt->setup.wLength) { 843 t = opt->setup.wLength; 848 n += opt->setup.wLength;
|
/freebsd-12-stable/tools/tools/usbtest/ |
H A D | usb_control_ep_test.c | 111 req.wLength = 255; 511 setup_set_stall.wLength = 0; 518 setup_get_status.wLength = 1;
|
H A D | usb_modem_test.c | 228 setup.wLength = 0x0002; 239 setup.wLength = UCDC_ABSTRACT_STATE_LENGTH; 256 setup.wLength = sizeof(ls);
|