Searched refs:transfer_priv (Results 1 – 4 of 4) sorted by relevance
/external/libusb/libusb/os/ |
D | windows_usbdk.c | 515 struct usbdk_transfer_priv *transfer_priv = get_usbdk_transfer_priv(itransfer); in usbdk_clear_transfer_priv() local 519 safe_free(transfer_priv->IsochronousPacketsArray); in usbdk_clear_transfer_priv() 520 safe_free(transfer_priv->IsochronousResultsArray); in usbdk_clear_transfer_priv() 528 struct usbdk_transfer_priv *transfer_priv = get_usbdk_transfer_priv(itransfer); in usbdk_do_control_transfer() local 532 transfer_priv->request.Buffer = (PVOID64)transfer->buffer; in usbdk_do_control_transfer() 533 transfer_priv->request.BufferLength = transfer->length; in usbdk_do_control_transfer() 534 transfer_priv->request.TransferType = ControlTransferType; in usbdk_do_control_transfer() 539 transResult = usbdk_helper.ReadPipe(priv->redirector_handle, &transfer_priv->request, overlapped); in usbdk_do_control_transfer() 541 …transResult = usbdk_helper.WritePipe(priv->redirector_handle, &transfer_priv->request, overlapped); in usbdk_do_control_transfer() 545 …windows_force_sync_completion(itransfer, (ULONG)transfer_priv->request.Result.GenResult.BytesTrans… in usbdk_do_control_transfer() [all …]
|
D | windows_common.c | 297 struct windows_transfer_priv *transfer_priv = usbi_get_transfer_priv(itransfer); in windows_force_sync_completion() local 298 OVERLAPPED *overlapped = &transfer_priv->overlapped; in windows_force_sync_completion() 419 struct windows_transfer_priv *transfer_priv; in windows_iocp_thread() local 438 transfer_priv = container_of(overlapped, struct windows_transfer_priv, overlapped); in windows_iocp_thread() 439 …transfer = (struct usbi_transfer *)((unsigned char *)transfer_priv + PTR_ALIGN(sizeof(*transfer_pr… in windows_iocp_thread() 703 struct windows_transfer_priv *transfer_priv = usbi_get_transfer_priv(itransfer); in windows_submit_transfer() local 720 if (transfer_priv->handle != NULL) { in windows_submit_transfer() 722 transfer_priv->handle = NULL; in windows_submit_transfer() 729 transfer_priv->handle = NULL; in windows_submit_transfer() 735 if (transfer_priv->handle == NULL) in windows_submit_transfer() [all …]
|
D | windows_common.h | 355 struct windows_transfer_priv *transfer_priv = usbi_get_transfer_priv(itransfer); in get_transfer_priv_overlapped() local 356 return &transfer_priv->overlapped; in get_transfer_priv_overlapped() 361 struct windows_transfer_priv *transfer_priv = usbi_get_transfer_priv(itransfer); in set_transfer_priv_handle() local 362 transfer_priv->handle = handle; in set_transfer_priv_handle() 367 struct windows_transfer_priv *transfer_priv = usbi_get_transfer_priv(itransfer); in get_usbdk_transfer_priv() local 368 return &transfer_priv->usbdk_priv; in get_usbdk_transfer_priv() 373 struct windows_transfer_priv *transfer_priv = usbi_get_transfer_priv(itransfer); in get_winusb_transfer_priv() local 374 return &transfer_priv->winusb_priv; in get_winusb_transfer_priv()
|
D | windows_winusb.c | 617 struct winusb_transfer_priv *transfer_priv = get_winusb_transfer_priv(itransfer); in auto_release() local 624 if (handle_priv->autoclaim_count[transfer_priv->interface_number] > 0) { in auto_release() 625 handle_priv->autoclaim_count[transfer_priv->interface_number]--; in auto_release() 626 if (handle_priv->autoclaim_count[transfer_priv->interface_number] == 0) { in auto_release() 627 r = libusb_release_interface(dev_handle, transfer_priv->interface_number); in auto_release() 629 usbi_dbg("auto-released interface %d", transfer_priv->interface_number); in auto_release() 632 transfer_priv->interface_number, libusb_error_name((enum libusb_error)r)); in auto_release() 1969 struct winusb_transfer_priv *transfer_priv = get_winusb_transfer_priv(itransfer); in winusb_clear_transfer_priv() local 1974 safe_free(transfer_priv->hid_buffer); in winusb_clear_transfer_priv() 1977 if (transfer_priv->isoch_buffer_handle != NULL) { in winusb_clear_transfer_priv() [all …]
|