Lines Matching refs:range
349 struct of_pci_range range; in dw_pcie_host_init() local
384 for_each_of_pci_range(&parser, &range) { in dw_pcie_host_init()
385 unsigned long restype = range.flags & IORESOURCE_TYPE_BITS; in dw_pcie_host_init()
388 of_pci_range_to_resource(&range, np, &pp->io); in dw_pcie_host_init()
392 range.pci_addr + global_io_offset); in dw_pcie_host_init()
395 range.pci_addr + range.size in dw_pcie_host_init()
398 pp->io_bus_addr = range.pci_addr; in dw_pcie_host_init()
399 pp->io_base = range.cpu_addr; in dw_pcie_host_init()
402 pp->io_mod_base = of_read_number(parser.range - in dw_pcie_host_init()
406 of_pci_range_to_resource(&range, np, &pp->mem); in dw_pcie_host_init()
409 pp->mem_bus_addr = range.pci_addr; in dw_pcie_host_init()
412 pp->mem_mod_base = of_read_number(parser.range - in dw_pcie_host_init()
416 of_pci_range_to_resource(&range, np, &pp->cfg); in dw_pcie_host_init()
423 pp->cfg0_mod_base = of_read_number(parser.range - in dw_pcie_host_init()