/external/libusb/libusb/os/ |
D | sunos_usb.c | 84 usbi_dbg(""); in sunos_exit() 116 usbi_dbg("can't find raw config descriptors"); in sunos_fill_in_dev_info() 150 usbi_dbg("can't get address"); in sunos_fill_in_dev_info() 166 usbi_dbg("vid=%x pid=%x, path=%s, bus_nmber=0x%x, port_number=%d, " in sunos_fill_in_dev_info() 219 usbi_dbg("device bus address=%s:%x", in sunos_add_devices() 229 usbi_dbg("cannot get valid usb_addr"); in sunos_add_devices() 246 usbi_dbg("can't alloc device"); in sunos_add_devices() 267 usbi_dbg("sanatize failed: "); in sunos_add_devices() 271 usbi_dbg("Dev %s exists", path); in sunos_add_devices() 280 usbi_dbg("cannot append device"); in sunos_add_devices() [all …]
|
D | netbsd_usb.c | 150 usbi_dbg(""); in netbsd_get_device_list() 225 usbi_dbg("open %s: fd %d", dpriv->devnode, dpriv->fd); in netbsd_open() 236 usbi_dbg("close: fd %d", dpriv->fd); in netbsd_close() 248 usbi_dbg(""); in netbsd_get_device_descriptor() 267 usbi_dbg("len %d", len); in netbsd_get_active_config_descriptor() 284 usbi_dbg("index %d, len %d", idx, len); in netbsd_get_config_descriptor() 319 usbi_dbg(""); in netbsd_get_configuration() 324 usbi_dbg("configuration %d", *config); in netbsd_get_configuration() 334 usbi_dbg("configuration %d", config); in netbsd_set_configuration() 374 usbi_dbg("iface %d, setting %d", iface, altsetting); in netbsd_set_interface_altsetting() [all …]
|
D | openbsd_usb.c | 160 usbi_dbg(""); in obsd_get_device_list() 264 usbi_dbg("open %s: fd %d", devnode, dpriv->fd); in obsd_open() 277 usbi_dbg("close: fd %d", dpriv->fd); in obsd_close() 290 usbi_dbg(""); in obsd_get_device_descriptor() 308 usbi_dbg("len %d", len); in obsd_get_active_config_descriptor() 333 usbi_dbg("index %d, len %d", udf.udf_config_index, len); in obsd_get_config_descriptor() 355 usbi_dbg("bConfigurationValue %d", *config); in obsd_get_configuration() 368 usbi_dbg("bConfigurationValue %d", config); in obsd_set_configuration() 411 usbi_dbg("iface %d, setting %d", iface, altsetting); in obsd_set_interface_altsetting() 433 usbi_dbg(""); in obsd_clear_halt() [all …]
|
D | linux_usbfs.c | 248 usbi_dbg("found: %s", entry->d_name); in _is_usbdev_entry() 321 usbi_dbg("found usbfs at %s", ret); in find_usbfs_path() 339 usbi_dbg("monotonic clock doesn't work, errno %d", errno); in find_monotonic_clock() 400 usbi_dbg("bulk continuation flag supported"); in op_init() 412 usbi_dbg("zero length packet flag supported"); in op_init() 442 usbi_dbg("sysfs can relate devices"); in op_init() 445 usbi_dbg("sysfs has complete descriptors"); in op_init() 605 usbi_dbg("device unconfigured"); in sysfs_get_active_config() 634 usbi_dbg("getting address for device: %s detached: %d", sys_name, detached); in linux_get_device_address() 652 usbi_dbg("scan %s", sys_name); in linux_get_device_address() [all …]
|
D | windows_nt_common.c | 167 usbi_dbg("using %lu entries hash table", nel); in htab_create() 234 usbi_dbg("hash collision ('%s' vs '%s')", str, htab_table[idx].str); in htab_hash() 317 usbi_dbg("hires timer available (Frequency: %"PRIu64" Hz)", hires_frequency); in windows_init_clock() 332 usbi_dbg("timer thread will run on core #%d", i); in windows_init_clock() 360 usbi_dbg("no hires timer available on this platform"); in windows_init_clock() 374 usbi_dbg("could not wait for timer thread to quit"); in windows_destroy_clock() 400 usbi_dbg("SetEvent failed for timer init event: %s", windows_error_str(0)); in windows_clock_gettime_threaded() 423 usbi_dbg("timer thread quitting"); in windows_clock_gettime_threaded() 453 usbi_dbg("could not obtain a timer value within reasonable timeframe - too much load?"); in windows_clock_gettime() 486 usbi_dbg("handling I/O completion with errcode %u, size %u", io_result, io_size); in windows_transfer_callback() [all …]
|
D | darwin_usb.c | 182 usbi_dbg ("converting ep address 0x%02x to pipeRef and interface", ep); in ep_to_pipeRef() 198 usbi_dbg ("pipe %d on interface %d matches", *pipep, iface); in ep_to_pipeRef() 290 usbi_dbg ("could not set up plugin for service: %s", darwin_error_str (result)); in darwin_device_from_service() 350 usbi_dbg ("notifying context %p of device disconnect", ctx); in darwin_devices_detached() 411 usbi_dbg ("creating hotplug event source"); in darwin_event_thread_main() 456 usbi_dbg ("darwin event thread ready to receive events"); in darwin_event_thread_main() 467 usbi_dbg ("darwin event thread exiting"); in darwin_event_thread_main() 656 usbi_dbg ("ignoring configuration on root hub simulation"); in darwin_check_configuration() 699 usbi_dbg ("active config: %u, first config: %u", dev->active_config, dev->first_config); in darwin_check_configuration() 759 … usbi_dbg("descriptor appears to be invalid. resetting configuration before trying again..."); in darwin_cache_device_descriptor() [all …]
|
D | linux_netlink.c | 105 usbi_dbg("failed to create netlink socket of type %d, attempting SOCK_RAW", socktype); in linux_netlink_start_event_monitor() 216 usbi_dbg("unknown device action %s", tmp); in linux_netlink_parse() 323 usbi_dbg("ignoring netlink message from unknown group/PID (%u/%u)", in linux_netlink_read_message() 330 usbi_dbg("ignoring netlink message with no sender credentials"); in linux_netlink_read_message() 336 usbi_dbg("ignoring netlink message with non-zero sender UID %u", (unsigned int)cred->uid); in linux_netlink_read_message() 344 usbi_dbg("netlink hotplug found device busnum: %hhu, devaddr: %hhu, sys_name: %s, removed: %s", in linux_netlink_read_message() 369 usbi_dbg("netlink event thread entering"); in linux_netlink_event_thread_main() 386 usbi_dbg("netlink event thread exiting"); in linux_netlink_event_thread_main()
|
D | windows_winusb.c | 437 usbi_dbg("assigned libusb0 symbolic link %s", filter_path); in get_interface_details_filter() 503 usbi_dbg("found endpoint %02X on interface %d", intf_desc->bInterfaceNumber, i); in get_interface_by_endpoint() 510 usbi_dbg("endpoint %02X not found on any interface", ep); in get_interface_by_endpoint() 535 usbi_dbg("no endpoints found for interface %d", iface); in windows_assign_endpoints() 549 …usbi_dbg("(re)assigned endpoint %02X to interface %d", priv->usb_interface[iface].endpoint[i], ifa… in windows_assign_endpoints() 614 usbi_dbg("auto-claimed interface %d for control request", current_interface); in auto_claim() 651 usbi_dbg("auto-released interface %d", transfer_priv->interface_number); in auto_release() 653 usbi_dbg("failed to auto-release interface %d (%s)", in auto_release() 800 usbi_dbg(windows_version_str); in windows_init() 975 usbi_dbg("cached config descriptor %d (bConfigurationValue=%u, %u bytes)", in cache_config_descriptors() [all …]
|
D | wince_usb.c | 213 usbi_dbg("hires timer available (Frequency: %"PRIu64" Hz)", hires_frequency); in wince_init() 215 usbi_dbg("no hires timer available on this platform"); in wince_init() 306 usbi_dbg("using existing device for %u/%u (session %lu)", in wince_get_device_list() 313 usbi_dbg("allocating new device for %u/%u (session %lu)", in wince_get_device_list() 656 usbi_dbg("handling I/O completion with errcode %u", io_result); in wince_transfer_callback() 672 usbi_dbg("checking I/O completion with errcode ERROR_NOT_SUPPORTED is really a stall"); in wince_transfer_callback() 693 usbi_dbg("Endpoint doesn't appear to be stalled, overriding error with success"); in wince_transfer_callback() 696 usbi_dbg("Endpoint doesn't appear to be stalled, but the host is halted, changing error"); in wince_transfer_callback() 710 usbi_dbg("detected transfer cancel"); in wince_transfer_callback() 715 usbi_dbg("detected endpoint stall"); in wince_transfer_callback() [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() 132 usbi_dbg("device sanitization failed"); in WatchedEntry() 176 usbi_dbg("device with location %lu not found", session_id); in ~WatchedEntry()
|
D | linux_udev.c | 173 usbi_dbg("udev event thread entering."); in linux_udev_event_thread_main() 193 usbi_dbg("udev event thread exiting"); in linux_udev_event_thread_main() 238 usbi_dbg("udev hotplug event. action: %s.", udev_action); in udev_hotplug_event() 302 usbi_dbg("Handling hotplug event from hotplug_poll"); in linux_udev_hotplug_poll()
|
D | poll_posix.c | 38 usbi_dbg("Failed to get pipe fd flags: %d", errno); in usbi_pipe() 43 usbi_dbg("Failed to set non-blocking on new pipe: %d", errno); in usbi_pipe()
|
D | poll_windows.c | 54 #define poll_dbg usbi_dbg 101 usbi_dbg("Will use CancelIo%s for I/O cancellation", in setup_cancel_io() 367 usbi_dbg("could not duplicate handle for CancelIo - using original one"); in usbi_create_fd()
|
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 | 126 usbi_dbg("unsupported API call for '" \
|
/external/libusb/libusb/ |
D | io.c | 1153 usbi_dbg("using timerfd for timeouts"); in usbi_io_init() 1158 usbi_dbg("timerfd not available (code %d error %d)", ctx->timerfd, errno); in usbi_io_init() 1273 usbi_dbg("transfer %p", transfer); in libusb_alloc_transfer() 1300 usbi_dbg("transfer %p", transfer); in libusb_free_transfer() 1315 usbi_dbg(""); in disarm_timerfd() 1345 usbi_dbg("next timeout originally %dms", USBI_TRANSFER_TO_LIBUSB_TRANSFER(transfer)->timeout); in arm_timerfd_for_next_timeout() 1416 usbi_dbg("arm timerfd for timeout in %dms (first in line)", in add_to_flying_list() 1476 usbi_dbg("transfer %p", transfer); in libusb_submit_transfer() 1566 usbi_dbg("transfer %p", transfer ); in libusb_cancel_transfer() 1580 usbi_dbg("cancel transfer failed error %d", r); in libusb_cancel_transfer() [all …]
|
D | core.c | 659 usbi_dbg("need to increase capacity"); in discovered_devs_append() 764 usbi_dbg("zero configurations, maybe an unauthorized device"); in usbi_sanitize_device() 818 usbi_dbg(""); in libusb_get_device_list() 1166 usbi_dbg("destroy device %d.%d", dev->bus_number, dev->device_address); in libusb_unref_device() 1247 usbi_dbg("open %d.%d", dev->bus_number, dev->device_address); in libusb_open() 1270 usbi_dbg("open %d.%d returns %d", dev->bus_number, dev->device_address, r); in libusb_open() 1376 usbi_dbg("Removed transfer %p from the in-flight list because device handle %p closed", in do_close() 1410 usbi_dbg(""); in libusb_close() 1493 usbi_dbg(""); in libusb_get_configuration() 1499 usbi_dbg("falling back to control message"); in libusb_get_configuration() [all …]
|
D | descriptor.c | 162 usbi_dbg("skipping descriptor %x", header.bDescriptorType); in parse_endpoint() 448 usbi_dbg("skipping descriptor 0x%x", header.bDescriptorType); in parse_configuration() 546 usbi_dbg(""); in libusb_get_device_descriptor() 624 usbi_dbg("index %d", config_index); in libusb_get_config_descriptor() 662 usbi_dbg("value %d", bConfigurationValue); in usbi_get_config_index_by_value() 919 usbi_dbg("found BOS descriptor: size %d bytes, %d capabilities", in libusb_get_bos_descriptor()
|
D | libusbi.h | 188 #define usbi_dbg(...) _usbi_log(NULL, LIBUSB_LOG_LEVEL_DEBUG, __VA_ARGS__) macro 191 #define usbi_dbg(...) do {} while(0) macro 222 static inline void usbi_dbg(const char *format, ...)
|
D | sync.c | 41 usbi_dbg("actual_length=%d", transfer->actual_length); in sync_transfer_cb()
|
/external/libusb/msvc/ |
D | missing.c | 45 usbi_dbg("Failed to convert environment variable name to wide string"); in getenv() 52 usbi_dbg("Failed to open registry key for getenv with error %d", rc); in getenv() 62 usbi_dbg("Failed to read registry key value for getenv with error %d", rc); in getenv() 66 usbi_dbg("Registry value was of type %d instead of REG_SZ", dwType); in getenv() 75 usbi_dbg("Failed to convert environment variable value to narrow string"); in getenv()
|
/external/libusb-compat/libusb/ |
D | core.c | 49 #define usbi_dbg(fmt...) _usbi_log(LOG_LEVEL_DEBUG, fmt) macro 51 #define usbi_dbg(fmt...) macro 142 usbi_dbg(""); in usb_init() 252 usbi_dbg(""); in usb_find_busses() 268 usbi_dbg("in loop"); in usb_find_busses() 285 usbi_dbg("bus %d removed", bus->location); in usb_find_busses() 298 usbi_dbg("bus %d added", bus->location); in usb_find_busses() 579 usbi_dbg(""); in usb_find_devices() 614 usbi_dbg("device %d.%d removed", in usb_find_devices() 635 usbi_dbg("device %d.%d added", dev->bus->location, dev->devnum); in usb_find_devices() [all …]
|
/external/libusb/include/libusb/ |
D | libusbi.h | 188 #define usbi_dbg(...) _usbi_log(NULL, LIBUSB_LOG_LEVEL_DEBUG, __VA_ARGS__) macro 191 #define usbi_dbg(...) do {} while(0) macro 222 static inline void usbi_dbg(const char *format, ...)
|