Lines Matching refs:dumpfile
221 static int probe_device_descriptor(struct usb_device *dev, FILE *dumpfile) in probe_device_descriptor() argument
279 if (dumpfile != NULL) { in probe_device_descriptor()
280 fprintf(dumpfile, "Configuration %d, interface %d, altsetting %d:\n", i, j, k); in probe_device_descriptor()
281 fprintf(dumpfile, " Interface description contains the string \"MTP\"\n"); in probe_device_descriptor()
282 fprintf(dumpfile, " Device recognized as MTP, no further probing.\n"); in probe_device_descriptor()
308 static int probe_device_descriptor(struct usb_device *dev, FILE *dumpfile) in probe_device_descriptor() argument
359 if (dumpfile != NULL) { in probe_device_descriptor()
360 fprintf(dumpfile, "Configuration %d, interface %d, altsetting %d:\n", i, j, k); in probe_device_descriptor()
361 fprintf(dumpfile, " Interface description contains the string \"MTP\"\n"); in probe_device_descriptor()
362 fprintf(dumpfile, " Device recognized as MTP, no further probing.\n"); in probe_device_descriptor()
398 if (dumpfile != NULL && ret > 0) { in probe_device_descriptor()
399 fprintf(dumpfile, "Microsoft device descriptor 0xee:\n"); in probe_device_descriptor()
400 data_dump_ascii(dumpfile, buf, ret, 16); in probe_device_descriptor()
428 if (dumpfile != NULL && ret > 0) { in probe_device_descriptor()
429 fprintf(dumpfile, "Microsoft device response to control message 1, CMD 0x%02x:\n", cmd); in probe_device_descriptor()
430 data_dump_ascii(dumpfile, buf, ret, 16); in probe_device_descriptor()
461 if (dumpfile != NULL && ret > 0) { in probe_device_descriptor()
462 fprintf(dumpfile, "Microsoft device response to control message 2, CMD 0x%02x:\n", cmd); in probe_device_descriptor()
463 data_dump_ascii(dumpfile, buf, ret, 16); in probe_device_descriptor()