Lines Matching refs:bus
41 int raw_pci_read(unsigned int domain, unsigned int bus, in raw_pci_read() argument
44 struct pci_bus *b = pci_find_bus(domain, bus); in raw_pci_read()
51 int raw_pci_write(unsigned int domain, unsigned int bus, in raw_pci_write() argument
54 struct pci_bus *b = pci_find_bus(domain, bus); in raw_pci_write()
63 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() argument
65 return dev_to_node(&bus->dev); in pcibus_to_node()
78 int acpi_pci_bus_find_domain_nr(struct pci_bus *bus) in acpi_pci_bus_find_domain_nr() argument
80 struct pci_config_window *cfg = bus->sysdata; in acpi_pci_bus_find_domain_nr()
90 struct pci_config_window *cfg = bridge->bus->sysdata; in pcibios_root_bridge_prepare()
92 struct device *bus_dev = &bridge->bus->dev; in pcibios_root_bridge_prepare()
170 struct pci_bus *bus, *child; in pci_acpi_scan_root() local
193 bus = acpi_pci_root_create(root, root_ops, &ri->common, ri->cfg); in pci_acpi_scan_root()
194 if (!bus) in pci_acpi_scan_root()
197 pci_bus_size_bridges(bus); in pci_acpi_scan_root()
198 pci_bus_assign_resources(bus); in pci_acpi_scan_root()
200 list_for_each_entry(child, &bus->children, node) in pci_acpi_scan_root()
203 return bus; in pci_acpi_scan_root()
206 void pcibios_add_bus(struct pci_bus *bus) in pcibios_add_bus() argument
208 acpi_pci_add_bus(bus); in pcibios_add_bus()
211 void pcibios_remove_bus(struct pci_bus *bus) in pcibios_remove_bus() argument
213 acpi_pci_remove_bus(bus); in pcibios_remove_bus()