Home
last modified time | relevance | path

Searched refs:usbi_warn (Results 1 – 15 of 15) sorted by relevance

/external/libusb/libusb/os/
Dpoll_windows.c126 usbi_warn(NULL, "Unable to cancel I/O that was started from another thread"); in cancel_io()
336 usbi_warn(NULL, "only one of RW_READ or RW_WRITE are supported. " in usbi_create_fd()
536 usbi_warn(NULL, "unsupported set of events"); in usbi_poll()
551 usbi_warn(NULL, "invalid fd"); in usbi_poll()
560 usbi_warn(NULL, "attempted POLLIN on fd without READ access"); in usbi_poll()
569 usbi_warn(NULL, "attempted POLLOUT on fd without WRITE access"); in usbi_poll()
710 usbi_warn(NULL, "waiting for event failed: %u", (unsigned int)GetLastError()); in usbi_read()
Dwindows_winusb.c527 usbi_warn(ctx, "could not read config descriptor: error %d", r); in windows_assign_endpoints()
616 usbi_warn(ctx, "program assertion failed - autoclaim_count was nonzero"); in auto_claim()
877 usbi_warn(ctx, "could not infer VID/PID of HCD hub from '%s'", parent_priv->path); in force_hcd_device_descriptor()
1010 usbi_warn(ctx, "parent for device '%s' is not a hub", device_id); in init_device()
1058 usbi_warn(ctx, "could not open hub %s: %s", parent_priv->path, windows_error_str(0)); in init_device()
1067 usbi_warn(ctx, "could not get node connection information for device '%s': %s", in init_device()
1099 usbi_warn(ctx, "could not get node connection information (V2) for device '%s': %s", in init_device()
1121 usbi_warn(ctx, "Got unknown device speed %u", conn_info.Speed); in init_device()
1218 usbi_warn(ctx, "failure to read interface number for %s. Using default value %d", in set_composite_interface()
1354usbi_warn(ctx, "program assertion failed - found more than %d buses, skipping the rest.", UINT8_MA… in windows_get_device_list()
[all …]
Dlinux_usbfs.c435 usbi_warn(ctx, "sysfs not mounted"); in op_init()
737 usbi_warn(ctx, "config length mismatch wTotalLength " in seek_to_next_config()
746 usbi_warn(ctx, "short descriptor read %d/%d", in seek_to_next_config()
867 usbi_warn(DEVICE_CTX(dev), in usbfs_get_active_config()
879 usbi_warn(DEVICE_CTX(dev), in usbfs_get_active_config()
915 usbi_warn(DEVICE_CTX(dev), "Unknown device speed: %d Mbps", speed); in initialize_device()
968 usbi_warn(ctx, "Missing rw usbfs access; cannot determine " in initialize_device()
1011 usbi_warn(ctx, "Can not parse sysfs_dir: %s, no parent info", in linux_get_parent_info()
1498 usbi_warn(HANDLE_CTX(handle), in op_reset_device()
1772 usbi_warn(TRANSFER_CTX(transfer), in discard_urbs()
[all …]
Ddarwin_usb.c206 usbi_warn (HANDLE_CTX(dev_handle), "no pipeRef found with endpoint address 0x%02x.", ep); in ep_to_pipeRef()
818 usbi_warn (ctx, "could not retrieve device descriptor %.4x:%.4x: %s (%x). skipping device", in darwin_cache_device_descriptor()
826usbi_warn (ctx, "idProduct from iokit (%04x) does not match idProduct in descriptor (%04x). skippi… in darwin_cache_device_descriptor()
1012 usbi_warn (ctx, "Got unknown device speed %d", devSpeed); in process_new_device()
1061 usbi_warn (HANDLE_CTX (dev_handle), "USBDeviceOpen: %s", darwin_error_str(kresult)); in darwin_open()
1135 usbi_warn (HANDLE_CTX (dev_handle), "USBDeviceClose: %s", darwin_error_str(kresult)); in darwin_close()
1397 usbi_warn (HANDLE_CTX (dev_handle), "USBInterfaceClose: %s", darwin_error_str(kresult)); in darwin_release_interface()
1401 usbi_warn (HANDLE_CTX (dev_handle), "Release: %s", darwin_error_str(kresult)); in darwin_release_interface()
1450 usbi_warn (HANDLE_CTX (dev_handle), "ClearPipeStall: %s", darwin_error_str (kresult)); in darwin_clear_halt()
1813 usbi_warn (ITRANSFER_CTX (itransfer), "aborting all transactions control pipe"); in cancel_control_transfer()
[all …]
Dlinux_udev.c139 usbi_warn(NULL, "udev control pipe signal failed"); in linux_udev_stop_event_monitor()
180 usbi_warn(NULL, "udev control pipe read failed"); in linux_udev_event_thread_main()
Dlinux_netlink.c167 usbi_warn(NULL, "netlink control pipe signal failed"); in linux_netlink_stop_event_monitor()
376 usbi_warn(NULL, "netlink control pipe read failed"); in linux_netlink_event_thread_main()
Dwindows_nt_common.c349 usbi_warn(ctx, "unable to set timer thread affinity, timer discrepancies may arise"); in windows_init_clock()
532usbi_warn(ITRANSFER_CTX(itransfer), "bulk stream transfers are not yet supported on this platform"… in windows_handle_callback()
Dwindows_usbdk.c236 usbi_warn(ctx, "cannot form device identity", id->DeviceID); in usbdk_get_session_id_for_device()
/external/libusb/libusb/
Ddescriptor.c123 usbi_warn(ctx, "short endpoint descriptor read %d/%d", in parse_endpoint()
150 usbi_warn(ctx, "short extra ep desc read %d/%d", in parse_endpoint()
254 usbi_warn(ctx, "short intf descriptor read %d/%d", in parse_interface()
289 usbi_warn(ctx, in parse_interface()
434 usbi_warn(ctx, in parse_configuration()
505 usbi_warn(ctx, "still %d bytes of descriptor data left", r); in raw_desc_to_config()
846 usbi_warn(ctx, "short dev-cap descriptor read %d/%d", in parse_bos()
852 usbi_warn(ctx, "unexpected descriptor %x (expected %x)", in parse_bos()
863 usbi_warn(ctx, "short dev-cap descriptor read %d/%d", in parse_bos()
Dsync.c157 usbi_warn(HANDLE_CTX(dev_handle), in libusb_control_transfer()
217 usbi_warn(HANDLE_CTX(dev_handle), in do_sync_bulk_transfer()
Dcore.c946 usbi_warn(ctx, "port numbers array is too small"); in libusb_get_port_numbers()
1195 usbi_warn(ctx, "internal signalling write failed"); in usbi_signal_event()
1214 usbi_warn(ctx, "internal signalling read failed"); in usbi_clear_event()
1359usbi_warn(ctx, "A cancellation for an in-flight transfer hasn't completed but closing the device h… in do_close()
2228 usbi_warn(ctx, "some libusb_devices were leaked"); in libusb_exit()
2230 usbi_warn(ctx, "application left some devices open"); in libusb_exit()
Dlibusbi.h195 #define usbi_warn(ctx, ...) _usbi_log(ctx, LIBUSB_LOG_LEVEL_WARNING, __VA_ARGS__) macro
217 static inline void usbi_warn(struct libusb_context *ctx, const char *format, ...)
Dio.c1420 usbi_warn(ctx, "failed to arm first timerfd (errno %d)", errno); in add_to_flying_list()
1992 usbi_warn(TRANSFER_CTX(transfer), in handle_timeout()
/external/libusb-compat/libusb/
Dcore.c55 #define usbi_warn(fmt...) _usbi_log(LOG_LEVEL_WARNING, fmt) macro
770 usbi_warn("endpoint %x is missing IN direction bit, fixing"); in usb_bulk_read()
784 usbi_warn("endpoint %x has excessive IN direction bit, fixing"); in usb_bulk_write()
815 usbi_warn("endpoint %x is missing IN direction bit, fixing"); in usb_interrupt_read()
828 usbi_warn("endpoint %x has excessive IN direction bit, fixing"); in usb_interrupt_write()
/external/libusb/include/libusb/
Dlibusbi.h195 #define usbi_warn(ctx, ...) _usbi_log(ctx, LIBUSB_LOG_LEVEL_WARNING, __VA_ARGS__) macro
217 static inline void usbi_warn(struct libusb_context *ctx, const char *format, ...)