Lines Matching full:printf
38 printf("device[%i]\n", i); in print_device_info()
39 printf("\tavailable_nodes %04x\n", device->available_nodes); in print_device_info()
40 printf("\tnodes\n"); in print_device_info()
43 printf("\t\tnodes[%d] %s\n", j, device->nodes[j]); in print_device_info()
45 printf("\tbustype %04x\n", device->bustype); in print_device_info()
46 printf("\tbusinfo\n"); in print_device_info()
48 printf("\t\tpci\n"); in print_device_info()
49 printf("\t\t\tdomain\t%04x\n",device->businfo.pci->domain); in print_device_info()
50 printf("\t\t\tbus\t%02x\n", device->businfo.pci->bus); in print_device_info()
51 printf("\t\t\tdev\t%02x\n", device->businfo.pci->dev); in print_device_info()
52 printf("\t\t\tfunc\t%1u\n", device->businfo.pci->func); in print_device_info()
54 printf("\tdeviceinfo\n"); in print_device_info()
55 printf("\t\tpci\n"); in print_device_info()
56 printf("\t\t\tvendor_id\t%04x\n", device->deviceinfo.pci->vendor_id); in print_device_info()
57 printf("\t\t\tdevice_id\t%04x\n", device->deviceinfo.pci->device_id); in print_device_info()
58 printf("\t\t\tsubvendor_id\t%04x\n", device->deviceinfo.pci->subvendor_id); in print_device_info()
59 printf("\t\t\tsubdevice_id\t%04x\n", device->deviceinfo.pci->subdevice_id); in print_device_info()
61 printf("\t\t\trevision_id\t%02x\n", device->deviceinfo.pci->revision_id); in print_device_info()
63 printf("\t\t\trevision_id\tIGNORED\n"); in print_device_info()
66 printf("\t\tusb\n"); in print_device_info()
67 printf("\t\t\tbus\t%03u\n", device->businfo.usb->bus); in print_device_info()
68 printf("\t\t\tdev\t%03u\n", device->businfo.usb->dev); in print_device_info()
70 printf("\tdeviceinfo\n"); in print_device_info()
71 printf("\t\tusb\n"); in print_device_info()
72 printf("\t\t\tvendor\t%04x\n", device->deviceinfo.usb->vendor); in print_device_info()
73 printf("\t\t\tproduct\t%04x\n", device->deviceinfo.usb->product); in print_device_info()
77 printf("\t\tplatform\n"); in print_device_info()
78 printf("\t\t\tfullname\t%s\n", device->businfo.platform->fullname); in print_device_info()
80 printf("\tdeviceinfo\n"); in print_device_info()
81 printf("\t\tplatform\n"); in print_device_info()
82 printf("\t\t\tcompatible\n"); in print_device_info()
85 printf("\t\t\t\t%s\n", *compatible); in print_device_info()
91 printf("\t\thost1x\n"); in print_device_info()
92 printf("\t\t\tfullname\t%s\n", device->businfo.host1x->fullname); in print_device_info()
94 printf("\tdeviceinfo\n"); in print_device_info()
95 printf("\t\tplatform\n"); in print_device_info()
96 printf("\t\t\tcompatible\n"); in print_device_info()
99 printf("\t\t\t\t%s\n", *compatible); in print_device_info()
103 printf("Unknown/unhandled bustype\n"); in print_device_info()
105 printf("\n"); in print_device_info()
118 printf("drmGetDevices2() has returned %d\n", max_devices); in main()
124 printf("Failed to allocate memory for the drmDevicePtr array\n"); in main()
130 printf("drmGetDevices2() returned an error %d\n", ret); in main()
140 printf("Opening device %d node %s\n", i, devices[i]->nodes[j]); in main()
143 printf("Failed - %s (%d)\n", strerror(errno), errno); in main()