Lines Matching refs:itransfer
482 static void windows_transfer_callback(struct usbi_transfer *itransfer, uint32_t io_result, uint32_t… in windows_transfer_callback() argument
490 status = windows_copy_transfer_data(itransfer, io_size); in windows_transfer_callback()
501 istatus = windows_copy_transfer_data(itransfer, io_size); in windows_transfer_callback()
509 …usbi_err(ITRANSFER_CTX(itransfer), "detected I/O error %u: %s", io_result, windows_error_str(io_re… in windows_transfer_callback()
513 windows_clear_transfer_priv(itransfer); // Cancel polling in windows_transfer_callback()
515 usbi_handle_transfer_cancellation(itransfer); in windows_transfer_callback()
517 usbi_handle_transfer_completion(itransfer, (enum libusb_transfer_status)status); in windows_transfer_callback()
520 void windows_handle_callback(struct usbi_transfer *itransfer, uint32_t io_result, uint32_t io_size) in windows_handle_callback() argument
522 struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in windows_handle_callback()
529 windows_transfer_callback(itransfer, io_result, io_size); in windows_handle_callback()
532 …usbi_warn(ITRANSFER_CTX(itransfer), "bulk stream transfers are not yet supported on this platform"… in windows_handle_callback()
535 usbi_err(ITRANSFER_CTX(itransfer), "unknown endpoint type %d", transfer->type); in windows_handle_callback()