Searched refs:hpriv (Results 1 - 2 of 2) sorted by relevance
/external/libusb/libusb/os/ |
H A D | darwin_usb.c | 1395 struct darwin_device_handle_priv *hpriv = NULL; local 1404 hpriv = (struct darwin_device_handle_priv *)handle->os_priv; 1405 if (hpriv->fds[0] == pollfd->fd) 1410 ret = read (hpriv->fds[0], &message, sizeof (message)); 1420 if (hpriv->cfSource) { 1422 CFRunLoopRemoveSource (libusb_darwin_acfl, hpriv->cfSource, kCFRunLoopDefaultMode); 1423 CFRelease (hpriv->cfSource); 1424 hpriv->cfSource = NULL; 1427 usbi_remove_pollfd(HANDLE_CTX(handle), hpriv->fds[0]); 1433 read (hpriv [all...] |
H A D | linux_usbfs.c | 1051 struct linux_device_handle_priv *hpriv = __device_handle_priv(handle); local 1055 hpriv->fd = open(filename, O_RDWR); 1056 if (hpriv->fd < 0) { 1067 "open failed, code %d errno %d", hpriv->fd, errno); 1072 return usbi_add_pollfd(HANDLE_CTX(handle), hpriv->fd, POLLOUT); 2062 struct linux_device_handle_priv *hpriv = __device_handle_priv(handle); local 2068 r = ioctl(hpriv->fd, IOCTL_USBFS_REAPURBNDELAY, &urb); 2111 struct linux_device_handle_priv *hpriv = NULL; local 2118 hpriv = __device_handle_priv(handle); 2119 if (hpriv [all...] |
Completed in 355 milliseconds