/third_party/libusb/libusb/os/ |
D | sunos_usb.c | 93 usbi_dbg("%s", start); in sunos_get_link() 104 usbi_dbg("%s", q); in sunos_get_link() 121 usbi_dbg("di_devlink_init failure"); in sunos_physpath_to_devlink() 134 usbi_dbg("there is no devlink for this path"); in sunos_physpath_to_devlink() 170 usbi_dbg("unitaddr: %s", end); in sunos_usb_ioctl() 176 usbi_dbg("ioctl hub path: %s", path_arg); in sunos_usb_ioctl() 196 usbi_dbg("%p, %" PRIuPTR, iocdata.nvl_user, iocdata.nvl_usersz); in sunos_usb_ioctl() 203 usbi_dbg("dev rstate: %d", devctl_ap_state.ap_rstate); in sunos_usb_ioctl() 204 usbi_dbg("dev ostate: %d", devctl_ap_state.ap_ostate); in sunos_usb_ioctl() 230 usbi_dbg("%s", dpriv->ugenpath); in sunos_kernel_driver_active() [all …]
|
D | netbsd_usb.c | 125 usbi_dbg(" "); in netbsd_get_device_list() 208 usbi_dbg("open %s: fd %d", dpriv->devnode, dpriv->fd); in netbsd_open() 218 usbi_dbg("close: fd %d", dpriv->fd); in netbsd_close() 232 usbi_dbg("len %zu", len); in netbsd_get_active_config_descriptor() 247 usbi_dbg("index %u, len %zu", idx, len); in netbsd_get_config_descriptor() 281 usbi_dbg(" "); in netbsd_get_configuration() 286 usbi_dbg("configuration %d", tmp); in netbsd_get_configuration() 297 usbi_dbg("configuration %d", config); in netbsd_set_configuration() 341 usbi_dbg("iface %u, setting %u", iface, altsetting); in netbsd_set_interface_altsetting() 360 usbi_dbg(" "); in netbsd_clear_halt() [all …]
|
D | openbsd_usb.c | 132 usbi_dbg(" "); in obsd_get_device_list() 241 usbi_dbg("open %s: fd %d", devnode, dpriv->fd); in obsd_open() 253 usbi_dbg("close: fd %d", dpriv->fd); in obsd_close() 268 usbi_dbg("len %zu", len); in obsd_get_active_config_descriptor() 291 usbi_dbg("index %d, len %zu", udf.udf_config_index, len); in obsd_get_config_descriptor() 310 usbi_dbg("bConfigurationValue %u", *config); in obsd_get_configuration() 323 usbi_dbg("bConfigurationValue %d", config); in obsd_set_configuration() 370 usbi_dbg("iface %u, setting %u", iface, altsetting); in obsd_set_interface_altsetting() 392 usbi_dbg(" "); in obsd_clear_halt() 416 usbi_dbg(" "); in obsd_destroy_device() [all …]
|
D | darwin_usb.c | 186 usbi_dbg ("converting ep address 0x%02x to pipeRef and interface", ep); in ep_to_pipeRef() 202 usbi_dbg ("pipe %d on interface %d matches", *pipep, iface); in ep_to_pipeRef() 303 usbi_dbg ("set up plugin for service retry: %s", darwin_error_str (kresult)); in darwin_device_from_service() 310 usbi_dbg ("could not set up plugin for service: %s", darwin_error_str (kresult)); in darwin_device_from_service() 344 usbi_dbg ("cached device in reset state. reset complete..."); in darwin_devices_attached() 383 usbi_dbg ("detected device detached due to re-enumeration"); in darwin_devices_detached() 406 usbi_dbg ("notifying context %p of device disconnect", ctx); in darwin_devices_detached() 476 usbi_dbg ("creating hotplug event source"); in darwin_event_thread_main() 523 usbi_dbg ("darwin event thread ready to receive events"); in darwin_event_thread_main() 535 usbi_dbg ("darwin event thread exiting"); in darwin_event_thread_main() [all …]
|
D | linux_usbfs.c | 226 usbi_dbg("invalid usbdev format '%s'", name); in is_usbdev_entry() 230 usbi_dbg("found: %s", name); in is_usbdev_entry() 315 usbi_dbg("reported kernel version is %s", uts.release); in get_kernel_version() 363 usbi_dbg("found usbfs at %s", usbfs_path); in op_init() 374 usbi_dbg("max iso packet length is (likely) %u bytes", max_iso_packet_len); in op_init() 381 usbi_dbg("sysfs is available"); in op_init() 434 usbi_dbg("set libusb has weak authority"); in op_set_option() 593 usbi_dbg("getting address for device: %s detached: %d", sys_name, detached); in linux_get_device_address() 622 usbi_dbg("scan %s", sys_name); in linux_get_device_address() 634 usbi_dbg("bus=%u dev=%u", *busnum, *devaddr); in linux_get_device_address() [all …]
|
D | windows_common.c | 156 usbi_dbg("using %lu entries hash table", HTAB_SIZE); in htab_create() 225 usbi_dbg("hash collision ('%s' vs '%s')", str, htab_table[idx].str); in htab_hash() 287 usbi_dbg("USBD_STATUS 0x%08lx translated to LIBUSB_TRANSFER_ERROR", ULONG_CAST(status)); in usbd_status_to_libusb_transfer_status() 302 usbi_dbg("transfer %p, length %lu", transfer, ULONG_CAST(size)); in windows_force_sync_completion() 405 usbi_dbg("Windows %s SP%u.%u %s", w, vi.wServicePackMajor, vi.wServicePackMinor, arch); in get_windows_version() 407 usbi_dbg("Windows %s SP%u %s", w, vi.wServicePackMajor, arch); in get_windows_version() 409 usbi_dbg("Windows %s %s", w, arch); in get_windows_version() 428 usbi_dbg("I/O completion thread started"); in windows_iocp_thread() 462 usbi_dbg("ignoring overlapped %p for handle %p (device %u.%u)", in windows_iocp_thread() 468 usbi_dbg("transfer %p completed, length %lu", in windows_iocp_thread() [all …]
|
D | linux_netlink.c | 102 usbi_dbg("failed to create netlink socket of type %d, attempting SOCK_RAW", socktype); in linux_netlink_start_event_monitor() 207 usbi_dbg("unknown device action %s", tmp); in linux_netlink_parse() 314 usbi_dbg("ignoring netlink message from unknown group/PID (%u/%u)", in linux_netlink_read_message() 321 usbi_dbg("ignoring netlink message with no sender credentials"); in linux_netlink_read_message() 327 usbi_dbg("ignoring netlink message with non-zero sender UID %u", (unsigned int)cred->uid); in linux_netlink_read_message() 335 usbi_dbg("netlink hotplug found device busnum: %hhu, devaddr: %hhu, sys_name: %s, removed: %s", in linux_netlink_read_message() 365 usbi_dbg("netlink event thread entering"); in linux_netlink_event_thread_main() 387 usbi_dbg("netlink event thread exiting"); in linux_netlink_event_thread_main()
|
D | windows_winusb.c | 396 usbi_dbg("assigned libusb0 symbolic link %s", filter_path); in get_interface_details_filter() 454 usbi_dbg("found endpoint %02X on interface %d", intf_desc->bInterfaceNumber, i); in get_interface_by_endpoint() 461 usbi_dbg("endpoint %02X not found on any interface", ep); in get_interface_by_endpoint() 507 usbi_dbg("no endpoints found for interface %u", iface); in windows_assign_endpoints() 522 …usbi_dbg("(re)assigned endpoint %02X to interface %u", priv->usb_interface[iface].endpoint[i], ifa… in windows_assign_endpoints() 592 usbi_dbg("auto-claimed interface %d for control request", current_interface); in auto_claim() 629 usbi_dbg("auto-released interface %d", transfer_priv->interface_number); in auto_release() 631 usbi_dbg("failed to auto-release interface %d (%s)", in auto_release() 772 usbi_dbg("cached config descriptor %u (bConfigurationValue=%u, %u bytes)", in cache_config_descriptors() 889 usbi_dbg("root hub '%s' reports %lu ports", priv->dev_id, ULONG_CAST(num_ports)); in init_root_hub() [all …]
|
D | haiku_pollfs.cpp | 103 usbi_dbg("using previously allocated device with location %lu", session_id); in WatchedEntry() 107 usbi_dbg("allocating new device with location %lu", session_id); in WatchedEntry() 110 usbi_dbg("device allocation failed"); in WatchedEntry() 137 usbi_dbg("device sanitization failed"); in WatchedEntry() 181 usbi_dbg("device with location %lu not found", session_id); in ~WatchedEntry()
|
D | linux_udev.c | 180 usbi_dbg("udev event thread entering"); in linux_udev_event_thread_main() 204 usbi_dbg("udev event thread exiting"); in linux_udev_event_thread_main() 249 usbi_dbg("udev hotplug event. action: %s.", udev_action); in udev_hotplug_event() 316 usbi_dbg("Handling hotplug event from hotplug_poll"); in linux_udev_hotplug_poll()
|
D | events_posix.c | 225 usbi_dbg("poll() %u fds with timeout in %dms", (unsigned int)nfds, timeout_ms); in usbi_wait_for_events() 227 usbi_dbg("poll() returned %d", num_ready); in usbi_wait_for_events() 282 usbi_dbg("fd %d was removed, ignoring raised events", fds[n].fd); in usbi_wait_for_events()
|
D | events_windows.c | 174 …usbi_dbg("WaitForMultipleObjects() for %lu HANDLEs with timeout in %dms", ULONG_CAST(num_handles),… in usbi_wait_for_events() 176 usbi_dbg("WaitForMultipleObjects() returned %lu", ULONG_CAST(result)); in usbi_wait_for_events()
|
D | haiku_usb_backend.cpp | 299 usbi_dbg("Setting alternate interface successful"); in SetAltSetting() 308 usbi_dbg("Setting alternate interface successful"); in SetAltSetting()
|
D | windows_winusb.h | 117 usbi_dbg("unsupported API call for '%s' " \
|
/third_party/libusb/libusb/ |
D | io.c | 1184 usbi_dbg("using timer for timeouts"); in usbi_io_init() 1189 usbi_dbg("timer not available for timeouts"); in usbi_io_init() 1313 usbi_dbg("transfer %p", transfer); in libusb_alloc_transfer() 1343 usbi_dbg("transfer %p", transfer); in libusb_free_transfer() 1379 usbi_dbg("next timeout originally %ums", USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer)->timeout); in arm_timer_for_next_timeout() 1384 usbi_dbg("no timeouts, disarming timer"); in arm_timer_for_next_timeout() 1441 usbi_dbg("arm timer for timeout in %ums (first in line)", in add_to_flying_list() 1497 usbi_dbg("transfer %p", transfer); in libusb_submit_transfer() 1587 usbi_dbg("transfer %p", transfer ); in libusb_cancel_transfer() 1601 usbi_dbg("cancel transfer failed error %d", r); in libusb_cancel_transfer() [all …]
|
D | core.c | 677 usbi_dbg("need to increase capacity"); in discovered_devs_append() 778 usbi_dbg("zero configurations, maybe an unauthorized device"); in usbi_sanitize_device() 833 usbi_dbg(" "); in libusb_get_device_list() 1199 usbi_dbg("destroy device %d.%d", dev->bus_number, dev->device_address); in libusb_unref_device() 1254 usbi_dbg("wrap_sys_device 0x%" PRIxPTR, (uintptr_t)sys_dev); in libusb_wrap_sys_device() 1269 usbi_dbg("wrap_sys_device 0x%" PRIxPTR " returns %d", (uintptr_t)sys_dev, r); in libusb_wrap_sys_device() 1309 usbi_dbg("open %d.%d", dev->bus_number, dev->device_address); in libusb_open() 1325 usbi_dbg("open %d.%d returns %d", dev->bus_number, dev->device_address, r); in libusb_open() 1431 usbi_dbg("Removed transfer %p from the in-flight list because device handle %p closed", in do_close() 1465 usbi_dbg(" "); in libusb_close() [all …]
|
D | hotplug.c | 290 usbi_dbg("new hotplug cb %p with handle %d", new_callback, new_callback->handle); in libusb_hotplug_register_callback() 330 usbi_dbg("deregister hotplug cb %d", callback_handle); in libusb_hotplug_deregister_callback() 368 usbi_dbg("get hotplug user data %d", callback_handle); in libusb_hotplug_get_user_data() 390 usbi_dbg("freeing hotplug cb %p with handle %d", hotplug_cb, in usbi_hotplug_deregister()
|
D | descriptor.c | 143 usbi_dbg("skipping descriptor 0x%x", header->bDescriptorType); in parse_endpoint() 417 usbi_dbg("skipping descriptor 0x%x", header->bDescriptorType); in parse_configuration() 534 usbi_dbg(" "); in libusb_get_device_descriptor() 604 usbi_dbg("index %u", config_index); in libusb_get_config_descriptor() 659 usbi_dbg("value %u", bConfigurationValue); in libusb_get_config_descriptor_by_value() 869 usbi_dbg("found BOS descriptor: size %u bytes, %u capabilities", in libusb_get_bos_descriptor()
|
D | sync.c | 39 usbi_dbg("actual_length=%d", transfer->actual_length); in sync_transfer_cb()
|
D | libusbi.h | 292 #define usbi_dbg(...) _usbi_log(NULL, LIBUSB_LOG_LEVEL_DEBUG, __VA_ARGS__) macro 299 #define usbi_dbg(...) do {} while (0) macro
|