Home | History | Annotate | Download | only in libusb

Lines Matching refs:buffer

58  * \param data a suitably-sized data buffer for either input or output
60 * \param wLength the length field for the setup packet. The data buffer should
77 unsigned char *buffer;
84 buffer = malloc(LIBUSB_CONTROL_SETUP_SIZE + wLength);
85 if (!buffer) {
90 libusb_fill_control_setup(buffer, bmRequestType, bRequest, wValue, wIndex,
93 memcpy(buffer + LIBUSB_CONTROL_SETUP_SIZE, data, wLength);
95 libusb_fill_control_transfer(transfer, dev_handle, buffer,
157 unsigned char endpoint, unsigned char *buffer, int length,
167 libusb_fill_bulk_transfer(transfer, dev_handle, endpoint, buffer, length,
239 * \param data a suitably-sized data buffer for either input or output
242 * bulk reads, the maximum number of bytes to receive into the data buffer.
289 * \param data a suitably-sized data buffer for either input or output
292 * bulk reads, the maximum number of bytes to receive into the data buffer.