Lines Matching refs:bus
37 int raw_pci_read(unsigned int domain, unsigned int bus, in raw_pci_read() argument
40 struct pci_bus *b = pci_find_bus(domain, bus); in raw_pci_read()
47 int raw_pci_write(unsigned int domain, unsigned int bus, in raw_pci_write() argument
50 struct pci_bus *b = pci_find_bus(domain, bus); in raw_pci_write()
59 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() argument
61 return dev_to_node(&bus->dev); in pcibus_to_node()
74 int acpi_pci_bus_find_domain_nr(struct pci_bus *bus) in acpi_pci_bus_find_domain_nr() argument
76 struct pci_config_window *cfg = bus->sysdata; in acpi_pci_bus_find_domain_nr()
92 cfg = bridge->bus->sysdata; in pcibios_root_bridge_prepare()
104 bus_dev = &bridge->bus->dev; in pcibios_root_bridge_prepare()
180 struct pci_bus *bus, *child; in pci_acpi_scan_root() local
204 bus = acpi_pci_root_create(root, root_ops, &ri->common, ri->cfg); in pci_acpi_scan_root()
205 if (!bus) in pci_acpi_scan_root()
209 host = pci_find_host_bridge(bus); in pci_acpi_scan_root()
211 pci_bus_claim_resources(bus); in pci_acpi_scan_root()
217 pci_assign_unassigned_root_bus_resources(bus); in pci_acpi_scan_root()
219 list_for_each_entry(child, &bus->children, node) in pci_acpi_scan_root()
222 return bus; in pci_acpi_scan_root()
225 void pcibios_add_bus(struct pci_bus *bus) in pcibios_add_bus() argument
227 acpi_pci_add_bus(bus); in pcibios_add_bus()
230 void pcibios_remove_bus(struct pci_bus *bus) in pcibios_remove_bus() argument
232 acpi_pci_remove_bus(bus); in pcibios_remove_bus()