mem_res           168 arch/arm/kernel/setup.c static struct resource mem_res[] = {
mem_res           189 arch/arm/kernel/setup.c #define video_ram   mem_res[0]
mem_res           190 arch/arm/kernel/setup.c #define kernel_code mem_res[1]
mem_res           191 arch/arm/kernel/setup.c #define kernel_data mem_res[2]
mem_res            62 arch/arm64/kernel/setup.c static struct resource mem_res[] = {
mem_res            77 arch/arm64/kernel/setup.c #define kernel_code mem_res[0]
mem_res            78 arch/arm64/kernel/setup.c #define kernel_data mem_res[1]
mem_res           162 arch/mips/pci/pci-ar2315.c 	struct resource mem_res;
mem_res           437 arch/mips/pci/pci-ar2315.c 	apc->mem_res.name = "AR2315 PCI mem space";
mem_res           438 arch/mips/pci/pci-ar2315.c 	apc->mem_res.parent = res;
mem_res           439 arch/mips/pci/pci-ar2315.c 	apc->mem_res.start = res->start;
mem_res           440 arch/mips/pci/pci-ar2315.c 	apc->mem_res.end = res->end;
mem_res           441 arch/mips/pci/pci-ar2315.c 	apc->mem_res.flags = IORESOURCE_MEM;
mem_res           490 arch/mips/pci/pci-ar2315.c 	apc->pci_ctrl.mem_resource = &apc->mem_res,
mem_res            54 arch/mips/pci/pci-ar71xx.c 	struct resource mem_res;
mem_res           362 arch/mips/pci/pci-ar71xx.c 	apc->mem_res.parent = res;
mem_res           363 arch/mips/pci/pci-ar71xx.c 	apc->mem_res.name = "PCI memory space";
mem_res           364 arch/mips/pci/pci-ar71xx.c 	apc->mem_res.start = res->start;
mem_res           365 arch/mips/pci/pci-ar71xx.c 	apc->mem_res.end = res->end;
mem_res           366 arch/mips/pci/pci-ar71xx.c 	apc->mem_res.flags = IORESOURCE_MEM;
mem_res           381 arch/mips/pci/pci-ar71xx.c 	apc->pci_ctrl.mem_resource = &apc->mem_res;
mem_res            53 arch/mips/pci/pci-ar724x.c 	struct resource mem_res;
mem_res           408 arch/mips/pci/pci-ar724x.c 	apc->mem_res.parent = res;
mem_res           409 arch/mips/pci/pci-ar724x.c 	apc->mem_res.name = "PCI memory space";
mem_res           410 arch/mips/pci/pci-ar724x.c 	apc->mem_res.start = res->start;
mem_res           411 arch/mips/pci/pci-ar724x.c 	apc->mem_res.end = res->end;
mem_res           412 arch/mips/pci/pci-ar724x.c 	apc->mem_res.flags = IORESOURCE_MEM;
mem_res           416 arch/mips/pci/pci-ar724x.c 	apc->pci_controller.mem_resource = &apc->mem_res;
mem_res            66 arch/mips/pci/pci-rt3883.c 	struct resource mem_res;
mem_res           496 arch/mips/pci/pci-rt3883.c 	rpc->pci_controller.mem_resource = &rpc->mem_res;
mem_res           502 arch/mips/pci/pci-rt3883.c 	rt3883_pci_w32(rpc, rpc->mem_res.start, RT3883_PCI_REG_MEMBASE);
mem_res            66 arch/unicore32/kernel/setup.c static struct resource mem_res[] = {
mem_res            81 arch/unicore32/kernel/setup.c #define kernel_code mem_res[0]
mem_res            82 arch/unicore32/kernel/setup.c #define kernel_data mem_res[1]
mem_res           920 drivers/ata/pata_ep93xx.c 	struct resource *mem_res;
mem_res           935 drivers/ata/pata_ep93xx.c 	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mem_res           936 drivers/ata/pata_ep93xx.c 	ide_base = devm_ioremap_resource(&pdev->dev, mem_res);
mem_res           950 drivers/ata/pata_ep93xx.c 	drv_data->udma_in_phys = mem_res->start + IDEUDMADATAIN;
mem_res           951 drivers/ata/pata_ep93xx.c 	drv_data->udma_out_phys = mem_res->start + IDEUDMADATAOUT;
mem_res           275 drivers/i2c/busses/i2c-sirf.c 	struct resource *mem_res;
mem_res           313 drivers/i2c/busses/i2c-sirf.c 	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mem_res           314 drivers/i2c/busses/i2c-sirf.c 	siic->base = devm_ioremap_resource(&pdev->dev, mem_res);
mem_res           766 drivers/media/platform/exynos4-is/mipi-csis.c 	struct resource *mem_res;
mem_res           800 drivers/media/platform/exynos4-is/mipi-csis.c 	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mem_res           801 drivers/media/platform/exynos4-is/mipi-csis.c 	state->regs = devm_ioremap_resource(dev, mem_res);
mem_res            70 drivers/mfd/sm501.c 	struct resource			*mem_res;
mem_res           786 drivers/mfd/sm501.c 	res->parent = sm->mem_res;
mem_res           787 drivers/mfd/sm501.c 	res->start = sm->mem_res->start + *offs;
mem_res          1403 drivers/mfd/sm501.c 	sm->mem_res = platform_get_resource(dev, IORESOURCE_MEM, 0);
mem_res          1404 drivers/mfd/sm501.c 	if (!sm->io_res || !sm->mem_res) {
mem_res          1619 drivers/mfd/sm501.c 	sm->mem_res = &dev->resource[0];
mem_res           265 drivers/mfd/ssbi.c 	struct resource *mem_res;
mem_res           273 drivers/mfd/ssbi.c 	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mem_res           274 drivers/mfd/ssbi.c 	ssbi->base = devm_ioremap_resource(&pdev->dev, mem_res);
mem_res           175 drivers/mmc/host/davinci_mmc.c 	struct resource *mem_res;
mem_res           410 drivers/mmc/host/davinci_mmc.c 			.dst_addr = host->mem_res->start + DAVINCI_MMCDXR,
mem_res           432 drivers/mmc/host/davinci_mmc.c 			.src_addr = host->mem_res->start + DAVINCI_MMCDRR,
mem_res          1220 drivers/mmc/host/davinci_mmc.c 	host->mem_res = mem;
mem_res           146 drivers/mmc/host/jz4740_mmc.c 	struct resource *mem_res;
mem_res           292 drivers/mmc/host/jz4740_mmc.c 		conf.dst_addr = host->mem_res->start + JZ_REG_MMC_TXFIFO;
mem_res           295 drivers/mmc/host/jz4740_mmc.c 		conf.src_addr = host->mem_res->start + JZ_REG_MMC_RXFIFO;
mem_res           978 drivers/mmc/host/jz4740_mmc.c 	host->mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mem_res           979 drivers/mmc/host/jz4740_mmc.c 	host->base = devm_ioremap_resource(&pdev->dev, host->mem_res);
mem_res           166 drivers/net/ethernet/xscale/ixp4xx_eth.c 	struct resource *mem_res;
mem_res          1442 drivers/net/ethernet/xscale/ixp4xx_eth.c 	port->mem_res = request_mem_region(regs_phys, REGS_SIZE, dev->name);
mem_res          1443 drivers/net/ethernet/xscale/ixp4xx_eth.c 	if (!port->mem_res) {
mem_res          1483 drivers/net/ethernet/xscale/ixp4xx_eth.c 	release_resource(port->mem_res);
mem_res          1500 drivers/net/ethernet/xscale/ixp4xx_eth.c 	release_resource(port->mem_res);
mem_res            66 drivers/pci/controller/dwc/pci-exynos.c 	struct exynos_pcie_mem_res	*mem_res;
mem_res            89 drivers/pci/controller/dwc/pci-exynos.c 	ep->mem_res = devm_kzalloc(dev, sizeof(*ep->mem_res), GFP_KERNEL);
mem_res            90 drivers/pci/controller/dwc/pci-exynos.c 	if (!ep->mem_res)
mem_res            94 drivers/pci/controller/dwc/pci-exynos.c 	ep->mem_res->elbi_base = devm_ioremap_resource(dev, res);
mem_res            95 drivers/pci/controller/dwc/pci-exynos.c 	if (IS_ERR(ep->mem_res->elbi_base))
mem_res            96 drivers/pci/controller/dwc/pci-exynos.c 		return PTR_ERR(ep->mem_res->elbi_base);
mem_res           178 drivers/pci/controller/dwc/pci-exynos.c 	val = exynos_pcie_readl(ep->mem_res->elbi_base, PCIE_ELBI_SLV_AWMISC);
mem_res           183 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, val, PCIE_ELBI_SLV_AWMISC);
mem_res           190 drivers/pci/controller/dwc/pci-exynos.c 	val = exynos_pcie_readl(ep->mem_res->elbi_base, PCIE_ELBI_SLV_ARMISC);
mem_res           195 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, val, PCIE_ELBI_SLV_ARMISC);
mem_res           202 drivers/pci/controller/dwc/pci-exynos.c 	val = exynos_pcie_readl(ep->mem_res->elbi_base, PCIE_CORE_RESET);
mem_res           204 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, val, PCIE_CORE_RESET);
mem_res           205 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, 0, PCIE_PWR_RESET);
mem_res           206 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, 0, PCIE_STICKY_RESET);
mem_res           207 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, 0, PCIE_NONSTICKY_RESET);
mem_res           214 drivers/pci/controller/dwc/pci-exynos.c 	val = exynos_pcie_readl(ep->mem_res->elbi_base, PCIE_CORE_RESET);
mem_res           217 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, val, PCIE_CORE_RESET);
mem_res           218 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, 1, PCIE_STICKY_RESET);
mem_res           219 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, 1, PCIE_NONSTICKY_RESET);
mem_res           220 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, 1, PCIE_APP_INIT_RESET);
mem_res           221 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, 0, PCIE_APP_INIT_RESET);
mem_res           249 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, 1,
mem_res           260 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, PCIE_ELBI_LTSSM_ENABLE,
mem_res           275 drivers/pci/controller/dwc/pci-exynos.c 	val = exynos_pcie_readl(ep->mem_res->elbi_base, PCIE_IRQ_PULSE);
mem_res           276 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, val, PCIE_IRQ_PULSE);
mem_res           286 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, val, PCIE_IRQ_EN_PULSE);
mem_res           306 drivers/pci/controller/dwc/pci-exynos.c 	val = exynos_pcie_readl(ep->mem_res->elbi_base, PCIE_IRQ_EN_LEVEL);
mem_res           308 drivers/pci/controller/dwc/pci-exynos.c 	exynos_pcie_writel(ep->mem_res->elbi_base, val, PCIE_IRQ_EN_LEVEL);
mem_res           372 drivers/pci/controller/dwc/pci-exynos.c 	val = exynos_pcie_readl(ep->mem_res->elbi_base, PCIE_ELBI_RDLH_LINKUP);
mem_res           101 drivers/pci/controller/dwc/pci-meson.c 	struct meson_pcie_mem_res mem_res;
mem_res           175 drivers/pci/controller/dwc/pci-meson.c 	mp->mem_res.elbi_base = meson_pcie_get_mem(pdev, mp, "elbi");
mem_res           176 drivers/pci/controller/dwc/pci-meson.c 	if (IS_ERR(mp->mem_res.elbi_base))
mem_res           177 drivers/pci/controller/dwc/pci-meson.c 		return PTR_ERR(mp->mem_res.elbi_base);
mem_res           179 drivers/pci/controller/dwc/pci-meson.c 	mp->mem_res.cfg_base = meson_pcie_get_mem(pdev, mp, "cfg");
mem_res           180 drivers/pci/controller/dwc/pci-meson.c 	if (IS_ERR(mp->mem_res.cfg_base))
mem_res           181 drivers/pci/controller/dwc/pci-meson.c 		return PTR_ERR(mp->mem_res.cfg_base);
mem_res           184 drivers/pci/controller/dwc/pci-meson.c 	mp->mem_res.phy_base = meson_pcie_get_mem_shared(pdev, mp, "phy");
mem_res           185 drivers/pci/controller/dwc/pci-meson.c 	if (IS_ERR(mp->mem_res.phy_base))
mem_res           186 drivers/pci/controller/dwc/pci-meson.c 		return PTR_ERR(mp->mem_res.phy_base);
mem_res           193 drivers/pci/controller/dwc/pci-meson.c 	writel(MESON_PCIE_PHY_POWERUP, mp->mem_res.phy_base);
mem_res           270 drivers/pci/controller/dwc/pci-meson.c 	writel(val, mp->mem_res.elbi_base + reg);
mem_res           275 drivers/pci/controller/dwc/pci-meson.c 	return readl(mp->mem_res.elbi_base + reg);
mem_res           280 drivers/pci/controller/dwc/pci-meson.c 	return readl(mp->mem_res.cfg_base + reg);
mem_res           285 drivers/pci/controller/dwc/pci-meson.c 	writel(val, mp->mem_res.cfg_base + reg);
mem_res           510 drivers/pci/controller/dwc/pci-meson.c 	pci->dbi_base = mp->mem_res.elbi_base;
mem_res            99 drivers/pci/controller/pci-rcar-gen2.c 	struct resource mem_res;
mem_res           252 drivers/pci/controller/pci-rcar-gen2.c 	val = priv->mem_res.start | RCAR_AHBPCI_WIN_CTR_MEM;
mem_res           278 drivers/pci/controller/pci-rcar-gen2.c 	pci_add_resource(&sys->resources, &priv->mem_res);
mem_res           338 drivers/pci/controller/pci-rcar-gen2.c 	struct resource *cfg_res, *mem_res;
mem_res           349 drivers/pci/controller/pci-rcar-gen2.c 	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 1);
mem_res           350 drivers/pci/controller/pci-rcar-gen2.c 	if (!mem_res || !mem_res->start)
mem_res           353 drivers/pci/controller/pci-rcar-gen2.c 	if (mem_res->start & 0xFFFF)
mem_res           360 drivers/pci/controller/pci-rcar-gen2.c 	priv->mem_res = *mem_res;
mem_res           463 drivers/pci/controller/pcie-cadence-ep.c 	pcie->mem_res = res;
mem_res           505 drivers/pci/controller/pcie-cadence-ep.c 	ret = pci_epc_mem_init(epc, pcie->mem_res->start,
mem_res           506 drivers/pci/controller/pcie-cadence-ep.c 			       resource_size(pcie->mem_res));
mem_res           140 drivers/pci/controller/pcie-cadence-host.c 	struct resource *mem_res = pcie->mem_res;
mem_res           160 drivers/pci/controller/pcie-cadence-host.c 	cpu_addr = cfg_res->start - mem_res->start;
mem_res           290 drivers/pci/controller/pcie-cadence-host.c 	pcie->mem_res = res;
mem_res            76 drivers/pci/controller/pcie-cadence.c 	cpu_addr -= pcie->mem_res->start;
mem_res           103 drivers/pci/controller/pcie-cadence.c 	cpu_addr -= pcie->mem_res->start;
mem_res           233 drivers/pci/controller/pcie-cadence.h 	struct resource		*mem_res;
mem_res            82 drivers/pci/controller/pcie-rockchip-ep.c 	cpu_addr -= rockchip->mem_res->start;
mem_res           617 drivers/pci/controller/pcie-rockchip-ep.c 	err = pci_epc_mem_init(epc, rockchip->mem_res->start,
mem_res           618 drivers/pci/controller/pcie-rockchip-ep.c 			       resource_size(rockchip->mem_res));
mem_res            41 drivers/pci/controller/pcie-rockchip.c 		rockchip->mem_res =
mem_res            44 drivers/pci/controller/pcie-rockchip.c 		if (!rockchip->mem_res)
mem_res           315 drivers/pci/controller/pcie-rockchip.h 	struct resource *mem_res;
mem_res          1020 drivers/spi/spi-s3c64xx.c 	struct resource	*mem_res;
mem_res          1038 drivers/spi/spi-s3c64xx.c 	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mem_res          1039 drivers/spi/spi-s3c64xx.c 	if (mem_res == NULL) {
mem_res          1064 drivers/spi/spi-s3c64xx.c 	sdd->sfr_start = mem_res->start;
mem_res          1099 drivers/spi/spi-s3c64xx.c 	sdd->regs = devm_ioremap_resource(&pdev->dev, mem_res);
mem_res          1206 drivers/spi/spi-s3c64xx.c 					mem_res, (FIFO_LVL_MASK(sdd) >> 1) + 1);
mem_res           952 drivers/staging/media/imx/imx7-mipi-csis.c 	struct resource *mem_res;
mem_res           977 drivers/staging/media/imx/imx7-mipi-csis.c 	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mem_res           978 drivers/staging/media/imx/imx7-mipi-csis.c 	state->regs = devm_ioremap_resource(dev, mem_res);
mem_res           625 drivers/tty/serial/ar933x_uart.c 	struct resource *mem_res;
mem_res           668 drivers/tty/serial/ar933x_uart.c 	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mem_res           669 drivers/tty/serial/ar933x_uart.c 	port->membase = devm_ioremap_resource(&pdev->dev, mem_res);
mem_res           683 drivers/tty/serial/ar933x_uart.c 	port->mapbase = mem_res->start;
mem_res           192 drivers/usb/isp1760/isp1760-if.c 	struct resource *mem_res;
mem_res           196 drivers/usb/isp1760/isp1760-if.c 	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mem_res           246 drivers/usb/isp1760/isp1760-if.c 	ret = isp1760_register(mem_res, irq_res->start, irqflags, &pdev->dev,
mem_res           658 drivers/vlynq/vlynq.c 	struct resource *regs_res, *mem_res, *irq_res;
mem_res           665 drivers/vlynq/vlynq.c 	mem_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mem");
mem_res           666 drivers/vlynq/vlynq.c 	if (!mem_res)
mem_res           689 drivers/vlynq/vlynq.c 	dev->mem_start = mem_res->start;
mem_res           690 drivers/vlynq/vlynq.c 	dev->mem_end = mem_res->end;
mem_res           484 sound/soc/samsung/pcm.c 	struct resource *mem_res;
mem_res           510 sound/soc/samsung/pcm.c 	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mem_res           511 sound/soc/samsung/pcm.c 	pcm->regs = devm_ioremap_resource(&pdev->dev, mem_res);
mem_res           537 sound/soc/samsung/pcm.c 	s3c_pcm_stereo_in[pdev->id].addr = mem_res->start + S3C_PCM_RXFIFO;
mem_res           538 sound/soc/samsung/pcm.c 	s3c_pcm_stereo_out[pdev->id].addr = mem_res->start + S3C_PCM_TXFIFO;
mem_res           357 sound/soc/samsung/spdif.c 	struct resource *mem_res;
mem_res           366 sound/soc/samsung/spdif.c 	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mem_res           367 sound/soc/samsung/spdif.c 	if (!mem_res) {
mem_res           404 sound/soc/samsung/spdif.c 	if (!request_mem_region(mem_res->start,
mem_res           405 sound/soc/samsung/spdif.c 				resource_size(mem_res), "samsung-spdif")) {
mem_res           411 sound/soc/samsung/spdif.c 	spdif->regs = ioremap(mem_res->start, 0x100);
mem_res           419 sound/soc/samsung/spdif.c 	spdif_stereo_out.addr = mem_res->start + DATA_OUTBUF;
mem_res           447 sound/soc/samsung/spdif.c 	release_mem_region(mem_res->start, resource_size(mem_res));
mem_res           459 sound/soc/samsung/spdif.c 	struct resource *mem_res;
mem_res           463 sound/soc/samsung/spdif.c 	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mem_res           464 sound/soc/samsung/spdif.c 	if (mem_res)
mem_res           465 sound/soc/samsung/spdif.c 		release_mem_region(mem_res->start, resource_size(mem_res));