Lines Matching refs:bus
136 !(dev->bus->bridge_ctl & PCI_BRIDGE_CTL_ISA)) in skip_isa_ioresource_align()
233 static void pcibios_allocate_bus_resources(struct pci_bus *bus) in pcibios_allocate_bus_resources() argument
238 if (bus->self) in pcibios_allocate_bus_resources()
239 pcibios_allocate_bridge_resources(bus->self); in pcibios_allocate_bus_resources()
240 list_for_each_entry(child, &bus->children, node) in pcibios_allocate_bus_resources()
307 static void pcibios_allocate_resources(struct pci_bus *bus, int pass) in pcibios_allocate_resources() argument
312 list_for_each_entry(dev, &bus->devices, bus_list) { in pcibios_allocate_resources()
341 static void pcibios_allocate_rom_resources(struct pci_bus *bus) in pcibios_allocate_rom_resources() argument
346 list_for_each_entry(dev, &bus->devices, bus_list) { in pcibios_allocate_rom_resources()
357 struct pci_bus *bus; in pcibios_assign_resources() local
360 list_for_each_entry(bus, &pci_root_buses, node) in pcibios_assign_resources()
361 pcibios_allocate_rom_resources(bus); in pcibios_assign_resources()
375 void pcibios_resource_survey_bus(struct pci_bus *bus) in pcibios_resource_survey_bus() argument
377 dev_printk(KERN_DEBUG, &bus->dev, "Allocating resources\n"); in pcibios_resource_survey_bus()
379 pcibios_allocate_bus_resources(bus); in pcibios_resource_survey_bus()
381 pcibios_allocate_resources(bus, 0); in pcibios_resource_survey_bus()
382 pcibios_allocate_resources(bus, 1); in pcibios_resource_survey_bus()
385 pcibios_allocate_rom_resources(bus); in pcibios_resource_survey_bus()
390 struct pci_bus *bus; in pcibios_resource_survey() local
394 list_for_each_entry(bus, &pci_root_buses, node) in pcibios_resource_survey()
395 pcibios_allocate_bus_resources(bus); in pcibios_resource_survey()
397 list_for_each_entry(bus, &pci_root_buses, node) in pcibios_resource_survey()
398 pcibios_allocate_resources(bus, 0); in pcibios_resource_survey()
399 list_for_each_entry(bus, &pci_root_buses, node) in pcibios_resource_survey()
400 pcibios_allocate_resources(bus, 1); in pcibios_resource_survey()