Lines Matching full:pr
549 * Reparent resource children of pr that conflict with res
622 struct resource *res, *pr; in pcibios_allocate_bus_resources() local
632 pr = (res->flags & IORESOURCE_IO) ? in pcibios_allocate_bus_resources()
641 pr = pci_find_parent_resource(bus->self, res); in pcibios_allocate_bus_resources()
642 if (pr == res) { in pcibios_allocate_bus_resources()
658 pr, (pr && pr->name) ? pr->name : "nil"); in pcibios_allocate_bus_resources()
660 if (pr && !(pr->flags & IORESOURCE_UNSET)) { in pcibios_allocate_bus_resources()
663 if (request_resource(pr, res) == 0) in pcibios_allocate_bus_resources()
670 if (reparent_resources(pr, res) == 0) in pcibios_allocate_bus_resources()
691 struct resource *pr, *r = &dev->resource[idx]; in alloc_resource() local
699 pr = pci_find_parent_resource(dev, r); in alloc_resource()
700 if (!pr || (pr->flags & IORESOURCE_UNSET) || in alloc_resource()
701 request_resource(pr, r) < 0) { in alloc_resource()
704 if (pr) in alloc_resource()
706 pr, in alloc_resource()
707 (unsigned long long)pr->start, in alloc_resource()
708 (unsigned long long)pr->end, in alloc_resource()
709 (unsigned int)pr->flags); in alloc_resource()
784 pr_debug("Candidate legacy IO: %pR\n", res); in pcibios_reserve_legacy_regions()
786 pr_debug("PCI %04x:%02x Cannot reserve Legacy IO %pR\n", in pcibios_reserve_legacy_regions()
799 pr_debug("hose mem res: %pR\n", pres); in pcibios_reserve_legacy_regions()
812 pr_debug("Candidate VGA memory: %pR\n", res); in pcibios_reserve_legacy_regions()
814 pr_debug("PCI %04x:%02x Cannot reserve VGA memory %pR\n", in pcibios_reserve_legacy_regions()