Searched refs:usbi_backend (Results 1 – 5 of 5) sorted by relevance
/external/libusb/libusb/ |
D | core.c | 36 const struct usbi_os_backend * const usbi_backend = &linux_usbfs_backend; variable 38 const struct usbi_os_backend * const usbi_backend = &darwin_backend; variable 502 size_t priv_size = usbi_backend->device_priv_size; in usbi_alloc_device() 534 r = usbi_backend->get_device_descriptor(dev, raw_desc, &host_endian); in usbi_sanitize_device() 605 r = usbi_backend->get_device_list(ctx, &discdevs); in libusb_get_device_list() 827 if (usbi_backend->destroy_device) in libusb_unref_device() 828 usbi_backend->destroy_device(dev); in libusb_unref_device() 861 size_t priv_size = usbi_backend->device_handle_priv_size; in libusb_open() 878 r = usbi_backend->open(_handle); in libusb_open() 990 usbi_backend->close(dev_handle); in do_close() [all …]
|
D | io.c | 1027 ctx->timerfd = timerfd_create(usbi_backend->get_timerfd_clockid(), in usbi_io_init() 1068 r = usbi_backend->clock_gettime(USBI_CLOCK_MONOTONIC, ¤t_time); in calculate_timeout() 1161 size_t os_alloc_size = usbi_backend->transfer_priv_size in libusb_alloc_transfer() 1162 + (usbi_backend->add_iso_packet_size * iso_packets); in libusb_alloc_transfer() 1236 r = usbi_backend->submit_transfer(itransfer); in libusb_submit_transfer() 1282 r = usbi_backend->cancel_transfer(itransfer); in libusb_cancel_transfer() 1655 r = usbi_backend->clock_gettime(USBI_CLOCK_REALTIME, &timeout); in libusb_wait_for_event() 1707 r = usbi_backend->clock_gettime(USBI_CLOCK_MONOTONIC, &systime_ts); in handle_timeouts_locked() 1867 r = usbi_backend->handle_events(ctx, fds, nfds, r); in handle_events() 2129 r = usbi_backend->clock_gettime(USBI_CLOCK_MONOTONIC, &cur_ts); in libusb_get_next_timeout() [all …]
|
D | descriptor.c | 440 r = usbi_backend->get_device_descriptor(dev, raw_desc, &host_endian); in libusb_get_device_descriptor() 481 r = usbi_backend->get_active_config_descriptor(dev, tmp, sizeof(tmp), in libusb_get_active_config_descriptor() 493 r = usbi_backend->get_active_config_descriptor(dev, buf, in libusb_get_active_config_descriptor() 550 r = usbi_backend->get_config_descriptor(dev, config_index, tmp, in libusb_get_config_descriptor() 563 r = usbi_backend->get_config_descriptor(dev, config_index, buf, in libusb_get_config_descriptor() 601 int r = usbi_backend->get_config_descriptor(dev, i, tmp, sizeof(tmp), in usbi_get_config_index_by_value()
|
D | libusbi.h | 804 extern const struct usbi_os_backend * const usbi_backend;
|
/external/libusb/ |
D | PORTING | 71 right usbi_backend for your platform.
|