Home
last modified time | relevance | path

Searched refs:usbi_err (Results 1 – 17 of 17) 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_aah/libusb/os/
Dlinux_usbfs.c325 usbi_err(ctx, "could not find usbfs"); in op_init()
336 usbi_err(ctx, "error checking for bulk continuation support"); in op_init()
348 usbi_err(ctx, "error checking for zero length packet support"); in op_init()
364 usbi_err(ctx, "opendir devices failed errno=%d", errno); in op_init()
441 usbi_err(DEVICE_CTX(dev), in _open_sysfs_attr()
466 usbi_err(ctx, "open %s failed errno=%d", filename, errno); in __read_sysfs_attr()
473 usbi_err(ctx, "fscanf %s returned %d, errno=%d", attr, r, errno); in __read_sysfs_attr()
477 usbi_err(ctx, "%s contains a negative value", filename); in __read_sysfs_attr()
500 usbi_err(DEVICE_CTX(dev), "read failed, ret=%d errno=%d", fd, errno); in sysfs_get_device_descriptor()
503 usbi_err(DEVICE_CTX(dev), "short read %d/%d", r, DEVICE_DESC_LENGTH); in sysfs_get_device_descriptor()
[all …]
Ddarwin_usb.c351 usbi_err (ctx, "could not add hotplug event source: %s", darwin_error_str (kresult)); in event_thread_main()
478 usbi_err (DEVICE_CTX (dev), "could not find device: %s", darwin_error_str (kresult)); in darwin_get_config_descriptor()
516 usbi_err (ctx, "device has no configurations"); in darwin_check_configuration()
799 usbi_err (HANDLE_CTX (dev_handle), "could not find device: %s", darwin_error_str (kresult)); in darwin_open()
809 usbi_err (HANDLE_CTX (dev_handle), "USBDeviceOpen: %s", darwin_error_str(kresult)); in darwin_open()
826 usbi_err (HANDLE_CTX (dev_handle), "CreateDeviceAsyncEventSource: %s", darwin_error_str(kresult)); in darwin_open()
868 usbi_err (HANDLE_CTX (dev_handle), "Close called on a device that was not open!\n"); in darwin_close()
892 usbi_err (HANDLE_CTX (dev_handle), "USBDeviceClose: %s", darwin_error_str(kresult)); in darwin_close()
900 usbi_err (HANDLE_CTX (dev_handle), "Release: %s", darwin_error_str(kresult)); in darwin_close()
995usbi_err (HANDLE_CTX (dev_handle), "can't get number of endpoints for interface: %s", darwin_error… in get_endpoints()
[all …]
Dwindows_usb.c256 usbi_err(ctx, "Could not obtain device info data for index %u: %s", in get_devinfo_data()
294 usbi_err(ctx, "Could not obtain device info data for index %u: %s", in get_interface_details()
306 usbi_err(ctx, "Could not obtain interface data for index %u: %s", in get_interface_details()
318 usbi_err(ctx, "could not access interface data (dummy) for index %u: %s", in get_interface_details()
323usbi_err(ctx, "program assertion failed - http://msdn.microsoft.com/en-us/library/ms792901.aspx is… in get_interface_details()
328 usbi_err(ctx, "could not allocate interface data for index %u.", _index); in get_interface_details()
335 usbi_err(ctx, "could not access interface data (actual) for index %u: %s", in get_interface_details()
380 usbi_err(ctx, "hash table already allocated"); in htab_create()
398 usbi_err(ctx, "could not allocate space for hash table"); in htab_create()
489 usbi_err(NULL, "hash table is full (%d entries)", htab_size); in htab_hash()
[all …]
Dpoll_windows.c267 usbi_err(NULL, "could not create pipe: errno %d", errno); in usbi_pipe()
679 usbi_err(NULL, "this function should only used for signaling"); in usbi_write()
715 usbi_err(NULL, "this function should only used for signaling"); in usbi_read()
Dopenbsd_usb.c151 usbi_err(ctx, "could not open %s", devnode); in obsd_get_device_list()
/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_aah/libusb/
Ddescriptor.c93 usbi_err(ctx, "ran out of descriptors parsing"); in parse_endpoint()
98 usbi_err(ctx, "unexpected descriptor %x (expected %x)", in parse_endpoint()
119 usbi_err(ctx, "invalid descriptor length %d", header.bLength); in parse_endpoint()
228 usbi_err(ctx, "invalid descriptor of length %d", in parse_interface()
269 usbi_err(ctx, "too many endpoints (%d)", ifp->bNumEndpoints); in parse_interface()
289 usbi_err(ctx, "ran out of descriptors parsing"); in parse_interface()
347 usbi_err(ctx, "too many interfaces (%d)", config->bNumInterfaces); in parse_configuration()
376 usbi_err(ctx, "invalid descriptor length of %d", in parse_configuration()
503 usbi_err(dev->ctx, "parse_configuration failed with error %d", r); in libusb_get_active_config_descriptor()
573 usbi_err(dev->ctx, "parse_configuration failed with error %d", r); in libusb_get_config_descriptor()
Dio.c1219 usbi_err(ITRANSFER_CTX(transfer), in calculate_timeout()
1440 usbi_err(TRANSFER_CTX(transfer), in libusb_cancel_transfer()
1826 usbi_err(ctx, "failed to read realtime clock, error %d", errno); in libusb_wait_for_event()
1981 usbi_err(ctx, "poll failed %d err=%d\n", r, errno); in handle_events()
2029 usbi_err(ctx, "backend handle_events failed with error %d", r); in handle_events()
2353 usbi_err(ctx, "failed to read monotonic clock, errno=%d", errno); in libusb_get_next_timeout()
2490 usbi_err(ctx, "external polling of libusb's internal descriptors "\ in libusb_get_pollfds()
Dcore.c570 usbi_err(DEVICE_CTX(dev), "too many configurations"); in usbi_sanitize_device()
762 usbi_err(DEVICE_CTX(dev), in libusb_get_max_packet_size()
813 usbi_err(DEVICE_CTX(dev), in libusb_get_max_iso_packet_size()
1061usbi_err(ctx, "Device handle closed while transfer was still being processed, but the device is st… in do_close()
1066usbi_err(ctx, "A cancellation hasn't even been scheduled on the transfer for which the device is c… in do_close()
1212 usbi_err(HANDLE_CTX(dev), "zero bytes returned in ctrl transfer?"); in libusb_get_configuration()
Dlibusbi.h151 #define usbi_err(ctx, ...) _usbi_log(ctx, LOG_LEVEL_ERROR, __VA_ARGS__) macro
186 static inline void usbi_err(struct libusb_context *ctx, const char *fmt, ...) in usbi_err() function
/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.