• Home
  • Raw
  • Download

Lines Matching refs:dumpfile

209 static int probe_device_descriptor(openusb_dev_handle_t *dev, FILE *dumpfile) {  in probe_device_descriptor()  argument
307 if (dumpfile != NULL) { in probe_device_descriptor()
308 … fprintf(dumpfile, "Configuration %d, interface %d, altsetting %d:\n", i, j, k); in probe_device_descriptor()
309 fprintf(dumpfile, " Interface description contains the string \"MTP\"\n"); in probe_device_descriptor()
310 fprintf(dumpfile, " Device recognized as MTP, no further probing.\n"); in probe_device_descriptor()
344 if (dumpfile != NULL && ret > 0) { in probe_device_descriptor()
345 fprintf(dumpfile, "Microsoft device descriptor 0xee:\n"); in probe_device_descriptor()
346 data_dump_ascii(dumpfile, buf, ret, 16); in probe_device_descriptor()
392 if (dumpfile != NULL && ctrl.result.transferred_bytes > 0) { in probe_device_descriptor()
393 fprintf(dumpfile, "Microsoft device response to control message 1, CMD 0x%02x:\n", cmd); in probe_device_descriptor()
394 data_dump_ascii(dumpfile, buf, ctrl.result.transferred_bytes, 16); in probe_device_descriptor()
446 if (dumpfile != NULL && ctrl.result.transferred_bytes > 0) { in probe_device_descriptor()
447 fprintf(dumpfile, "Microsoft device response to control message 2, CMD 0x%02x:\n", cmd); in probe_device_descriptor()
448 data_dump_ascii(dumpfile, buf, ret, 16); in probe_device_descriptor()
460 } else if (dumpfile != NULL && ctrl.result.transferred_bytes == 0) { in probe_device_descriptor()
461 fprintf(dumpfile, "Zero-length response to control message 2 (OK)\n"); in probe_device_descriptor()
462 } else if (dumpfile != NULL) { in probe_device_descriptor()
463 fprintf(dumpfile, "Device responds to control message 2 with some data.\n"); in probe_device_descriptor()