/external/chromium_org/third_party/libusb/src/libusb/ |
D | libusb.h | 900 struct libusb_context; 945 typedef struct libusb_context libusb_context; typedef 1306 int LIBUSB_CALL libusb_init(libusb_context **ctx); 1307 void LIBUSB_CALL libusb_exit(libusb_context *ctx); 1308 void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level); 1315 ssize_t LIBUSB_CALL libusb_get_device_list(libusb_context *ctx, 1335 struct libusb_context *ctx, 1344 struct libusb_context *ctx, 1350 struct libusb_context *ctx, 1355 int LIBUSB_CALL libusb_get_container_id_descriptor(struct libusb_context *ctx, [all …]
|
D | io.c | 1107 int usbi_io_init(struct libusb_context *ctx) in usbi_io_init() 1177 void usbi_io_exit(struct libusb_context *ctx) in usbi_io_exit() 1237 struct libusb_context *ctx = ITRANSFER_CTX(transfer); in add_to_flying_list() 1367 static int disarm_timerfd(struct libusb_context *ctx) in disarm_timerfd() 1386 static int arm_timerfd_for_next_timeout(struct libusb_context *ctx) in arm_timerfd_for_next_timeout() 1415 static int arm_timerfd_for_next_timeout(struct libusb_context *ctx) in arm_timerfd_for_next_timeout() 1436 struct libusb_context *ctx = TRANSFER_CTX(transfer); in libusb_submit_transfer() 1526 struct libusb_context *ctx = TRANSFER_CTX(transfer); in usbi_handle_transfer_completion() 1609 int API_EXPORTED libusb_try_lock_events(libusb_context *ctx) in libusb_try_lock_events() 1651 void API_EXPORTED libusb_lock_events(libusb_context *ctx) in libusb_lock_events() [all …]
|
D | libusbi.h | 152 void usbi_log(struct libusb_context *ctx, enum libusb_log_level level, 155 void usbi_log_v(struct libusb_context *ctx, enum libusb_log_level level, 186 static inline void usbi_info(struct libusb_context *ctx, const char *format, 189 static inline void usbi_warn(struct libusb_context *ctx, const char *format, 192 static inline void usbi_err( struct libusb_context *ctx, const char *format, 220 extern struct libusb_context *usbi_default_context; 222 struct libusb_context { struct 296 struct libusb_context *ctx; argument 414 int usbi_io_init(struct libusb_context *ctx); 415 void usbi_io_exit(struct libusb_context *ctx); [all …]
|
D | hotplug.h | 36 struct libusb_context *ctx; 78 void usbi_hotplug_deregister_all(struct libusb_context *ctx); 79 void usbi_hotplug_match(struct libusb_context *ctx, struct libusb_device *dev,
|
D | hotplug.c | 145 static int usbi_hotplug_match_cb (struct libusb_context *ctx, in usbi_hotplug_match_cb() 177 void usbi_hotplug_match(struct libusb_context *ctx, struct libusb_device *dev, in usbi_hotplug_match() 201 int API_EXPORTED libusb_hotplug_register_callback(libusb_context *ctx, in libusb_hotplug_register_callback() 279 void API_EXPORTED libusb_hotplug_deregister_callback (struct libusb_context *ctx, in libusb_hotplug_deregister_callback() 311 void usbi_hotplug_deregister_all(struct libusb_context *ctx) { in usbi_hotplug_deregister_all()
|
D | core.c | 63 struct libusb_context *usbi_default_context = NULL; 506 struct libusb_device *usbi_alloc_device(struct libusb_context *ctx, in usbi_alloc_device() 562 struct libusb_context *ctx = dev->ctx; in usbi_disconnect_device() 614 struct libusb_device *usbi_get_device_by_session_id(struct libusb_context *ctx, in usbi_get_device_by_session_id() 651 ssize_t API_EXPORTED libusb_get_device_list(libusb_context *ctx, in libusb_get_device_list() 800 int API_EXPORTED libusb_get_port_path(libusb_context *ctx, libusb_device *dev, in libusb_get_port_path() 1019 void usbi_fd_notification(struct libusb_context *ctx) in usbi_fd_notification() 1081 struct libusb_context *ctx = DEVICE_CTX(dev); in libusb_open() 1149 libusb_context *ctx, uint16_t vendor_id, uint16_t product_id) in libusb_open_device_with_vid_pid() 1183 static void do_close(struct libusb_context *ctx, in do_close() [all …]
|
D | descriptor.c | 99 static int parse_endpoint(struct libusb_context *ctx, in parse_endpoint() 214 static int parse_interface(libusb_context *ctx, in parse_interface() 376 static int parse_configuration(struct libusb_context *ctx, in parse_configuration() 497 static int raw_desc_to_config(struct libusb_context *ctx, in raw_desc_to_config() 762 struct libusb_context *ctx, in libusb_get_ss_endpoint_companion_descriptor() 812 static int parse_bos(struct libusb_context *ctx, in parse_bos() 977 struct libusb_context *ctx, in libusb_get_usb_2_0_extension_descriptor() 1035 struct libusb_context *ctx, in libusb_get_ss_usb_device_capability_descriptor() 1092 int API_EXPORTED libusb_get_container_id_descriptor(struct libusb_context *ctx, in libusb_get_container_id_descriptor()
|
D | interrupt.h | 14 int LIBUSB_CALL libusb_interrupt_handle_event(struct libusb_context* ctx);
|
D | interrupt.c | 9 int API_EXPORTED libusb_interrupt_handle_event(struct libusb_context* ctx) { in libusb_interrupt_handle_event()
|
/external/libusb/libusb/ |
D | libusb.h | 542 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 …]
|
D | io.c | 1004 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 …]
|
D | 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; 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 …]
|
D | core.c | 43 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 …]
|
/external/chromium_org/device/usb/ |
D | usb_context.cc | 22 explicit UsbEventHandler(libusb_context* context); 30 libusb_context* context_; 36 UsbContext::UsbEventHandler::UsbEventHandler(libusb_context* context) in UsbEventHandler()
|
D | usb_context.h | 13 struct libusb_context; 17 typedef libusb_context* PlatformUsbContext;
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
D | linux_usbfs.h | 164 int linux_udev_scan_devices(struct libusb_context *ctx); 175 int linux_get_device_address (struct libusb_context *ctx, int detached, 178 int linux_enumerate_device(struct libusb_context *ctx,
|
D | linux_usbfs.c | 131 static int linux_scan_devices(struct libusb_context *ctx); 132 static int sysfs_scan_device(struct libusb_context *ctx, const char *devname); 136 static int linux_default_scan_devices (struct libusb_context *ctx); 184 struct libusb_context *ctx = DEVICE_CTX(dev); in _get_usbfs_fd() 354 static int op_init(struct libusb_context *ctx) in op_init() 473 static int linux_scan_devices(struct libusb_context *ctx) in linux_scan_devices() 518 static int __read_sysfs_attr(struct libusb_context *ctx, in __read_sysfs_attr() 606 int linux_get_device_address (struct libusb_context *ctx, int detached, in linux_get_device_address() 653 static int seek_to_next_descriptor(struct libusb_context *ctx, in seek_to_next_descriptor() 677 static int seek_to_next_config(struct libusb_context *ctx, in seek_to_next_config() [all …]
|
D | windows_usb.c | 53 static int winusbx_init(int sub_api, struct libusb_context *ctx); 69 static int hid_init(int sub_api, struct libusb_context *ctx); 83 static int composite_init(int sub_api, struct libusb_context *ctx); 261 static bool get_devinfo_data(struct libusb_context *ctx, in get_devinfo_data() 297 static SP_DEVICE_INTERFACE_DETAIL_DATA_A *get_interface_details(struct libusb_context *ctx, in get_interface_details() 366 static SP_DEVICE_INTERFACE_DETAIL_DATA_A *get_interface_details_filter(struct libusb_context *ctx, in get_interface_details_filter() 477 static int htab_create(struct libusb_context *ctx, unsigned long nel) in htab_create() 658 struct libusb_context *ctx = DEVICE_CTX(dev_handle->dev); in windows_assign_endpoints() 721 struct libusb_context *ctx = DEVICE_CTX(transfer->dev_handle->dev); in auto_claim() 800 static int windows_init(struct libusb_context *ctx) in windows_init() [all …]
|
D | darwin_usb.c | 69 static int darwin_scan_devices(struct libusb_context *ctx); 70 static int process_new_device (struct libusb_context *ctx, io_service_t service); 254 struct libusb_context *ctx; in darwin_devices_attached() 261 list_for_each_entry(ctx, &active_contexts_list, list, struct libusb_context) { in darwin_devices_attached() 273 struct libusb_context *ctx; in darwin_devices_detached() 288 list_for_each_entry(ctx, &active_contexts_list, list, struct libusb_context) { in darwin_devices_detached() 312 struct libusb_context *ctx = (struct libusb_context *)arg0; in darwin_event_thread_main() 411 static int darwin_init(struct libusb_context *ctx) { in darwin_init() 532 static int darwin_check_configuration (struct libusb_context *ctx, struct darwin_cached_device *dev… in darwin_check_configuration() 607 static int darwin_cache_device_descriptor (struct libusb_context *ctx, struct darwin_cached_device … in darwin_cache_device_descriptor() [all …]
|
D | linux_udev.c | 198 static int udev_device_info(struct libusb_context *ctx, int detached, in udev_device_info() 252 int linux_udev_scan_devices(struct libusb_context *ctx) in linux_udev_scan_devices()
|
D | openbsd_usb.c | 50 static int obsd_get_device_list(struct libusb_context *, 77 static int obsd_handle_events(struct libusb_context *ctx, struct pollfd *, 141 obsd_get_device_list(struct libusb_context * ctx, in obsd_get_device_list() 532 obsd_handle_events(struct libusb_context *ctx, struct pollfd *fds, nfds_t nfds, in obsd_handle_events()
|
/external/chromium_org/third_party/libusb/ |
D | windows-build.patch | 18 @@ -1938,4 +1944,8 @@ void LIBUSB_CALL libusb_hotplug_deregister_callback(libusb_context *ctx, 47 @@ -2142,6 +2142,7 @@ static int windows_handle_events(struct libusb_context *ctx, struct pollfd *f…
|
/external/libpcap/ |
D | pcap-canusb-linux.c | 82 libusb_context *ctx; 91 libusb_context *fdctx; in canusb_findalldevs() 146 static libusb_device_handle* canusb_opendevice(struct libusb_context *ctx, char* devserial) in canusb_opendevice()
|
/external/libusb/libusb/os/ |
D | linux_usbfs.c | 232 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()
|
D | darwin_usb.c | 215 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()
|