Home
last modified time | relevance | path

Searched refs:usbi_backend (Results 1 – 7 of 7) sorted by relevance

/external/libusb/libusb/
Dcore.c48 const struct usbi_os_backend * const usbi_backend = &linux_usbfs_backend; variable
50 const struct usbi_os_backend * const usbi_backend = &darwin_backend; variable
52 const struct usbi_os_backend * const usbi_backend = &openbsd_backend; variable
54 const struct usbi_os_backend * const usbi_backend = &netbsd_backend; variable
58 const struct usbi_os_backend * const usbi_backend = &usbdk_backend; variable
60 const struct usbi_os_backend * const usbi_backend = &windows_backend; variable
64 const struct usbi_os_backend * const usbi_backend = &wince_backend; variable
66 const struct usbi_os_backend * const usbi_backend = &haiku_usb_raw_backend; variable
68 const struct usbi_os_backend * const usbi_backend = &sunos_backend; variable
683 size_t priv_size = usbi_backend->device_priv_size; in usbi_alloc_device()
[all …]
Dio.c1150 ctx->timerfd = timerfd_create(usbi_backend->get_timerfd_clockid(), in usbi_io_init()
1214 r = usbi_backend->clock_gettime(USBI_CLOCK_MONOTONIC, &current_time); in calculate_timeout()
1261 size_t os_alloc_size = usbi_backend->transfer_priv_size; in libusb_alloc_transfer()
1532 r = usbi_backend->submit_transfer(itransfer); in libusb_submit_transfer()
1573 r = usbi_backend->cancel_transfer(itransfer); in libusb_cancel_transfer()
2007 r = usbi_backend->clock_gettime(USBI_CLOCK_MONOTONIC, &systime_ts); in handle_timeouts_locked()
2206 ret = usbi_backend->handle_transfer_completion(itransfer); in handle_events()
2259 r = usbi_backend->handle_events(ctx, fds + internal_nfds, nfds - internal_nfds, r); in handle_events()
2586 r = usbi_backend->clock_gettime(USBI_CLOCK_MONOTONIC, &cur_ts); in libusb_get_next_timeout()
2814 usbi_backend->clear_transfer_priv(to_cancel); in usbi_handle_disconnect()
Ddescriptor.c516 r = usbi_backend->get_device_descriptor(dev, (unsigned char *) &dev->device_descriptor, in usbi_device_cache_descriptor()
575 r = usbi_backend->get_active_config_descriptor(dev, tmp, in libusb_get_active_config_descriptor()
590 r = usbi_backend->get_active_config_descriptor(dev, buf, in libusb_get_active_config_descriptor()
628 r = usbi_backend->get_config_descriptor(dev, config_index, tmp, in libusb_get_config_descriptor()
643 r = usbi_backend->get_config_descriptor(dev, config_index, buf, in libusb_get_config_descriptor()
666 int r = usbi_backend->get_config_descriptor(dev, i, tmp, sizeof(tmp), in usbi_get_config_index_by_value()
705 if (usbi_backend->get_config_descriptor_by_value) { in libusb_get_config_descriptor_by_value()
706 r = usbi_backend->get_config_descriptor_by_value(dev, in libusb_get_config_descriptor_by_value()
Dlibusbi.h1135 extern const struct usbi_os_backend * const usbi_backend;
/external/libusb/libusb/os/
Dthreads_posix.c46 r = usbi_backend->clock_gettime(USBI_CLOCK_REALTIME, &timeout); in usbi_cond_timedwait()
/external/libusb/
DPORTING71 right usbi_backend for your platform.
/external/libusb/include/libusb/
Dlibusbi.h1135 extern const struct usbi_os_backend * const usbi_backend;