Searched refs:transfer_priv (Results 1 – 4 of 4) sorted by relevance
/external/libusb/libusb/os/ |
D | windows_usbdk.c | 514 struct usbdk_transfer_priv *transfer_priv = get_usbdk_transfer_priv(itransfer); in usbdk_clear_transfer_priv() local 518 safe_free(transfer_priv->IsochronousPacketsArray); in usbdk_clear_transfer_priv() 519 safe_free(transfer_priv->IsochronousResultsArray); in usbdk_clear_transfer_priv() 527 struct usbdk_transfer_priv *transfer_priv = get_usbdk_transfer_priv(itransfer); in usbdk_do_control_transfer() local 531 transfer_priv->request.Buffer = (PVOID64)transfer->buffer; in usbdk_do_control_transfer() 532 transfer_priv->request.BufferLength = transfer->length; in usbdk_do_control_transfer() 533 transfer_priv->request.TransferType = ControlTransferType; in usbdk_do_control_transfer() 538 transResult = usbdk_helper.ReadPipe(priv->redirector_handle, &transfer_priv->request, overlapped); in usbdk_do_control_transfer() 540 …transResult = usbdk_helper.WritePipe(priv->redirector_handle, &transfer_priv->request, overlapped); in usbdk_do_control_transfer() 544 …windows_force_sync_completion(itransfer, (ULONG)transfer_priv->request.Result.GenResult.BytesTrans… in usbdk_do_control_transfer() [all …]
|
D | windows_common.c | 298 struct windows_transfer_priv *transfer_priv = usbi_get_transfer_priv(itransfer); in windows_force_sync_completion() local 299 OVERLAPPED *overlapped = &transfer_priv->overlapped; in windows_force_sync_completion() 435 struct windows_transfer_priv *transfer_priv; in windows_iocp_thread() local 461 transfer_priv = NULL; in windows_iocp_thread() 471 …list_for_each_entry(transfer_priv, &handle_priv->active_transfers, list, struct windows_transfer_p… in windows_iocp_thread() 472 if (overlapped == &transfer_priv->overlapped) { in windows_iocp_thread() 474 list_del(&transfer_priv->list); in windows_iocp_thread() 490 …transfer = (struct usbi_transfer *)((unsigned char *)transfer_priv + PTR_ALIGN(sizeof(*transfer_pr… in windows_iocp_thread() 722 struct windows_transfer_priv *transfer_priv = usbi_get_transfer_priv(itransfer); in windows_submit_transfer() local 739 if (transfer_priv->handle != NULL) { in windows_submit_transfer() [all …]
|
D | windows_common.h | 382 struct windows_transfer_priv *transfer_priv = usbi_get_transfer_priv(itransfer); in get_transfer_priv_overlapped() local 383 return &transfer_priv->overlapped; in get_transfer_priv_overlapped() 388 struct windows_transfer_priv *transfer_priv = usbi_get_transfer_priv(itransfer); in set_transfer_priv_handle() local 389 transfer_priv->handle = handle; in set_transfer_priv_handle() 394 struct windows_transfer_priv *transfer_priv = usbi_get_transfer_priv(itransfer); in get_usbdk_transfer_priv() local 395 return &transfer_priv->usbdk_priv; in get_usbdk_transfer_priv() 400 struct windows_transfer_priv *transfer_priv = usbi_get_transfer_priv(itransfer); in get_winusb_transfer_priv() local 401 return &transfer_priv->winusb_priv; in get_winusb_transfer_priv()
|
D | windows_winusb.c | 640 struct winusb_transfer_priv *transfer_priv = get_winusb_transfer_priv(itransfer); in auto_release() local 647 if (handle_priv->autoclaim_count[transfer_priv->interface_number] > 0) { in auto_release() 648 handle_priv->autoclaim_count[transfer_priv->interface_number]--; in auto_release() 649 if (handle_priv->autoclaim_count[transfer_priv->interface_number] == 0) { in auto_release() 650 r = libusb_release_interface(dev_handle, transfer_priv->interface_number); in auto_release() 652 … usbi_dbg(ITRANSFER_CTX(itransfer), "auto-released interface %d", transfer_priv->interface_number); in auto_release() 655 transfer_priv->interface_number, libusb_error_name((enum libusb_error)r)); in auto_release() 2047 struct winusb_transfer_priv *transfer_priv = get_winusb_transfer_priv(itransfer); in winusb_clear_transfer_priv() local 2052 safe_free(transfer_priv->hid_buffer); in winusb_clear_transfer_priv() 2055 if (transfer_priv->isoch_buffer_handle != NULL) { in winusb_clear_transfer_priv() [all …]
|