/external/chromium_org/third_party/libusb/src/libusb/ |
H A D | sync.c | 68 * 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 D | libusb.h | 893 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 D | sync.c | 50 * 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 D | libusb.h | 535 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 D | cdc.h | 289 __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 D | ch9.h | 174 * @wLength: matches the USB wLength field (le16 byte order) 190 __le16 wLength; member in struct:usb_ctrlrequest
|
/external/libpcap/pcap/ |
H A D | usb.h | 64 u_int16_t wLength; member in struct:_usb_setup
|
/external/libusb/libusb/os/ |
H A D | linux_usbfs.h | 32 uint16_t wLength; member in struct:usbfs_ctrltransfer
|
H A D | darwin_usb.c | 468 req.wLength = sizeof(IOUSBDeviceDescriptor); 1210 tpriv->req.wLength = OSSwapLittleToHostInt16 (setup->wLength);
|
H A D | linux_usbfs.c | 646 .wLength = 1,
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
H A D | linux_usbfs.h | 34 uint16_t wLength; member in struct:usbfs_ctrltransfer
|
H A D | openbsd_usb.c | 440 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 D | wince_usb.h | 67 UINT16 wLength; member in struct:__anon12857
|
H A D | windows_usb.h | 462 USHORT wLength; member in struct:USB_CONFIGURATION_DESCRIPTOR_SHORT::__anon12859::__anon12860 484 USHORT wLength; member in struct:USB_DESCRIPTOR_REQUEST::__anon12861
|
H A D | darwin_usb.c | 599 req.wLength = buffer_size; 1600 tpriv->req.wLength = OSSwapLittleToHostInt16 (setup->wLength);
|
H A D | wince_usb.c | 736 ctrlHeader.wLength = sizeof(wStatus);
|
H A D | linux_usbfs.c | 833 .wLength = 1,
|
H A D | windows_usb.c | 1013 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 D | usbdevice_fs.h | 44 __u16 wLength; member in struct:usbdevfs_ctrltransfer
|
/external/libnfc-nci/src/udrv/include/ |
H A D | uusb.h | 87 UINT16 wLength; member in struct:tUUSB_SETUP_PKTTag
|
/external/libusb-compat/libusb/ |
H A D | usb.h | 196 u_int16_t wLength; member in struct:usb_ctrl_setup
|
/external/libpcap/ |
H A D | pcap-usb-linux.c | 279 ctrl.wLength = sizeof(buf); 588 shdr->wLength = htols(strtoul(str5, 0, 16));
|
/external/valgrind/main/include/vki/ |
H A D | vki-linux.h | 2428 __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 D | syswrap-linux.c | 6632 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);
|