Home
last modified time | relevance | path

Searched refs:usbi_err (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/libusb/src/libusb/
Ddescriptor.c110 usbi_err(ctx, "short endpoint descriptor read %d/%d", in parse_endpoint()
117 usbi_err(ctx, "unexpected descriptor %x (expected %x)", in parse_endpoint()
131 usbi_err(ctx, "invalid endpoint bLength (%d)", header.bLength); in parse_endpoint()
145 usbi_err(ctx, "invalid extra ep desc len (%d)", in parse_endpoint()
245 usbi_err(ctx, "unexpected descriptor %x (expected %x)", in parse_interface()
250 usbi_err(ctx, "invalid interface bLength (%d)", in parse_interface()
261 usbi_err(ctx, "too many endpoints (%d)", ifp->bNumEndpoints); in parse_interface()
285 usbi_err(ctx, in parse_interface()
387 usbi_err(ctx, "short config descriptor read %d/%d", in parse_configuration()
394 usbi_err(ctx, "unexpected descriptor %x (expected %x)", in parse_configuration()
[all …]
Dio.c1211 usbi_err(ITRANSFER_CTX(transfer), in calculate_timeout()
1498 usbi_err(TRANSFER_CTX(transfer), in libusb_cancel_transfer()
1821 usbi_err(ctx, "failed to read realtime clock, error %d", errno); in libusb_wait_for_event()
1973 usbi_err(ctx, "poll failed %d err=%d\n", r, errno); in handle_events()
2004 usbi_err(ctx, "hotplug pipe read error %d != %u", in handle_events()
2048 usbi_err(ctx, "backend handle_events failed with error %d", r); in handle_events()
2372 usbi_err(ctx, "failed to read monotonic clock, errno=%d", errno); in libusb_get_next_timeout()
2509 usbi_err(ctx, "external polling of libusbx's internal descriptors "\ in libusb_get_pollfds()
Dcore.c554 usbi_err(DEVICE_CTX(dev), "error writing hotplug message"); in usbi_connect_device()
583 usbi_err(DEVICE_CTX(dev), "error writing hotplug message"); in usbi_disconnect_device()
602 usbi_err(DEVICE_CTX(dev), "too many configurations"); in usbi_sanitize_device()
896 usbi_err(DEVICE_CTX(dev), in libusb_get_max_packet_size()
947 usbi_err(DEVICE_CTX(dev), in libusb_get_max_iso_packet_size()
1203usbi_err(ctx, "Device handle closed while transfer was still being processed, but the device is st… in do_close()
1208usbi_err(ctx, "A cancellation hasn't even been scheduled on the transfer for which the device is c… in do_close()
1354 usbi_err(HANDLE_CTX(dev), "zero bytes returned in ctrl transfer?"); in libusb_get_configuration()
Dsync.c54 usbi_err(ctx, "libusb_handle_events failed: %s, cancelling transfer and retrying", in sync_transfer_wait_for_completion()
Dlibusbi.h170 #define usbi_err(ctx, ...) _usbi_log(ctx, LIBUSB_LOG_LEVEL_ERROR, __VA_ARGS__) macro
192 static inline void usbi_err( struct libusb_context *ctx, const char *format,
Dhotplug.c307 usbi_err(ctx, "error writing hotplug message"); in libusb_hotplug_deregister_callback()
/external/chromium_org/third_party/libusb/src/libusb/os/
Dlinux_udev.c63 usbi_err(NULL, "could not create udev context"); in linux_udev_start_event_monitor()
69 usbi_err(NULL, "could not initialize udev monitor"); in linux_udev_start_event_monitor()
75 usbi_err(NULL, "could not initialize udev monitor filter for \"usb\" subsystem"); in linux_udev_start_event_monitor()
80 usbi_err(NULL, "failed to enable the udev monitor"); in linux_udev_start_event_monitor()
90 usbi_err(NULL, "getting udev monitor fd flags (%d)", errno); in linux_udev_start_event_monitor()
95 usbi_err(NULL, "setting udev monitor fd flags (%d)", errno); in linux_udev_start_event_monitor()
101 usbi_err(NULL, "could not create udev control pipe"); in linux_udev_start_event_monitor()
107 usbi_err(NULL, "creating hotplug event thread (%d)", r); in linux_udev_start_event_monitor()
245 usbi_err(NULL, "ignoring udev action %s", udev_action); in udev_hotplug_event()
264 usbi_err(ctx, "error creating udev enumerator"); in linux_udev_scan_devices()
Dlinux_usbfs.c200 usbi_err(ctx, "libusbx couldn't open USB device %s: %s", in _get_usbfs_fd()
203 usbi_err(ctx, "libusbx requires write access to USB " in _get_usbfs_fd()
361 usbi_err(ctx, "could not find usbfs"); in op_init()
372 usbi_err(ctx, "error checking for bulk continuation support"); in op_init()
384 usbi_err(ctx, "error checking for zero length packet support"); in op_init()
396 usbi_err(ctx, "error checking for sysfs descriptors"); in op_init()
405 usbi_err(ctx, "error checking for sysfs busnum"); in op_init()
438 usbi_err(ctx, "error starting hotplug event monitor"); in op_init()
509 usbi_err(DEVICE_CTX(dev), in _open_sysfs_attr()
534 usbi_err(ctx, "open %s failed errno=%d", filename, errno); in __read_sysfs_attr()
[all …]
Dwindows_usb.c274 usbi_err(ctx, "Could not obtain device info data for index %u: %s", in get_devinfo_data()
312 usbi_err(ctx, "Could not obtain device info data for index %u: %s", in get_interface_details()
324 usbi_err(ctx, "Could not obtain interface data for index %u: %s", in get_interface_details()
336 usbi_err(ctx, "could not access interface data (dummy) for index %u: %s", in get_interface_details()
341usbi_err(ctx, "program assertion failed - http://msdn.microsoft.com/en-us/library/ms792901.aspx is… in get_interface_details()
346 usbi_err(ctx, "could not allocate interface data for index %u.", _index); in get_interface_details()
353 usbi_err(ctx, "could not access interface data (actual) for index %u: %s", in get_interface_details()
378 usbi_err(ctx, "Could not obtain device info data for index %u: %s", in get_interface_details_filter()
389 usbi_err(ctx, "Could not obtain interface data for index %u: %s", in get_interface_details_filter()
400 usbi_err(ctx, "could not access interface data (dummy) for index %u: %s", in get_interface_details_filter()
[all …]
Dwince_usb.c178 usbi_err(ctx, "could not create semaphore: %s", windows_error_str(0)); in wince_init()
185 usbi_err(ctx, "failure to access semaphore: %s", windows_error_str(0)); in wince_init()
198 usbi_err(ctx, "could not resolve DLL functions"); in wince_init()
206 usbi_err(ctx, "could not connect to driver"); in wince_init()
218 usbi_err(ctx, "could not create timer request event %d - aborting", i); in wince_init()
224 usbi_err(ctx, "could not create timer response semaphore - aborting"); in wince_init()
229 usbi_err(ctx, "could not create timer mutex - aborting"); in wince_init()
234 usbi_err(ctx, "Unable to create timer thread - aborting"); in wince_init()
240 usbi_err(ctx, "Failed to wait for timer thread to become ready - aborting"); in wince_init()
360 usbi_err(ctx, "could not get devices: %s", windows_error_str(0)); in wince_get_device_list()
[all …]
Ddarwin_usb.c350 usbi_err (ctx, "could not add hotplug event source: %s", darwin_error_str (kresult)); in darwin_event_thread_main()
362 usbi_err (ctx, "could not add hotplug event source: %s", darwin_error_str (kresult)); in darwin_event_thread_main()
542 usbi_err (ctx, "device has no configurations"); in darwin_check_configuration()
946usbi_err (HANDLE_CTX (dev_handle), "CreateDeviceAsyncEventSource: %s", darwin_error_str(kresult)); in darwin_open()
987 usbi_err (HANDLE_CTX (dev_handle), "Close called on a device that was not open!\n"); in darwin_close()
1114usbi_err (HANDLE_CTX (dev_handle), "can't get number of endpoints for interface: %s", darwin_error… in get_endpoints()
1124usbi_err (HANDLE_CTX (dev_handle), "error getting pipe information for pipe %d: %s", i, darwin_err… in get_endpoints()
1161 usbi_err (HANDLE_CTX (dev_handle), "could not set configuration"); in darwin_claim_interface()
1167 usbi_err (HANDLE_CTX (dev_handle), "darwin_get_interface: %s", darwin_error_str(kresult)); in darwin_claim_interface()
1173 usbi_err (HANDLE_CTX (dev_handle), "interface not found"); in darwin_claim_interface()
[all …]
Dlinux_netlink.c134 usbi_err(NULL, "could not create netlink control pipe"); in linux_netlink_start_event_monitor()
Dpoll_windows.c659 usbi_err(NULL, "this function should only used for signaling"); in usbi_write()
696 usbi_err(NULL, "this function should only used for signaling"); in usbi_read()
Dopenbsd_usb.c162 usbi_err(ctx, "could not open %s", busnode); in obsd_get_device_list()
/external/libusb/libusb/os/
Dlinux_usbfs.c239 usbi_err(ctx, "could not find usbfs"); in op_init()
249 usbi_err(ctx, "error checking for bulk continuation support"); in op_init()
289 usbi_err(DEVICE_CTX(dev), in __open_sysfs_attr()
313 usbi_err(DEVICE_CTX(dev), "read failed, ret=%d errno=%d", fd, errno); in sysfs_get_device_descriptor()
316 usbi_err(DEVICE_CTX(dev), "short read %d/%d", r, DEVICE_DESC_LENGTH); in sysfs_get_device_descriptor()
362 usbi_err(DEVICE_CTX(dev), in sysfs_get_active_config()
366 usbi_err(DEVICE_CTX(dev), "device unconfigured"); in sysfs_get_active_config()
372 usbi_err(DEVICE_CTX(dev), "not null-terminated?"); in sysfs_get_active_config()
375 usbi_err(DEVICE_CTX(dev), "no configuration value?"); in sysfs_get_active_config()
381 usbi_err(DEVICE_CTX(dev), "error converting '%s' to integer", tmp); in sysfs_get_active_config()
[all …]
Ddarwin_usb.c284 usbi_err (ctx, "could not add hotplug event source: %s", darwin_error_str (kresult)); in event_thread_main()
411 usbi_err (DEVICE_CTX (dev), "could not find device: %s", darwin_error_str (kresult)); in darwin_get_config_descriptor()
586 usbi_err (HANDLE_CTX (dev_handle), "could not find device: %s", darwin_error_str (kresult)); in darwin_open()
596 usbi_err (HANDLE_CTX (dev_handle), "USBDeviceOpen: %s", darwin_error_str(kresult)); in darwin_open()
646 usbi_err (HANDLE_CTX (dev_handle), "Close called on a device that was not open!\n"); in darwin_close()
670 usbi_err (HANDLE_CTX (dev_handle), "USBDeviceClose: %s", darwin_error_str(kresult)); in darwin_close()
678 usbi_err (HANDLE_CTX (dev_handle), "Release: %s", darwin_error_str(kresult)); in darwin_close()
774usbi_err (HANDLE_CTX (dev_handle), "can't get number of endpoints for interface: %s", darwin_error… in get_endpoints()
784usbi_err (HANDLE_CTX (dev_handle), "error getting pipe information for pipe %d: %s", i, darwin_err… in get_endpoints()
827usbi_err (HANDLE_CTX (dev_handle), "GetNumberOfConfigurations: %s", darwin_error_str(kresult)); in darwin_claim_interface()
[all …]
/external/libusb/libusb/
Ddescriptor.c92 usbi_err(ctx, "ran out of descriptors parsing"); in parse_endpoint()
97 usbi_err(ctx, "unexpected descriptor %x (expected %x)", in parse_endpoint()
118 usbi_err(ctx, "invalid descriptor length %d", header.bLength); in parse_endpoint()
227 usbi_err(ctx, "invalid descriptor of length %d", in parse_interface()
266 usbi_err(ctx, "too many endpoints (%d)", ifp->bNumEndpoints); in parse_interface()
286 usbi_err(ctx, "ran out of descriptors parsing"); in parse_interface()
344 usbi_err(ctx, "too many interfaces (%d)", config->bNumInterfaces); in parse_configuration()
373 usbi_err(ctx, "invalid descriptor length of %d", in parse_configuration()
500 usbi_err(dev->ctx, "parse_configuration failed with error %d", r); in libusb_get_active_config_descriptor()
570 usbi_err(dev->ctx, "parse_configuration failed with error %d", r); in libusb_get_config_descriptor()
Dio.c1070 usbi_err(ITRANSFER_CTX(transfer), in calculate_timeout()
1284 usbi_err(TRANSFER_CTX(transfer), in libusb_cancel_transfer()
1657 usbi_err(ctx, "failed to read realtime clock, error %d", errno); in libusb_wait_for_event()
1821 usbi_err(ctx, "poll failed %d err=%d\n", r, errno); in handle_events()
1869 usbi_err(ctx, "backend handle_events failed with error %d", r); in handle_events()
2131 usbi_err(ctx, "failed to read monotonic clock, errno=%d", errno); in libusb_get_next_timeout()
Dcore.c540 usbi_err(DEVICE_CTX(dev), "too many configurations"); in usbi_sanitize_device()
724 usbi_err(DEVICE_CTX(dev), in libusb_get_max_packet_size()
775 usbi_err(DEVICE_CTX(dev), in libusb_get_max_iso_packet_size()
1107 usbi_err(HANDLE_CTX(dev), "zero bytes returned in ctrl transfer?"); in libusb_get_configuration()
Dlibusbi.h132 #define usbi_err(ctx, fmt...) _usbi_log(ctx, LOG_LEVEL_ERROR, fmt) macro
/external/libusb-compat/libusb/
Dcore.c56 #define usbi_err(fmt...) _usbi_log(LOG_LEVEL_ERROR, fmt) macro
147 usbi_err("initialization failed!"); in usb_init()
182 usbi_err("get_device_list failed with error %d", r); in find_busses()
255 usbi_err("find_busses failed with error %d", r); in usb_find_busses()
518 usbi_err("error %d getting device descriptor", r); in initialize_device()
630 usbi_err("couldn't initialize device %d.%d (error %d)", in usb_find_devices()
663 usbi_err("could not open device, error %d", r); in usb_open()
/external/chromium_org/third_party/libusb/
Ddarwin-sigfpe.patch15 + usbi_err (TRANSFER_CTX (transfer), "bulk transfer failed (dir = %s): %s (code = 0x%08x)", IS_X…
Dwindows-build.patch50 usbi_err(ctx, "could not find a matching transfer for fd %x", fds[i]);
/external/libusb/
DChangeLog117 Use usbi_warn, usbi_err, and usbi_info instead of _usbi_log.