/third_party/libusb/libusb/os/ |
D | events_windows.c | 40 usbi_warn(NULL, "CloseHandle failed: %s", windows_error_str(0)); in usbi_destroy_event() 46 usbi_warn(NULL, "SetEvent failed: %s", windows_error_str(0)); in usbi_signal_event() 52 usbi_warn(NULL, "ResetEvent failed: %s", windows_error_str(0)); in usbi_clear_event() 60 usbi_warn(NULL, "CreateWaitableTimer failed: %s", windows_error_str(0)); in usbi_create_timer() 70 usbi_warn(NULL, "CloseHandle failed: %s", windows_error_str(0)); in usbi_destroy_timer() 97 usbi_warn(NULL, "SetWaitableTimer failed: %s", windows_error_str(0)); in usbi_arm_timer() 116 usbi_warn(NULL, "SetWaitableTimer failed: %s", windows_error_str(0)); in usbi_disarm_timer() 121 usbi_warn(NULL, "SetWaitableTimer failed: %s", windows_error_str(0)); in usbi_disarm_timer() 139 usbi_warn(ctx, "program assertion failed - event data already allocated"); in usbi_alloc_event_data()
|
D | events_posix.c | 117 usbi_warn(NULL, "failed to close eventfd, errno=%d", errno); in usbi_destroy_event() 120 usbi_warn(NULL, "failed to close pipe write end, errno=%d", errno); in usbi_destroy_event() 122 usbi_warn(NULL, "failed to close pipe read end, errno=%d", errno); in usbi_destroy_event() 133 usbi_warn(NULL, "event write failed"); in usbi_signal_event() 143 usbi_warn(NULL, "event read failed"); in usbi_clear_event() 151 usbi_warn(NULL, "failed to create timerfd, errno=%d", errno); in usbi_create_timer() 161 usbi_warn(NULL, "failed to close timerfd, errno=%d", errno); in usbi_destroy_timer() 169 usbi_warn(NULL, "failed to arm timerfd, errno=%d", errno); in usbi_arm_timer() 181 usbi_warn(NULL, "failed to disarm timerfd, errno=%d", errno); in usbi_disarm_timer()
|
D | windows_winusb.c | 403 usbi_warn(ctx, "could not open device interface registry key for index %lu: %s", in get_interface_details_filter() 499 usbi_warn(HANDLE_CTX(dev_handle), "could not read config descriptor: error %d", r); in windows_assign_endpoints() 654 usbi_warn(ctx, "error initializing %s backend", in winusb_init() 883 usbi_warn(ctx, "could not get root hub info for '%s': %s", priv->dev_id, windows_error_str(0)); in init_root_hub() 902 usbi_warn(ctx, "could not get node connection information (V2) for root hub '%s' port %lu: %s", in init_root_hub() 942 usbi_warn(ctx, "could not get node connection information for root hub '%s' port %lu: %s", in init_root_hub() 1045 usbi_warn(ctx, "parent for device '%s' is not a hub", priv->dev_id); in init_device() 1062 usbi_warn(ctx, "ancestor for device '%s' not found at depth %u", priv->dev_id, depth); in init_device() 1088 usbi_warn(ctx, "could not open hub %s: %s", parent_priv->path, windows_error_str(0)); in init_device() 1098 usbi_warn(ctx, "could not get node connection information for device '%s': %s", in init_device() [all …]
|
D | linux_usbfs.c | 384 usbi_warn(ctx, "sysfs not mounted"); in op_init() 740 usbi_warn(ctx, "config length mismatch wTotalLength %u real %u", in parse_config_descriptors() 750 usbi_warn(ctx, "short descriptor read %zu/%u", remaining, config_len); in parse_config_descriptors() 852 usbi_warn(DEVICE_CTX(dev), "get configuration failed, errno=%d", errno); in usbfs_get_active_config() 859 usbi_warn(DEVICE_CTX(dev), "active cfg 0? assuming unconfigured device"); in usbfs_get_active_config() 881 usbi_warn(ctx, "Error getting device speed: %d", r); in usbfs_get_speed() 914 usbi_warn(ctx, "unknown device speed: %d Mbps", speed); in initialize_device() 991 usbi_warn(ctx, "Missing rw usbfs access; cannot determine " in initialize_device() 1030 usbi_warn(ctx, "Can not parse sysfs_dir: %s, no parent info", in linux_get_parent_info() 1588 usbi_warn(HANDLE_CTX(handle), "failed to re-claim interface %u after reset: %s", in op_reset_device() [all …]
|
D | windows_usbdk.c | 165 usbi_warn(ctx, "failed to open Advapi32\n"); in usbdk_init() 171 usbi_warn(ctx, "failed to find %s in Advapi32\n", "OpenSCManagerA"); in usbdk_init() 176 usbi_warn(ctx, "failed to find %s in Advapi32\n", "OpenServiceA"); in usbdk_init() 181 usbi_warn(ctx, "failed to find %s in Advapi32\n", "CloseServiceHandle"); in usbdk_init() 187 usbi_warn(ctx, "failed to open service control manager: %s", windows_error_str(0)); in usbdk_init() 196 usbi_warn(ctx, "failed to open UsbDk service: %s", windows_error_str(0)); in usbdk_init() 223 usbi_warn(ctx, "cannot form device identity"); in usbdk_get_session_id_for_device()
|
D | darwin_usb.c | 210 usbi_warn (HANDLE_CTX(dev_handle), "no pipeRef found with endpoint address 0x%02x.", ep); in ep_to_pipeRef() 912 usbi_warn (NULL, "could not retrieve device descriptor %.4x:%.4x: %s (%x). skipping device", in darwin_cache_device_descriptor() 920 …usbi_warn (NULL, "idProduct from iokit (%04x) does not match idProduct in descriptor (%04x). skipp… in darwin_cache_device_descriptor() 1149 usbi_warn (ctx, "Got unknown device speed %d", devSpeed); in process_new_device() 1207 usbi_warn (HANDLE_CTX (dev_handle), "USBDeviceOpen: %s", darwin_error_str(kresult)); in darwin_open() 1281 usbi_warn (HANDLE_CTX (dev_handle), "USBDeviceClose: %s", darwin_error_str(kresult)); in darwin_close() 1547 usbi_warn (HANDLE_CTX (dev_handle), "USBInterfaceClose: %s", darwin_error_str(kresult)); in darwin_release_interface() 1551 usbi_warn (HANDLE_CTX (dev_handle), "Release: %s", darwin_error_str(kresult)); in darwin_release_interface() 1601 usbi_warn (HANDLE_CTX (dev_handle), "ClearPipeStall: %s", darwin_error_str (kresult)); in darwin_clear_halt() 2037 usbi_warn (ITRANSFER_CTX (itransfer), "aborting all transactions control pipe"); in cancel_control_transfer() [all …]
|
D | linux_udev.c | 144 usbi_warn(NULL, "failed to join hotplug event thread (%d)", r); in linux_udev_stop_event_monitor() 177 usbi_warn(NULL, "failed to set hotplug event thread name, error=%d", r); in linux_udev_event_thread_main()
|
D | linux_netlink.c | 163 usbi_warn(NULL, "failed to join netlink event thread (%d)", ret); in linux_netlink_stop_event_monitor() 362 usbi_warn(NULL, "failed to set hotplug event thread name, error=%d", r); in linux_netlink_event_thread_main()
|
D | windows_common.c | 746 usbi_warn(ctx, "bulk stream transfers are not yet supported on this platform"); in windows_submit_transfer() 800 usbi_warn(ITRANSFER_CTX(itransfer), "cancellation not supported for this transfer's driver"); in windows_cancel_transfer()
|
D | sunos_usb.c | 389 usbi_warn(HANDLE_CTX(dev_handle), "one or more ioctls failed"); in sunos_detach_kernel_driver() 450 usbi_warn(HANDLE_CTX(dev_handle), "one or more ioctls failed"); in sunos_attach_kernel_driver()
|
/third_party/libusb/libusb/ |
D | descriptor.c | 107 usbi_warn(ctx, "short endpoint descriptor read %d/%u", in parse_endpoint() 131 usbi_warn(ctx, "short extra ep desc read %d/%u", in parse_endpoint() 226 usbi_warn(ctx, "short intf descriptor read %d/%u", in parse_interface() 260 usbi_warn(ctx, in parse_interface() 403 usbi_warn(ctx, in parse_configuration() 473 usbi_warn(ctx, "still %d bytes of descriptor data left", r); in raw_desc_to_config() 493 usbi_warn(DEVICE_CTX(dev), "short config descriptor read %d/%d", in get_active_config_descriptor() 512 usbi_warn(DEVICE_CTX(dev), "short config descriptor read %d/%d", in get_config_descriptor() 800 usbi_warn(ctx, "short dev-cap descriptor read %d/%d", in parse_bos() 806 usbi_warn(ctx, "unexpected descriptor 0x%x (expected 0x%x)", in parse_bos() [all …]
|
D | sync.c | 160 usbi_warn(HANDLE_CTX(dev_handle), in libusb_control_transfer() 220 usbi_warn(HANDLE_CTX(dev_handle), in do_sync_bulk_transfer()
|
D | core.c | 963 usbi_warn(ctx, "port numbers array is too small"); in libusb_get_port_numbers() 1414 …usbi_warn(ctx, "A cancellation for an in-flight transfer hasn't completed but closing the device h… in do_close() 2436 usbi_warn(ctx, "some libusb_devices were leaked"); in libusb_exit() 2438 usbi_warn(ctx, "application left some devices open"); in libusb_exit()
|
D | libusbi.h | 290 #define usbi_warn(ctx, ...) _usbi_log(ctx, LIBUSB_LOG_LEVEL_WARNING, __VA_ARGS__) macro 297 #define usbi_warn(ctx, ...) UNUSED(ctx) macro
|
D | io.c | 2028 usbi_warn(TRANSFER_CTX(transfer), in handle_timeout()
|