Searched refs:wLength (Results 1 - 25 of 83) sorted by relevance

1234

/freebsd-12-stable/sys/dev/usb/
H A Dusb_request.c285 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 Dusb_cdc.h159 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 Dcontrol.c77 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 Dusb.h64 uint16_t wLength; member in struct:_usb_setup
/freebsd-12-stable/sys/dev/rtwn/usb/
H A Drtwn_usb_reg.c99 USETW(req.wLength, len);
133 USETW(req.wLength, len);
/freebsd-12-stable/lib/libusb/
H A Dlibusb10_io.c465 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 Dlibusb20.c840 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 Dlibusb.h432 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 Duslcom.c511 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 Duvisor.c416 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 Duplcom.c439 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 Dufoma.c549 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 Duftdi.c1369 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 Dumodem.c634 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 Dulpt.c177 USETW(req.wLength, 0);
334 USETW(req.wLength, 1);
613 USETW(req.wLength, sizeof devinfo - 1);
H A Dubser.c255 USETW(req.wLength, 1);
505 USETW(req.wLength, 0);
H A Ducycom.c407 USETW(req.wLength, sc->sc_olen);
459 USETW(req.wLength, len);
/freebsd-12-stable/sys/dev/usb/net/
H A Dif_cue.c210 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 Dif_ipheth.c199 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 Dif_mos.c278 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 Dif_cdce.c352 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 Dif_udav.c333 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 Dusbconfig.c827 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 Dusb_control_ep_test.c111 req.wLength = 255;
511 setup_set_stall.wLength = 0;
518 setup_get_status.wLength = 1;
H A Dusb_modem_test.c228 setup.wLength = 0x0002;
239 setup.wLength = UCDC_ABSTRACT_STATE_LENGTH;
256 setup.wLength = sizeof(ls);

Completed in 297 milliseconds

1234