• Home
  • Raw
  • Download

Lines Matching refs:dumpfile

237 static int probe_device_descriptor(struct usb_device *dev, FILE *dumpfile)  in probe_device_descriptor()  argument
313 if (dumpfile != NULL) { in probe_device_descriptor()
314 fprintf(dumpfile, " Found PTP device, check vendor " in probe_device_descriptor()
339 if (dumpfile != NULL) { in probe_device_descriptor()
340 fprintf(dumpfile, "Configuration %d, interface %d, altsetting %d:\n", i, j, k); in probe_device_descriptor()
341 fprintf(dumpfile, " Interface description contains the string \"MTP\"\n"); in probe_device_descriptor()
342 fprintf(dumpfile, " Device recognized as MTP, no further probing.\n"); in probe_device_descriptor()
397 if (dumpfile != NULL && ret > 0) { in probe_device_descriptor()
398 fprintf(dumpfile, "Microsoft device descriptor 0xee:\n"); in probe_device_descriptor()
399 data_dump_ascii(dumpfile, buf, ret, 16); in probe_device_descriptor()
427 if (dumpfile != NULL && ret > 0) { in probe_device_descriptor()
428 fprintf(dumpfile, "Microsoft device response to control message 1, CMD 0x%02x:\n", cmd); in probe_device_descriptor()
429 data_dump_ascii(dumpfile, buf, ret, 16); in probe_device_descriptor()
467 if (dumpfile != NULL && ret > 0) { in probe_device_descriptor()
468 fprintf(dumpfile, "Microsoft device response to control message 2, CMD 0x%02x:\n", cmd); in probe_device_descriptor()
469 data_dump_ascii(dumpfile, buf, ret, 16); in probe_device_descriptor()
481 } else if (dumpfile != NULL && ret == 0) { in probe_device_descriptor()
482 fprintf(dumpfile, "Zero-length response to control message 2 (OK)\n"); in probe_device_descriptor()
483 } else if (dumpfile != NULL) { in probe_device_descriptor()
484 fprintf(dumpfile, "Device responds to control message 2 with some data.\n"); in probe_device_descriptor()