Lines Matching full:ranges
39 * @bridge: Set this flag if the address is from a bridge 'ranges' property
210 const u32 *busrange, *ranges; in of_scan_pci_bridge() local
225 ranges = of_get_property(node, "ranges", &len); in of_scan_pci_bridge()
226 if (ranges == NULL) { in of_scan_pci_bridge()
227 printk(KERN_DEBUG "Can't get ranges for PCI-PCI bridge %s\n", in of_scan_pci_bridge()
243 /* parse ranges property */ in of_scan_pci_bridge()
252 for (; len >= 32; len -= 32, ranges += 8) { in of_scan_pci_bridge()
253 flags = pci_parse_of_flags(ranges[0], 1); in of_scan_pci_bridge()
254 size = of_read_number(&ranges[6], 2); in of_scan_pci_bridge()
266 printk(KERN_ERR "PCI: too many memory ranges" in of_scan_pci_bridge()
273 res->start = of_read_number(&ranges[1], 2); in of_scan_pci_bridge()