/external/libusb/libusb/ |
libusb.h | 542 struct libusb_context; 563 typedef struct libusb_context libusb_context; typedef in typeref:struct:libusb_context 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, [all...] |
libusbi.h | 115 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; 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...] |
io.c | [all...] |
core.c | 43 struct libusb_context *usbi_default_context = NULL; 499 struct libusb_device *usbi_alloc_device(struct libusb_context *ctx, 554 struct libusb_device *usbi_get_device_by_session_id(struct libusb_context *ctx, 591 API_EXPORTED ssize_t libusb_get_device_list(libusb_context *ctx, 859 struct libusb_context *ctx = DEVICE_CTX(dev); [all...] |
descriptor.c | 77 static int parse_endpoint(struct libusb_context *ctx, 182 static int parse_interface(libusb_context *ctx, 329 static int parse_configuration(struct libusb_context *ctx,
|
/external/libusb/libusb/os/ |
darwin_usb.c | 215 struct libusb_context *ctx = (struct libusb_context *)ptr; 261 struct libusb_context *ctx = (struct libusb_context *)arg0; 313 static int darwin_init(struct libusb_context *ctx) { 438 static int process_new_device (struct libusb_context *ctx, usb_device_t **device, UInt32 locationID, struct discovered_devs **_discdevs) { 553 static int darwin_get_device_list(struct libusb_context *ctx, struct discovered_devs **_discdevs) { [all...] |
linux_usbfs.c | 232 static int op_init(struct libusb_context *ctx) 391 static int seek_to_next_config(struct libusb_context *ctx, int fd, 527 static int get_config_descriptor(struct libusb_context *ctx, int fd, 786 static int enumerate_device(struct libusb_context *ctx, 838 static int usbfs_scan_busdir(struct libusb_context *ctx, 880 static int usbfs_get_device_list(struct libusb_context *ctx, 919 static int sysfs_scan_device(struct libusb_context *ctx, 993 static int sysfs_get_device_list(struct libusb_context *ctx, 1026 static int op_get_device_list(struct libusb_context *ctx, [all...] |
/system/core/adb/ |
usb_libusb.c | 41 static libusb_context *ctx = NULL;
|
/external/libusb-compat/libusb/ |
core.c | 32 static libusb_context *ctx = NULL;
|