Home
last modified time | relevance | path

Searched refs:LIBUSB_CONTROL_SETUP_SIZE (Results 1 – 7 of 7) sorted by relevance

/external/libusb/libusb/
Dsync.c84 buffer = malloc(LIBUSB_CONTROL_SETUP_SIZE + wLength); in libusb_control_transfer()
93 memcpy(buffer + LIBUSB_CONTROL_SETUP_SIZE, data, wLength); in libusb_control_transfer()
Dlibusb.h538 #define LIBUSB_CONTROL_SETUP_SIZE (sizeof(struct libusb_control_setup)) macro
836 return transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE; in libusb_control_transfer_get_data()
935 transfer->length = LIBUSB_CONTROL_SETUP_SIZE in libusb_fill_control_transfer()
Dio.c1387 rqlen -= LIBUSB_CONTROL_SETUP_SIZE; in usbi_handle_transfer_completion()
/external/libusb/examples/
Ddpfp.c167 unsigned char *buf = malloc(LIBUSB_CONTROL_SETUP_SIZE + 1); in set_mode_async()
181 buf[LIBUSB_CONTROL_SETUP_SIZE] = data; in set_mode_async()
Ddpfp_threaded.c196 unsigned char *buf = malloc(LIBUSB_CONTROL_SETUP_SIZE + 1); in set_mode_async()
210 buf[LIBUSB_CONTROL_SETUP_SIZE] = data; in set_mode_async()
/external/libusb/libusb/os/
Ddarwin_usb.c1212 tpriv->req.pData = transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE; in submit_control_transfer()
Dlinux_usbfs.c1621 if (transfer->length - LIBUSB_CONTROL_SETUP_SIZE > MAX_CTRL_BUFFER_LENGTH) in submit_control_transfer()