Searched refs:pollable_fd (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/third_party/libusb/src/libusb/os/ |
D | wince_usb.c | 597 struct winfd wfd = fd_to_winfd(transfer_priv->pollable_fd.fd); in wince_clear_transfer_priv() 601 usbi_free_fd(&transfer_priv->pollable_fd); in wince_clear_transfer_priv() 611 if (!UkwCancelTransfer(priv->dev, transfer_priv->pollable_fd.overlapped, UKW_TF_NO_WAIT)) { in wince_cancel_transfer() 630 transfer_priv->pollable_fd = INVALID_WINFD; in wince_submit_control_or_bulk_transfer() 652 transfer_priv->pollable_fd = wfd; in wince_submit_control_or_bulk_transfer() 670 usbi_add_pollfd(ctx, transfer_priv->pollable_fd.fd, direction_in ? POLLIN : POLLOUT); in wince_submit_control_or_bulk_transfer() 836 if (transfer_priv->pollable_fd.fd == fds[i].fd) { in wince_handle_events() 843 if (found && HasOverlappedIoCompleted(transfer_priv->pollable_fd.overlapped)) { in wince_handle_events() 844 io_result = (DWORD)transfer_priv->pollable_fd.overlapped->Internal; in wince_handle_events() 845 io_size = (DWORD)transfer_priv->pollable_fd.overlapped->InternalHigh; in wince_handle_events() [all …]
|
D | wince_usb.h | 128 struct winfd pollable_fd; member
|
D | windows_usb.c | 1923 usbi_free_fd(&transfer_priv->pollable_fd); in windows_clear_transfer_priv() 1942 usbi_add_pollfd(ctx, transfer_priv->pollable_fd.fd, in submit_bulk_transfer() 1962 usbi_add_pollfd(ctx, transfer_priv->pollable_fd.fd, in submit_iso_transfer() 1982 usbi_add_pollfd(ctx, transfer_priv->pollable_fd.fd, POLLIN); in submit_control_transfer() 2125 if (transfer_priv->pollable_fd.fd == fds[i].fd) { in windows_handle_events() 2134 if (HasOverlappedIoCompletedSync(transfer_priv->pollable_fd.overlapped)) { in windows_handle_events() 2136 io_size = (DWORD)transfer_priv->pollable_fd.overlapped->InternalHigh; in windows_handle_events() 2138 } else if (GetOverlappedResult(transfer_priv->pollable_fd.handle, in windows_handle_events() 2139 transfer_priv->pollable_fd.overlapped, &io_size, false)) { in windows_handle_events() 2144 usbi_remove_pollfd(ctx, transfer_priv->pollable_fd.fd); in windows_handle_events() [all …]
|
D | windows_usb.h | 291 struct winfd pollable_fd; member
|