Home
last modified time | relevance | path

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

/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/libusb/
DChangeLog117 Use usbi_warn, usbi_err, and usbi_info instead of _usbi_log.