Searched refs:LIBUSB_CONTROL_SETUP_SIZE (Results 1 – 7 of 7) sorted by relevance
84 buffer = malloc(LIBUSB_CONTROL_SETUP_SIZE + wLength); in libusb_control_transfer()93 memcpy(buffer + LIBUSB_CONTROL_SETUP_SIZE, data, wLength); in libusb_control_transfer()
538 #define LIBUSB_CONTROL_SETUP_SIZE (sizeof(struct libusb_control_setup)) macro836 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()
1387 rqlen -= LIBUSB_CONTROL_SETUP_SIZE; in usbi_handle_transfer_completion()
167 unsigned char *buf = malloc(LIBUSB_CONTROL_SETUP_SIZE + 1); in set_mode_async()181 buf[LIBUSB_CONTROL_SETUP_SIZE] = data; in set_mode_async()
196 unsigned char *buf = malloc(LIBUSB_CONTROL_SETUP_SIZE + 1); in set_mode_async()210 buf[LIBUSB_CONTROL_SETUP_SIZE] = data; in set_mode_async()
1212 tpriv->req.pData = transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE; in submit_control_transfer()
1621 if (transfer->length - LIBUSB_CONTROL_SETUP_SIZE > MAX_CTRL_BUFFER_LENGTH) in submit_control_transfer()