Searched refs:rsrc_reg (Results 1 – 2 of 2) sorted by relevance
/arch/powerpc/sysdev/ |
D | fsl_pci.c | 808 struct resource rsrc_reg; in mpc83xx_add_bridge() local 823 if (of_address_to_resource(dev, 0, &rsrc_reg)) { in mpc83xx_add_bridge() 839 if ((rsrc_reg.start & 0xfffff) == 0x8500) in mpc83xx_add_bridge() 840 rsrc_cfg.start = (rsrc_reg.start & 0xfff00000) + 0x8300; in mpc83xx_add_bridge() 841 else if ((rsrc_reg.start & 0xfffff) == 0x8600) in mpc83xx_add_bridge() 842 rsrc_cfg.start = (rsrc_reg.start & 0xfff00000) + 0x8380; in mpc83xx_add_bridge() 847 if ((rsrc_reg.start & 0xfffff) == 0x8500) in mpc83xx_add_bridge() 868 ret = mpc83xx_pcie_setup(hose, &rsrc_reg); in mpc83xx_add_bridge() 878 (unsigned long long)rsrc_reg.start, hose->first_busno, in mpc83xx_add_bridge()
|
/arch/powerpc/platforms/4xx/ |
D | pci.c | 323 struct resource rsrc_reg; in ppc4xx_probe_pci_bridge() local 343 if (of_address_to_resource(np, 3, &rsrc_reg)) { in ppc4xx_probe_pci_bridge() 357 reg = ioremap(rsrc_reg.start, resource_size(&rsrc_reg)); in ppc4xx_probe_pci_bridge() 527 struct resource rsrc_reg; in ppc4xx_probe_pcix_bridge() local 541 if (of_address_to_resource(np, 3, &rsrc_reg)) { in ppc4xx_probe_pcix_bridge() 563 reg = ioremap(rsrc_reg.start, resource_size(&rsrc_reg)); in ppc4xx_probe_pcix_bridge()
|