/external/libusb/libusb/ |
sync.c | 105 r = libusb_handle_events(HANDLE_CTX(dev_handle)); 111 if (libusb_handle_events(HANDLE_CTX(dev_handle)) < 0) 136 usbi_warn(HANDLE_CTX(dev_handle), 175 r = libusb_handle_events(HANDLE_CTX(dev_handle)); 181 if (libusb_handle_events(HANDLE_CTX(dev_handle)) < 0) 206 usbi_warn(HANDLE_CTX(dev_handle),
|
libusbi.h | 136 #define HANDLE_CTX(handle) (DEVICE_CTX((handle)->dev)) 137 #define TRANSFER_CTX(transfer) (HANDLE_CTX((transfer)->dev_handle))
|
core.c | [all...] |
io.c | [all...] |
/external/libusb_aah/libusb/ |
sync.c | 105 r = libusb_handle_events_completed(HANDLE_CTX(dev_handle), &completed); 111 if (libusb_handle_events_completed(HANDLE_CTX(dev_handle), &completed) < 0) 139 usbi_warn(HANDLE_CTX(dev_handle), 178 r = libusb_handle_events_completed(HANDLE_CTX(dev_handle), &completed); 184 if (libusb_handle_events_completed(HANDLE_CTX(dev_handle), &completed) < 0) 209 usbi_warn(HANDLE_CTX(dev_handle),
|
libusbi.h | 214 #define HANDLE_CTX(handle) (DEVICE_CTX((handle)->dev)) 215 #define TRANSFER_CTX(transfer) (HANDLE_CTX((transfer)->dev_handle))
|
io.c | [all...] |
core.c | [all...] |
/external/libusb/libusb/os/ |
darwin_usb.c | 124 usbi_info (HANDLE_CTX(dev_handle), "converting ep address 0x%02x to pipeRef and interface", ep); 134 usbi_info (HANDLE_CTX(dev_handle), "pipe %d on interface %d matches", *pipep, *ifcp); 142 usbi_warn (HANDLE_CTX(dev_handle), "no pipeRef found with endpoint address 0x%02x.", ep); 586 usbi_err (HANDLE_CTX (dev_handle), "could not find device: %s", darwin_error_str (kresult)); 596 usbi_err (HANDLE_CTX (dev_handle), "USBDeviceOpen: %s", darwin_error_str(kresult)); 631 usbi_add_pollfd(HANDLE_CTX(dev_handle), priv->fds[0], POLLIN); 633 usbi_info (HANDLE_CTX (dev_handle), "device open for access"); 646 usbi_err (HANDLE_CTX (dev_handle), "Close called on a device that was not open!\n"); 670 usbi_err (HANDLE_CTX (dev_handle), "USBDeviceClose: %s", darwin_error_str(kresult)); 678 usbi_err (HANDLE_CTX (dev_handle), "Release: %s", darwin_error_str(kresult)) [all...] |
linux_usbfs.c | 1066 usbi_err(HANDLE_CTX(handle), 1072 return usbi_add_pollfd(HANDLE_CTX(handle), hpriv->fd, POLLOUT); 1078 usbi_remove_pollfd(HANDLE_CTX(dev_handle), fd); 1109 usbi_err(HANDLE_CTX(handle), "failed, error %d errno %d", r, errno); 1123 usbi_warn(HANDLE_CTX(handle), 1143 usbi_err(HANDLE_CTX(handle), 1158 usbi_err(HANDLE_CTX(handle), 1181 usbi_err(HANDLE_CTX(handle), 1201 usbi_err(HANDLE_CTX(handle), 1217 usbi_err(HANDLE_CTX(handle) [all...] |
/external/libusb_aah/libusb/os/ |
darwin_usb.c | 137 usbi_info (HANDLE_CTX(dev_handle), "converting ep address 0x%02x to pipeRef and interface", ep); 147 usbi_info (HANDLE_CTX(dev_handle), "pipe %d on interface %d matches", *pipep, *ifcp); 155 usbi_warn (HANDLE_CTX(dev_handle), "no pipeRef found with endpoint address 0x%02x.", ep); 799 usbi_err (HANDLE_CTX (dev_handle), "could not find device: %s", darwin_error_str (kresult)); 809 usbi_err (HANDLE_CTX (dev_handle), "USBDeviceOpen: %s", darwin_error_str(kresult)); 826 usbi_err (HANDLE_CTX (dev_handle), "CreateDeviceAsyncEventSource: %s", darwin_error_str(kresult)); 853 usbi_add_pollfd(HANDLE_CTX(dev_handle), priv->fds[0], POLLIN); 855 usbi_info (HANDLE_CTX (dev_handle), "device open for access"); 868 usbi_err (HANDLE_CTX (dev_handle), "Close called on a device that was not open!\n"); 892 usbi_err (HANDLE_CTX (dev_handle), "USBDeviceClose: %s", darwin_error_str(kresult)) [all...] |
linux_usbfs.c | [all...] |
openbsd_usb.c | 220 return usbi_add_pollfd(HANDLE_CTX(handle), hpriv->pipe[0], POLLIN); 234 usbi_remove_pollfd(HANDLE_CTX(handle), hpriv->pipe[0]); 521 usbi_remove_pollfd(HANDLE_CTX(handle), hpriv->pipe[0]);
|