Home
last modified time | relevance | path

Searched refs:libusb_context (Results 1 – 9 of 9) sorted by relevance

/external/libusb/libusb/
Dlibusb.h542 struct libusb_context;
563 typedef struct libusb_context libusb_context; typedef
774 int libusb_init(libusb_context **ctx);
775 void libusb_exit(libusb_context *ctx);
776 void libusb_set_debug(libusb_context *ctx, int level);
778 ssize_t libusb_get_device_list(libusb_context *ctx,
807 libusb_device_handle *libusb_open_device_with_vid_pid(libusb_context *ctx,
1180 int libusb_try_lock_events(libusb_context *ctx);
1181 void libusb_lock_events(libusb_context *ctx);
1182 void libusb_unlock_events(libusb_context *ctx);
[all …]
Dio.c1004 int usbi_io_init(struct libusb_context *ctx) in usbi_io_init()
1045 void usbi_io_exit(struct libusb_context *ctx) in usbi_io_exit()
1094 struct libusb_context *ctx = ITRANSFER_CTX(transfer); in add_to_flying_list()
1220 struct libusb_context *ctx = TRANSFER_CTX(transfer); in libusb_submit_transfer()
1291 static int disarm_timerfd(struct libusb_context *ctx) in disarm_timerfd()
1310 static int arm_timerfd_for_next_timeout(struct libusb_context *ctx) in arm_timerfd_for_next_timeout()
1338 static int disarm_timerfd(struct libusb_context *ctx) in disarm_timerfd()
1342 static int arm_timerfd_for_next_timeout(struct libusb_context *ctx) in arm_timerfd_for_next_timeout()
1361 struct libusb_context *ctx = TRANSFER_CTX(transfer); in usbi_handle_transfer_completion()
1446 API_EXPORTED int libusb_try_lock_events(libusb_context *ctx) in libusb_try_lock_events()
[all …]
Dlibusbi.h115 void usbi_log(struct libusb_context *ctx, enum usbi_log_level,
141 extern struct libusb_context *usbi_default_context;
143 struct libusb_context { struct
210 struct libusb_context *ctx; argument
293 int usbi_io_init(struct libusb_context *ctx);
294 void usbi_io_exit(struct libusb_context *ctx);
296 struct libusb_device *usbi_alloc_device(struct libusb_context *ctx,
298 struct libusb_device *usbi_get_device_by_session_id(struct libusb_context *ctx,
321 int usbi_add_pollfd(struct libusb_context *ctx, int fd, short events);
322 void usbi_remove_pollfd(struct libusb_context *ctx, int fd);
[all …]
Dcore.c43 struct libusb_context *usbi_default_context = NULL;
499 struct libusb_device *usbi_alloc_device(struct libusb_context *ctx, in usbi_alloc_device()
554 struct libusb_device *usbi_get_device_by_session_id(struct libusb_context *ctx, in usbi_get_device_by_session_id()
591 API_EXPORTED ssize_t libusb_get_device_list(libusb_context *ctx, in libusb_get_device_list()
859 struct libusb_context *ctx = DEVICE_CTX(dev); in libusb_open()
949 libusb_context *ctx, uint16_t vendor_id, uint16_t product_id) in libusb_open_device_with_vid_pid()
983 static void do_close(struct libusb_context *ctx, in do_close()
1008 struct libusb_context *ctx; in libusb_close()
1441 API_EXPORTED void libusb_set_debug(libusb_context *ctx, int level) in libusb_set_debug()
1455 API_EXPORTED int libusb_init(libusb_context **context) in libusb_init()
[all …]
Ddescriptor.c77 static int parse_endpoint(struct libusb_context *ctx, in parse_endpoint()
182 static int parse_interface(libusb_context *ctx, in parse_interface()
329 static int parse_configuration(struct libusb_context *ctx, in parse_configuration()
/external/libpcap/
Dpcap-canusb-linux.c83 libusb_context *ctx;
92 libusb_context *fdctx; in canusb_findalldevs()
147 static libusb_device_handle* canusb_opendevice(struct libusb_context *ctx, char* devserial) in canusb_opendevice()
/external/libusb/libusb/os/
Dlinux_usbfs.c232 static int op_init(struct libusb_context *ctx) in op_init()
391 static int seek_to_next_config(struct libusb_context *ctx, int fd, in seek_to_next_config()
527 static int get_config_descriptor(struct libusb_context *ctx, int fd, in get_config_descriptor()
786 static int enumerate_device(struct libusb_context *ctx, in enumerate_device()
838 static int usbfs_scan_busdir(struct libusb_context *ctx, in usbfs_scan_busdir()
880 static int usbfs_get_device_list(struct libusb_context *ctx, in usbfs_get_device_list()
919 static int sysfs_scan_device(struct libusb_context *ctx, in sysfs_scan_device()
993 static int sysfs_get_device_list(struct libusb_context *ctx, in sysfs_get_device_list()
1026 static int op_get_device_list(struct libusb_context *ctx, in op_get_device_list()
2101 static int op_handle_events(struct libusb_context *ctx, in op_handle_events()
Ddarwin_usb.c215 struct libusb_context *ctx = (struct libusb_context *)ptr; in darwin_devices_detached()
261 struct libusb_context *ctx = (struct libusb_context *)arg0; in event_thread_main()
313 static int darwin_init(struct libusb_context *ctx) { in darwin_init()
438 static int process_new_device (struct libusb_context *ctx, usb_device_t **device, UInt32 locationID… in process_new_device()
553 static int darwin_get_device_list(struct libusb_context *ctx, struct discovered_devs **_discdevs) { in darwin_get_device_list()
1384 static int op_handle_events(struct libusb_context *ctx, struct pollfd *fds, nfds_t nfds, int num_re… in op_handle_events()
/external/libusb-compat/libusb/
Dcore.c32 static libusb_context *ctx = NULL;