Lines Matching refs:printf
30 printf("Scanning...\n"); in pci_list()
59 printf("%02x:%02x.%0x vendor_id=%04x device_id=%04x, header_type=%02x " in pci_list()
74 printf("... press any key to continue, q to quit ..."); in pci_list()
76 printf("\n"); in pci_list()
84 printf("... done. Scanned %d busses, %d device/functions\n", busses, devices); in pci_list()
89 printf("Error while reading PCI config space: %02x\n", ret); in pci_list()
116 printf("Device at %02x:%02x.%1x vendor id=%04x device id=%04x\n", loc.bus, in pci_config()
118 printf("command=%04x status=%04x pi=%02x sub cls=%02x base cls=%02x\n", in pci_config()
123 printf("bar%d=%08x bar%d=%08x\n", i, config.base_addresses[i], in pci_config()
141 … printf("byte at device %02x:%02x config offset %04x: %02x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
150 … printf("half at device %02x:%02x config offset %04x: %04x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
159 … printf("word at device %02x:%02x config offset %04x: %08x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
178 … printf("byte to device %02x:%02x config offset %04x: %02x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
187 … printf("half to device %02x:%02x config offset %04x: %04x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
196 … printf("word to device %02x:%02x config offset %04x: %08x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
207 printf("Error while reading PCI config space: %02x\n", ret); in pci_config()
213 printf("pci commands:\n"); in pci_cmd()
215 printf("%s list\n", argv[0].str); in pci_cmd()
216 printf("%s config dump <bus> <devfn>\n", argv[0].str); in pci_cmd()
217 printf("%s config <rb|rh|rw> <bus> <devfn> <offset>\n", argv[0].str); in pci_cmd()
218 printf("%s config <mb|mh|mw> <bus> <devfn> <offset> <value>\n", argv[0].str); in pci_cmd()