Searched refs:io_result (Results 1 – 5 of 5) sorted by relevance
/external/libusb/libusb/os/ |
D | windows_nt_common.c | 482 static void windows_transfer_callback(struct usbi_transfer *itransfer, uint32_t io_result, uint32_t… in windows_transfer_callback() argument 486 usbi_dbg("handling I/O completion with errcode %u, size %u", io_result, io_size); in windows_transfer_callback() 488 switch (io_result) { in windows_transfer_callback() 509 …rr(ITRANSFER_CTX(itransfer), "detected I/O error %u: %s", io_result, windows_error_str(io_result)); 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 529 windows_transfer_callback(itransfer, io_result, io_size); in windows_handle_callback() 545 DWORD io_size, io_result; in windows_handle_events() local 572 windows_get_overlapped_result(transfer, pollable_fd, &io_result, &io_size); in windows_handle_events() 578 windows_handle_callback(transfer, io_result, io_size); in windows_handle_events()
|
D | wince_usb.c | 649 uint32_t io_result, uint32_t io_size) in wince_transfer_callback() argument 656 usbi_dbg("handling I/O completion with errcode %u", io_result); in wince_transfer_callback() 658 if (io_result == ERROR_NOT_SUPPORTED && in wince_transfer_callback() 694 io_result = ERROR_SUCCESS; in wince_transfer_callback() 697 io_result = ERROR_IO_DEVICE; in wince_transfer_callback() 704 switch(io_result) { in wince_transfer_callback() 727 usbi_err(ITRANSFER_CTX(itransfer), "detected I/O error: %s", windows_error_str(io_result)); in wince_transfer_callback() 741 uint32_t io_result, uint32_t io_size) in wince_handle_callback() argument 750 wince_transfer_callback (itransfer, io_result, io_size); in wince_handle_callback() 767 DWORD io_size, io_result; in wince_handle_events() local [all …]
|
D | windows_nt_common.h | 56 …esult(struct usbi_transfer *transfer, struct winfd *pollable_fd, DWORD *io_result, DWORD *io_size); 58 void windows_handle_callback(struct usbi_transfer *itransfer, uint32_t io_result, uint32_t io_size);
|
D | windows_usbdk.c | 812 …result(struct usbi_transfer *transfer, struct winfd *pollable_fd, DWORD *io_result, DWORD *io_size) in windows_get_overlapped_result() argument 840 …*io_result = usbdk_translate_usbd_status((USBD_STATUS) transfer_priv->request.Result.GenResult.Usb… in windows_get_overlapped_result() 843 *io_result = GetLastError(); in windows_get_overlapped_result()
|
D | windows_winusb.c | 2027 …result(struct usbi_transfer *transfer, struct winfd *pollable_fd, DWORD *io_result, DWORD *io_size) in windows_get_overlapped_result() argument 2030 *io_result = NO_ERROR; in windows_get_overlapped_result() 2035 *io_result = NO_ERROR; in windows_get_overlapped_result() 2038 *io_result = GetLastError(); in windows_get_overlapped_result()
|