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

/external/chromium_org/third_party/libusb/src/libusb/
H A Dsync.c68 * The wValue, wIndex and wLength fields values should be given in host-endian
78 * \param wLength the length field for the setup packet. The data buffer should
92 unsigned char *data, uint16_t wLength, unsigned int timeout)
102 buffer = (unsigned char*) malloc(LIBUSB_CONTROL_SETUP_SIZE + wLength);
109 wLength);
111 memcpy(buffer + LIBUSB_CONTROL_SETUP_SIZE, data, wLength);
90 libusb_control_transfer(libusb_device_handle *dev_handle, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, unsigned char *data, uint16_t wLength, unsigned int timeout) argument
H A Dlibusb.h893 uint16_t wLength; member in struct:libusb_control_setup
1442 * buffer) for a control transfer. The wIndex, wValue and wLength values should
1459 * \param wLength see the
1460 * \ref libusb_control_setup::wLength "wLength" field of
1465 uint16_t wLength)
1472 setup->wLength = libusb_cpu_to_le16(wLength);
1485 * be interpreted as a control setup packet, and the wLength field will be
1521 + libusb_le16_to_cpu(setup->wLength));
1463 libusb_fill_control_setup(unsigned char *buffer, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint16_t wLength) argument
[all...]
/external/libusb/libusb/
H A Dsync.c50 * The wValue, wIndex and wLength fields values should be given in host-endian
60 * \param wLength the length field for the setup packet. The data buffer should
74 unsigned char *data, uint16_t wLength, unsigned int timeout)
84 buffer = malloc(LIBUSB_CONTROL_SETUP_SIZE + wLength);
91 wLength);
93 memcpy(buffer + LIBUSB_CONTROL_SETUP_SIZE, data, wLength);
72 libusb_control_transfer(libusb_device_handle *dev_handle, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, unsigned char *data, uint16_t wLength, unsigned int timeout) argument
H A Dlibusb.h535 uint16_t wLength; member in struct:libusb_control_setup
859 * buffer) for a control transfer. The wIndex, wValue and wLength values should
875 * \param wLength see the
876 * \ref libusb_control_setup::wLength "wLength" field of
881 uint16_t wLength)
888 setup->wLength = libusb_cpu_to_le16(wLength);
901 * be interpreted as a control setup packet, and the wLength field will be
936 + libusb_le16_to_cpu(setup->wLength);
879 libusb_fill_control_setup(unsigned char *buffer, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint16_t wLength) argument
[all...]
/external/kernel-headers/original/uapi/linux/usb/
H A Dcdc.h289 __le16 wLength; member in struct:usb_cdc_notification
307 __le16 wLength; member in struct:usb_cdc_ncm_ntb_parameters
367 __le16 wLength; member in struct:usb_cdc_ncm_ndp16
381 __le16 wLength; member in struct:usb_cdc_ncm_ndp32
H A Dch9.h174 * @wLength: matches the USB wLength field (le16 byte order)
190 __le16 wLength; member in struct:usb_ctrlrequest
/external/libpcap/pcap/
H A Dusb.h64 u_int16_t wLength; member in struct:_usb_setup
/external/libusb/libusb/os/
H A Dlinux_usbfs.h32 uint16_t wLength; member in struct:usbfs_ctrltransfer
H A Ddarwin_usb.c468 req.wLength = sizeof(IOUSBDeviceDescriptor);
1210 tpriv->req.wLength = OSSwapLittleToHostInt16 (setup->wLength);
H A Dlinux_usbfs.c646 .wLength = 1,
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dlinux_usbfs.h34 uint16_t wLength; member in struct:usbfs_ctrltransfer
H A Dopenbsd_usb.c440 USETW(req.ucr_request.wLength, 0);
695 libusb_le16_to_cpu(setup->wLength), transfer->timeout);
703 (*(uint16_t *)req.ucr_request.wLength) = setup->wLength;
H A Dwince_usb.h67 UINT16 wLength; member in struct:__anon12857
H A Dwindows_usb.h462 USHORT wLength; member in struct:USB_CONFIGURATION_DESCRIPTOR_SHORT::__anon12859::__anon12860
484 USHORT wLength; member in struct:USB_DESCRIPTOR_REQUEST::__anon12861
H A Ddarwin_usb.c599 req.wLength = buffer_size;
1600 tpriv->req.wLength = OSSwapLittleToHostInt16 (setup->wLength);
H A Dwince_usb.c736 ctrlHeader.wLength = sizeof(wStatus);
H A Dlinux_usbfs.c833 .wLength = 1,
H A Dwindows_usb.c1013 cd_buf_short.req.SetupPacket.wLength = (USHORT)(size - sizeof(USB_DESCRIPTOR_REQUEST));
1041 cd_buf_actual->SetupPacket.wLength = (USHORT)(size - sizeof(USB_DESCRIPTOR_REQUEST));
/external/kernel-headers/original/uapi/linux/
H A Dusbdevice_fs.h44 __u16 wLength; member in struct:usbdevfs_ctrltransfer
/external/libnfc-nci/src/udrv/include/
H A Duusb.h87 UINT16 wLength; member in struct:tUUSB_SETUP_PKTTag
/external/libusb-compat/libusb/
H A Dusb.h196 u_int16_t wLength; member in struct:usb_ctrl_setup
/external/libpcap/
H A Dpcap-usb-linux.c279 ctrl.wLength = sizeof(buf);
588 shdr->wLength = htols(strtoul(str5, 0, 16));
/external/valgrind/main/include/vki/
H A Dvki-linux.h2428 __vki_u16 wLength; member in struct:vki_usbdevfs_ctrltransfer
2503 __vki_u16 wLength; member in struct:vki_usbdevfs_setuppacket
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-linux.c6632 PRE_MEM_READ( "ioctl(USBDEVFS_CONTROL).wLength", (Addr)&vkuc->wLength, sizeof(vkuc->wLength));
6635 PRE_MEM_WRITE( "ioctl(USBDEVFS_CONTROL).data", (Addr)vkuc->data, vkuc->wLength);
6637 PRE_MEM_READ( "ioctl(USBDEVFS_CONTROL).data", (Addr)vkuc->data, vkuc->wLength);

Completed in 720 milliseconds