Lines Matching refs:bus
25 #define CONFIG_CMD(bus, devfn, where) \ argument
26 (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3))
29 puv3_read_config(struct pci_bus *bus, unsigned int devfn, int where, in puv3_read_config() argument
32 writel(CONFIG_CMD(bus, devfn, where), PCICFG_ADDR); in puv3_read_config()
48 puv3_write_config(struct pci_bus *bus, unsigned int devfn, int where, in puv3_write_config() argument
51 writel(CONFIG_CMD(bus, devfn, where), PCICFG_ADDR); in puv3_write_config()
106 if (dev->bus->number == 0) { in pci_puv3_map_irq()
170 void pcibios_fixup_bus(struct pci_bus *bus) in pcibios_fixup_bus() argument
177 bus->resource[0] = &ioport_resource; in pcibios_fixup_bus()
178 bus->resource[1] = &iomem_resource; in pcibios_fixup_bus()
184 list_for_each_entry(dev, &bus->devices, bus_list) { in pcibios_fixup_bus()
226 list_for_each_entry(dev, &bus->devices, bus_list) { in pcibios_fixup_bus()
240 if (bus->self && bus->self->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pcibios_fixup_bus()
242 bus->bridge_ctl |= PCI_BRIDGE_CTL_FAST_BACK; in pcibios_fixup_bus()
244 bus->bridge_ctl |= PCI_BRIDGE_CTL_PARITY; in pcibios_fixup_bus()
251 bus->number, (features & PCI_COMMAND_FAST_BACK) ? "en" : "dis"); in pcibios_fixup_bus()