/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/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:__anon12282
|
H A D | windows_usb.h | 462 USHORT wLength; member in struct:USB_CONFIGURATION_DESCRIPTOR_SHORT::__anon12284::__anon12285 484 USHORT wLength; member in struct:USB_DESCRIPTOR_REQUEST::__anon12286
|
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/linux/ |
H A D | usbdevice_fs.h | 47 __u16 wLength; member in struct:usbdevfs_ctrltransfer
|
H A D | usb_ch9.h | 115 * @wLength: matches the USB wLength field (le16 byte order) 131 __le16 wLength; member in struct:usb_ctrlrequest
|
/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/qemu/ |
H A D | usb-linux.c | 51 uint16_t wLength; member in struct:usb_ctrltransfer 61 uint16_t wLength; member in struct:usb_ctrlrequest 634 s->ctrl.len = le16_to_cpu(s->ctrl.req.wLength); 790 ct.wLength = 1; 831 ct.wLength = 1;
|
/external/kernel-headers/original/linux/usb/ |
H A D | ch9.h | 167 * @wLength: matches the USB wLength field (le16 byte order) 183 __le16 wLength; member in struct:usb_ctrlrequest
|
/external/valgrind/main/include/vki/ |
H A D | vki-linux.h | 2401 __vki_u16 wLength; member in struct:vki_usbdevfs_ctrltransfer 2476 __vki_u16 wLength; member in struct:vki_usbdevfs_setuppacket
|
/external/valgrind/main/coregrind/m_syswrap/ |
H A D | syswrap-linux.c | 5237 PRE_MEM_READ( "ioctl(USBDEVFS_CONTROL).wLength", (Addr)&vkuc->wLength, sizeof(vkuc->wLength)); 5240 PRE_MEM_WRITE( "ioctl(USBDEVFS_CONTROL).data", (Addr)vkuc->data, vkuc->wLength); 5242 PRE_MEM_READ( "ioctl(USBDEVFS_CONTROL).data", (Addr)vkuc->data, vkuc->wLength);
|