Home | History | Annotate | Download | only in hw

Lines Matching defs:bus_num

34     int bus_num;
124 return s->bus_num;
578 int config_addr, bus_num;
584 bus_num = (addr >> 16) & 0xff;
585 while (s && s->bus_num != bus_num)
604 int config_addr, bus_num;
607 bus_num = (addr >> 16) & 0xff;
608 while (s && s->bus_num != bus_num)
725 d->bus->bus_num, d->devfn >> 3, d->devfn & 7);
765 void pci_for_each_device(int bus_num, void (*fn)(PCIDevice *d))
771 while (bus && bus->bus_num != bus_num)
846 s->bus->bus_num = val & 0xff;
848 s->bus->bus_num = (val >> 8) & 0xff;
850 printf ("pci-bridge: %s: Assigned bus %d\n", d->name, s->bus->bus_num);
856 PCIBus *pci_find_bus(int bus_num)
860 while (bus && bus->bus_num != bus_num)
866 PCIDevice *pci_find_device(int bus_num, int slot, int function)
868 PCIBus *bus = pci_find_bus(bus_num);