HomeSort by relevance Sort by last modified time
    Searched refs:libusb_context (Results 1 - 25 of 30) sorted by null

1 2

  /external/chromium_org/third_party/libusb/src/libusb/
interrupt.h 14 int LIBUSB_CALL libusb_interrupt_handle_event(struct libusb_context* ctx);
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,
interrupt.c 9 int API_EXPORTED libusb_interrupt_handle_event(struct libusb_context* ctx) {
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;
414 int usbi_io_init(struct libusb_context *ctx);
415 void usbi_io_exit(struct libusb_context *ctx)
    [all...]
libusb.h 900 struct libusb_context;
945 typedef struct libusb_context libusb_context; typedef in typeref:struct:libusb_context
    [all...]
io.c     [all...]
hotplug.c 91 int hotplug_callback(struct libusb_context *ctx, struct libusb_device *dev,
145 static int usbi_hotplug_match_cb (struct libusb_context *ctx,
177 void usbi_hotplug_match(struct libusb_context *ctx, struct libusb_device *dev,
201 int API_EXPORTED libusb_hotplug_register_callback(libusb_context *ctx,
279 void API_EXPORTED libusb_hotplug_deregister_callback (struct libusb_context *ctx,
311 void usbi_hotplug_deregister_all(struct libusb_context *ctx) {
core.c 63 struct libusb_context *usbi_default_context = NULL;
506 struct libusb_device *usbi_alloc_device(struct libusb_context *ctx,
562 struct libusb_context *ctx = dev->ctx;
614 struct libusb_device *usbi_get_device_by_session_id(struct libusb_context *ctx,
651 ssize_t API_EXPORTED libusb_get_device_list(libusb_context *ctx,
800 int API_EXPORTED libusb_get_port_path(libusb_context *ctx, libusb_device *dev,
    [all...]
descriptor.c 99 static int parse_endpoint(struct libusb_context *ctx,
214 static int parse_interface(libusb_context *ctx,
376 static int parse_configuration(struct libusb_context *ctx,
497 static int raw_desc_to_config(struct libusb_context *ctx,
762 struct libusb_context *ctx,
812 static int parse_bos(struct libusb_context *ctx,
977 struct libusb_context *ctx,
1035 struct libusb_context *ctx,
1092 int API_EXPORTED libusb_get_container_id_descriptor(struct libusb_context *ctx,
    [all...]
sync.c 47 struct libusb_context *ctx = HANDLE_CTX(transfer->dev_handle);
  /external/chromium_org/chrome/browser/usb/
usb_context.h 14 struct libusb_context;
16 typedef libusb_context* PlatformUsbContext;
18 // Ref-counted wrapper for libusb_context*.
usb_context.cc 19 explicit UsbEventHandler(libusb_context* context);
27 libusb_context* context_;
33 UsbContext::UsbEventHandler::UsbEventHandler(libusb_context* context)
usb_service.h 27 typedef struct libusb_context* PlatformUsbContext;
  /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...]
  /external/chromium_org/third_party/libusb/src/libusb/os/
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,
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);
354 static int op_init(struct libusb_context *ctx)
473 static int linux_scan_devices(struct libusb_context *ctx)
518 static int __read_sysfs_attr(struct libusb_context *ctx,
606 int linux_get_device_address (struct libusb_context *ctx, int detached,
653 static int seek_to_next_descriptor(struct libusb_context *ctx,
677 static int seek_to_next_config(struct libusb_context *ctx
    [all...]
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,
297 static SP_DEVICE_INTERFACE_DETAIL_DATA_A *get_interface_details(struct libusb_context *ctx,
366 static SP_DEVICE_INTERFACE_DETAIL_DATA_A *get_interface_details_filter(struct libusb_context *ctx,
477 static int htab_create(struct libusb_context *ctx, unsigned long nel)
658 struct libusb_context *ctx = DEVICE_CTX(dev_handle->dev);
721 struct libusb_context *ctx = DEVICE_CTX(transfer->dev_handle->dev);
800 static int windows_init(struct libusb_context *ctx
    [all...]
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;
261 list_for_each_entry(ctx, &active_contexts_list, list, struct libusb_context) {
273 struct libusb_context *ctx;
288 list_for_each_entry(ctx, &active_contexts_list, list, struct libusb_context) {
312 struct libusb_context *ctx = (struct libusb_context *)arg0;
411 static int darwin_init(struct libusb_context *ctx) {
532 static int darwin_check_configuration (struct libusb_context *ctx, struct darwin_cached_device *dev)
    [all...]
linux_udev.c 198 static int udev_device_info(struct libusb_context *ctx, int detached,
252 int linux_udev_scan_devices(struct libusb_context *ctx)
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,
532 obsd_handle_events(struct libusb_context *ctx, struct pollfd *fds, nfds_t nfds,
  /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...]

Completed in 122 milliseconds

1 2