• Home
  • Raw
  • Download

Lines Matching refs:dumpfile

234 static int probe_device_descriptor(libusb_device *dev, FILE *dumpfile)  in probe_device_descriptor()  argument
320 if (dumpfile != NULL) { in probe_device_descriptor()
321 fprintf(dumpfile, "Configuration %d, interface %d, altsetting %d:\n", i, j, k); in probe_device_descriptor()
322 fprintf(dumpfile, " Found PTP device, check vendor " in probe_device_descriptor()
349 if (dumpfile != NULL) { in probe_device_descriptor()
350 fprintf(dumpfile, "Configuration %d, interface %d, altsetting %d:\n", i, j, k); in probe_device_descriptor()
351 fprintf(dumpfile, " Interface description contains the string \"MTP\"\n"); in probe_device_descriptor()
352 fprintf(dumpfile, " Device recognized as MTP, no further probing.\n"); in probe_device_descriptor()
400 if (dumpfile != NULL && ret > 0) { in probe_device_descriptor()
401 fprintf(dumpfile, "Microsoft device descriptor 0xee:\n"); in probe_device_descriptor()
402 data_dump_ascii(dumpfile, buf, ret, 16); in probe_device_descriptor()
430 if (dumpfile != NULL && ret > 0) { in probe_device_descriptor()
431 fprintf(dumpfile, "Microsoft device response to control message 1, CMD 0x%02x:\n", cmd); in probe_device_descriptor()
432 data_dump_ascii(dumpfile, buf, ret, 16); in probe_device_descriptor()
470 if (dumpfile != NULL && ret > 0) { in probe_device_descriptor()
471 fprintf(dumpfile, "Microsoft device response to control message 2, CMD 0x%02x:\n", cmd); in probe_device_descriptor()
472 data_dump_ascii(dumpfile, buf, ret, 16); in probe_device_descriptor()
484 } else if (dumpfile != NULL && ret == 0) { in probe_device_descriptor()
485 fprintf(dumpfile, "Zero-length response to control message 2 (OK)\n"); in probe_device_descriptor()
486 } else if (dumpfile != NULL) { in probe_device_descriptor()
487 fprintf(dumpfile, "Device responds to control message 2 with some data.\n"); in probe_device_descriptor()