Lines Matching refs:bus
32 for (int bus = 0; bus <= (int)pci_get_last_bus(); bus++) { in pci_list() local
35 state.bus = bus; in pci_list()
61 state.bus, state.dev_fn >> 3, state.dev_fn & 7, in pci_list()
108 loc.bus = atoui(argv[3].str); in pci_config()
116 printf("Device at %02x:%02x.%1x vendor id=%04x device id=%04x\n", loc.bus, in pci_config()
131 loc.bus = atoui(argv[3].str); 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()
168 loc.bus = atoui(argv[3].str); 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()