Lines Matching refs:usb_dprintf
71 static void usb_dprintf(int level, char *format, ...);
172 usb_dprintf(DEBUG_FUNCTIONS, "usb_set_debug(): "
190 usb_dprintf(DEBUG_FUNCTIONS, "usb_init(): "
227 usb_dprintf(DEBUG_FUNCTIONS, "usb_find_busses(): "
284 usb_dprintf(DEBUG_DETAILED, "moving new to old\n");
294 usb_dprintf(DEBUG_DETAILED, "usb_devices list:\n");
298 usb_dprintf(DEBUG_DETAILED, "%d: %s\n", i, dev->filename);
330 usb_dprintf(DEBUG_FUNCTIONS, "usb_open():\n");
334 usb_dprintf(DEBUG_ERRORS, "usb_open(): "
365 usb_dprintf(DEBUG_ERRORS, "usb_open_ep0 failed: %d\n", rval);
389 usb_dprintf(DEBUG_FUNCTIONS, "usb_open(): hdl=0x%x\n", (int)hdl);
406 usb_dprintf(DEBUG_FUNCTIONS, "usb_close(): hdl=0x%x\n", hdl);
411 usb_dprintf(DEBUG_DETAILED,
448 usb_dprintf(DEBUG_FUNCTIONS, "usb_control_msg():\n");
484 usb_dprintf(DEBUG_FUNCTIONS,
506 usb_dprintf(DEBUG_FUNCTIONS, "usb_bulk_write(): ep=0x%x\n", ep);
509 usb_dprintf(DEBUG_ERRORS,
519 usb_dprintf(DEBUG_ERRORS,
550 usb_dprintf(DEBUG_FUNCTIONS, "usb_bulk_read(): ep=0x%x\n", ep);
553 usb_dprintf(DEBUG_ERRORS,
563 usb_dprintf(DEBUG_ERRORS,
593 usb_dprintf(DEBUG_FUNCTIONS, "usb_interrupt_write(): ep=0x%x\n", ep);
596 usb_dprintf(DEBUG_ERRORS,
606 usb_dprintf(DEBUG_ERRORS,
638 usb_dprintf(DEBUG_FUNCTIONS, "usb_interrrupt_read(): ep=0x%x\n", ep);
641 usb_dprintf(DEBUG_ERRORS,
651 usb_dprintf(DEBUG_ERRORS,
685 usb_dprintf(DEBUG_FUNCTIONS,
690 usb_dprintf(DEBUG_ERRORS,
715 usb_dprintf(DEBUG_FUNCTIONS, "usb_get_string_simple(): index=%d\n",
719 usb_dprintf(DEBUG_ERRORS,
736 usb_dprintf(DEBUG_DETAILED, "usb_get_string() returned %d\n", ret);
744 usb_dprintf(DEBUG_DETAILED, "using langid=0x%x\n", langid);
790 usb_dprintf(DEBUG_ERRORS,
809 usb_dprintf(DEBUG_ERRORS,
839 usb_dprintf(DEBUG_FUNCTIONS, "usb_set_altinterface(): "
843 usb_dprintf(DEBUG_ERRORS,
869 usb_dprintf(DEBUG_DETAILED, "claimed=%d, cfgvalue=%d, hdl=0x%x\n",
891 usb_dprintf(DEBUG_DETAILED,
925 usb_dprintf(DEBUG_FUNCTIONS,
929 usb_dprintf(DEBUG_ERRORS,
946 usb_dprintf(DEBUG_ERRORS,
983 usb_dprintf(DEBUG_FUNCTIONS, "usb_clear_halt(): ep=0x%x\n", ep);
986 usb_dprintf(DEBUG_ERRORS,
993 usb_dprintf(DEBUG_DETAILED, "index=0x%x, ep_intf=%d\n",
1036 usb_dprintf(DEBUG_ERRORS,
1044 usb_dprintf(DEBUG_FUNCTIONS, "usb_claim_interface(): hdl=0x%x: "
1064 usb_dprintf(DEBUG_DETAILED, "configuration_value=%d, index=%d\n",
1090 usb_dprintf(DEBUG_DETAILED, "usb_claim_interface(): hdl=0x%x: "
1120 usb_dprintf(DEBUG_ERRORS,
1129 usb_dprintf(DEBUG_FUNCTIONS, "usb_release_interface(): hdl=0x%x: "
1138 usb_dprintf(DEBUG_DETAILED, "usb_release_interface(): hdl=0x%x: "
1158 usb_dprintf(DEBUG_FUNCTIONS, "usb_resetep(): ep=0x%x\n", ep);
1174 usb_dprintf(DEBUG_FUNCTIONS, "usb_reset():\n");
1177 usb_dprintf(DEBUG_ERRORS,
1206 usb_dprintf(DEBUG_DETAILED, "usb_send_msg():\n"
1241 usb_dprintf(DEBUG_FUNCTIONS, "usb_send_msg(): rval=%d\n", rval);
1259 usb_dprintf(DEBUG_FUNCTIONS, "usb_do_io(): size=0x%x flag=%d\n",
1288 usb_dprintf(DEBUG_FUNCTIONS, "usb_do_io(): amount=%d\n", ret);
1311 usb_dprintf(DEBUG_FUNCTIONS, "usb_check_access(): "
1350 usb_dprintf(DEBUG_DETAILED, "cfg%d.%d.%d has %d endpoints\n",
1361 usb_dprintf(DEBUG_DETAILED, "ep_interface:\n");
1363 usb_dprintf(DEBUG_DETAILED, "%d ",
1366 usb_dprintf(DEBUG_DETAILED, "\n");
1387 usb_dprintf(DEBUG_FUNCTIONS,
1401 usb_dprintf(DEBUG_DETAILED, "claimed=%d ep_interface=%d\n",
1430 usb_dprintf(DEBUG_DETAILED, "cfgvalue=%d\n",
1454 usb_dprintf(DEBUG_DETAILED,
1556 usb_dprintf(DEBUG_FUNCTIONS, "usb_open_ep0():\n");
1563 usb_dprintf(DEBUG_DETAILED,
1578 usb_dprintf(DEBUG_DETAILED, "opening %s\n", filename);
1582 usb_dprintf(DEBUG_ERRORS, "opening ep0 failed, %d\n",
1592 usb_dprintf(DEBUG_DETAILED, "opening %s\n", filename);
1606 usb_dprintf(DEBUG_DETAILED, "ep0 opened\n");
1623 usb_dprintf(DEBUG_FUNCTIONS, "usb_close_ep0():\n");
1627 usb_dprintf(DEBUG_DETAILED,
1656 usb_dprintf(DEBUG_FUNCTIONS, "usb_close_all_eps():\n");
1688 usb_dprintf(DEBUG_FUNCTIONS, "usb_setup_all_configs():\n");
1696 usb_dprintf(DEBUG_DETAILED, "dev descr rval=%d\n", rval);
1708 usb_dprintf(DEBUG_DETAILED, "parse dev descr rval=%d\n", rval);
1745 usb_dprintf(DEBUG_FUNCTIONS, "usb_free_all_configs(): "
1775 usb_dprintf(DEBUG_FUNCTIONS, "usb_parse_config(): index=%d\n",
1783 usb_dprintf(DEBUG_DETAILED, "config descr rval=%d expecting %d\n",
1795 usb_dprintf(DEBUG_DETAILED, "config descr rval=%d expecting %d\n",
1803 usb_dprintf(DEBUG_DETAILED,
1837 usb_dprintf(DEBUG_DETAILED,
1887 usb_dprintf(DEBUG_FUNCTIONS, "usb_free_config(): index=%d\n",
1918 usb_dprintf(DEBUG_FUNCTIONS, "usb_parse_interface(): "
1928 usb_dprintf(DEBUG_DETAILED, "usb_parse_interface: "
1939 usb_dprintf(DEBUG_DETAILED,
1973 usb_dprintf(DEBUG_FUNCTIONS, "usb_free_interface(): "
2002 usb_dprintf(DEBUG_FUNCTIONS, "usb_parse_alternate(): "
2010 usb_dprintf(DEBUG_ERRORS, "usb_parse_alternate: rval=%d\n",
2016 usb_dprintf(DEBUG_DETAILED,
2034 usb_dprintf(DEBUG_DETAILED,
2085 usb_dprintf(DEBUG_FUNCTIONS, "usb_free_alternate(): "
2126 usb_dprintf(DEBUG_FUNCTIONS, "usb_parse_endpoint(): "
2136 usb_dprintf(DEBUG_ERRORS, "usb_parse_endpoint: rval=%d, "
2142 usb_dprintf(DEBUG_DETAILED,
2153 usb_dprintf(DEBUG_DETAILED,
2248 usb_dprintf(DEBUG_FUNCTIONS, "usb_free_dev(): 0x%x\n", (int)dev);
2266 usb_dprintf(DEBUG_FUNCTIONS, "usb_get_device_status():\n");
2277 usb_dprintf(DEBUG_DETAILED, "Device is available\n");
2280 usb_dprintf(DEBUG_DETAILED, "Device has been "
2284 usb_dprintf(DEBUG_DETAILED,
2288 usb_dprintf(DEBUG_DETAILED,
2292 usb_dprintf(DEBUG_DETAILED,
2317 usb_dprintf(DEBUG_FUNCTIONS, "usb_search_dev_usb():\n");
2350 usb_dprintf(DEBUG_FUNCTIONS, "usb_search_dev_usb(): dir=%s\n",
2374 usb_dprintf(DEBUG_FUNCTIONS, "checking %s\n", device);
2420 usb_dprintf(DEBUG_DETAILED, "filename %s\n", filename);
2421 usb_dprintf(DEBUG_DETAILED, "dev filename %s\n",
2425 usb_dprintf(DEBUG_ERRORS,
2468 usb_dprintf(DEBUG_FUNCTIONS, "usb_get_status(): fd=%d\n", fd);
2474 usb_dprintf(DEBUG_DETAILED, "No Error\n");
2477 usb_dprintf(DEBUG_ERRORS, "CRC Timeout Detected\n");
2480 usb_dprintf(DEBUG_ERRORS, "Bit Stuffing Violation\n");
2483 usb_dprintf(DEBUG_ERRORS, "Data Toggle Mismatch\n");
2486 usb_dprintf(DEBUG_ERRORS, "End Point Stalled\n");
2489 usb_dprintf(DEBUG_ERRORS, "Device is Not Responding\n");
2492 usb_dprintf(DEBUG_ERRORS, "PID Check Failure\n");
2495 usb_dprintf(DEBUG_ERRORS, "Unexpected PID\n");
2498 usb_dprintf(DEBUG_ERRORS, "Data Exceeded Size\n");
2501 usb_dprintf(DEBUG_ERRORS, "Less data received\n");
2504 usb_dprintf(DEBUG_ERRORS, "Buffer Size Exceeded\n");
2507 usb_dprintf(DEBUG_ERRORS, "Buffer Underrun\n");
2510 usb_dprintf(DEBUG_ERRORS, "Command Timed Out\n");
2513 usb_dprintf(DEBUG_ERRORS, "Not Accessed by h/w\n");
2516 usb_dprintf(DEBUG_ERRORS, "Unspecified Error\n");
2519 usb_dprintf(DEBUG_ERRORS, "No Bandwidth\n");
2522 usb_dprintf(DEBUG_ERRORS,
2526 usb_dprintf(DEBUG_ERRORS, "Device was Suspended\n");
2529 usb_dprintf(DEBUG_ERRORS, "Device was Disconnected\n");
2532 usb_dprintf(DEBUG_ERRORS,
2536 usb_dprintf(DEBUG_ERRORS, "Request was Invalid\n");
2539 usb_dprintf(DEBUG_ERRORS, "Request was Interrupted\n");
2542 usb_dprintf(DEBUG_ERRORS, "No resources available for "
2546 usb_dprintf(DEBUG_ERRORS, "Failed to Restart Poll");
2549 usb_dprintf(DEBUG_ERRORS, "Error Not Determined %d\n",
2917 usb_dprintf(DEBUG_FUNCTIONS, "usb_strerror(): "
2948 usb_dprintf(DEBUG_FUNCTIONS, "usb_error(): error=%d\n", x);
2973 usb_dprintf(DEBUG_ERRORS, "USB error (%d): %s\n", x, usb_error_string);
2979 * usb_dprintf:
2983 usb_dprintf(int level, char *format, ...)