Lines Matching +full:transfer +full:- +full:function

2 .\" Copyright (c) 2008-2019 Hans Petter Selasky
39 USB access library (libusb -lusb)
241 .Sh USB TRANSFER OPERATIONS
248 This function returns zero upon success.
250 Non-zero return values indicate a LIBUSB20_ERROR value.
261 and bind the transfer to the specified
280 frames rounded up, when this function returns.
282 for other transfer types.
286 This function returns zero upon success.
288 Non-zero return values indicate a LIBUSB20_ERROR value.
303 will return a pointer to the allocated USB transfer according to the
309 This function returns NULL in case of failure.
314 will return the completion time of an USB transfer in
316 This function is most useful for isochronous USB transfers when doing echo
323 transfer completed.
329 transferred USB frames for the given USB transfer.
335 allocated when an USB transfer was setup for the given USB transfer.
341 associated with the given USB transfer.
351 frames associated with an USB transfer.
354 The returned value of this function is always aligned to the maximum
355 packet size, wMaxPacketSize, of the endpoint which the USB transfer is
361 will return the status of an USB transfer.
368 will return non-zero if the given USB transfer is
371 Else this function returns zero.
376 This is an internal function used to wrap asynchronous USB callbacks.
381 This is an internal function used to synchronously clear the stall on
382 the given USB transfer.
387 If the given USB transfer is pending when this function is called, the
388 USB transfer will complete with an error after that this function has
394 will stop the given USB transfer and will not return
395 until the USB transfer has been stopped in hardware.
402 pointer for the given USB transfer and
419 is used to set various USB flags for the given USB transfer.
420 .Bl -tag -width "LIBUSB20_TRANSFER_SINGLE_SHORT_NOT_OK"
428 Will do a clear-stall before starting the transfer.
435 After an USB transfer is complete the USB frame length will get updated to the actual transferred l…
455 sets the timeout for the given USB transfer.
464 sets the total number of frames that should be executed when the USB transfer is submitted.
466 …B frames must be less than the maximum number of USB frames associated with the given USB transfer.
471 is a helper function for setting up a single frame USB BULK transfer.
476 is a helper function for setting up a single or dual
477 frame USB CONTROL transfer depending on the control transfer length.
482 is a helper function for setting up a single frame USB INTERRUPT transfer.
487 is a helper function for setting up a multi frame USB ISOCHRONOUS transfer.
492 will perform a synchronous BULK or INTERRUPT transfer having length given by the
496 argument on the USB transfer given by the
502 argument is non-NULL the actual transfer length will be stored at the given pointer destination.
506 argument is non-zero the transfer will timeout after the given value in milliseconds.
508 This function does not change the transfer flags, like short packet not ok.
510 This function returns zero on success else a LIBUSB20_TRANSFER_XXX value is returned.
515 will get the USB transfer started, if not already
518 This function will not get the transfer queued in hardware.
520 This function is non-blocking.
525 will get the USB transfer stopped, if not already stopped.
527 This function is non-blocking, which means that the actual stop can
528 happen after the return of this function.
533 will get the USB transfer queued in hardware.
540 with an USB transfer.
547 with an USB transfer.
577 must be opened before this function will succeed.
578 This function returns zero on success else a LIBUSB20_ERROR value is returned.
590 must be opened before this function will succeed.
591 This function returns zero on success else a LIBUSB20_ERROR value is returned.
605 This function returns zero on success else a LIBUSB20_ERROR value is returned.
612 This function returns zero on success else a LIBUSB20_ERROR value is
621 This function returns zero on success else a LIBUSB20_ERROR value is
632 The un-configure index is 255.
634 This function returns zero on success else a LIBUSB20_ERROR value is returned.
666 This function returns zero on success else a LIBUSB20_ERROR value is
678 This function returns zero on success else a LIBUSB20_ERROR value is
693 is a pointer to a data transfer buffer associated with the control transaction.
696 is a pointer to a variable that will hold the actual transfer length after the
704 This function returns zero on success else a LIBUSB20_ERROR value is
713 This function returns zero on success else a LIBUSB20_ERROR value is
724 This function returns zero on success else a LIBUSB20_ERROR value is
734 This function returns zero on success else a LIBUSB20_ERROR value is
743 This function returns zero if the device is still connected else a LIBUSB20_ERROR value is returned.
752 .Bl -tag -width "LIBUSB20_POWER_OFF"
761 This function returns zero on success else a LIBUSB20_ERROR value is
782 This function returns zero on success else a LIBUSB20_ERROR value is
791 The USB device need not be opened when calling this function.
798 This function returns a pointer to the decoded configuration which must eventually
805 is an internal function to allocate a new USB device.
844 .Bl -tag -width "LIBUSB20_MODE_DEVICE"
854 .Bl -tag -width "LIBUSB20_SPEED_VARIABLE"
883 will wait until a pending USB transfer has completed on
888 function.
896 This function returns zero on success else a LIBUSB20_ERROR value is
911 This function returns zero on success else a LIBUSB20_ERROR value is
921 This function returns zero on success else a LIBUSB20_ERROR value is
934 This function returns zero on success else a LIBUSB20_ERROR value is
947 This function returns zero on success else a LIBUSB20_ERROR value is
960 This function returns zero on success else a LIBUSB20_ERROR value is
983 This function returns the next USB device in the list.
1011 This function will return a byte at the given byte offset of a message
1014 This function is safe against invalid offsets.
1019 This function will return a little endian 16-bit value at the given byte offset of a message
1022 This function is safe against invalid offsets.
1027 This function will encode a so-called *DECODED structure into binary
1039 This function will decode a binary structure into a so-called *DECODED
1053 This function does not return NULL.
1060 This function does not return NULL.
1063 .Bl -tag -width Pa