Home
last modified time | relevance | path

Searched refs:rsrc_reg (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/video/fbdev/
Dplatinumfb.c70 struct resource rsrc_fb, rsrc_reg; member
546 if (of_address_to_resource(dp, 0, &pinfo->rsrc_reg) || in platinumfb_probe()
553 (unsigned long long)pinfo->rsrc_reg.start, in platinumfb_probe()
554 (unsigned long long)pinfo->rsrc_reg.end); in platinumfb_probe()
576 pinfo->platinum_regs_phys = pinfo->rsrc_reg.start; in platinumfb_probe()
577 pinfo->platinum_regs = ioremap(pinfo->rsrc_reg.start, 0x1000); in platinumfb_probe()
/Linux-v5.4/arch/powerpc/sysdev/
Dfsl_pci.c800 struct resource rsrc_reg; in mpc83xx_add_bridge() local
815 if (of_address_to_resource(dev, 0, &rsrc_reg)) { in mpc83xx_add_bridge()
831 if ((rsrc_reg.start & 0xfffff) == 0x8500) in mpc83xx_add_bridge()
832 rsrc_cfg.start = (rsrc_reg.start & 0xfff00000) + 0x8300; in mpc83xx_add_bridge()
833 else if ((rsrc_reg.start & 0xfffff) == 0x8600) in mpc83xx_add_bridge()
834 rsrc_cfg.start = (rsrc_reg.start & 0xfff00000) + 0x8380; in mpc83xx_add_bridge()
839 if ((rsrc_reg.start & 0xfffff) == 0x8500) in mpc83xx_add_bridge()
860 ret = mpc83xx_pcie_setup(hose, &rsrc_reg); in mpc83xx_add_bridge()
870 (unsigned long long)rsrc_reg.start, hose->first_busno, in mpc83xx_add_bridge()
/Linux-v5.4/arch/powerpc/platforms/4xx/
Dpci.c323 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()