resource_size     192 arch/arm/common/scoop.c 	devptr->base = ioremap(mem->start, resource_size(mem));
resource_size     452 arch/arm/mach-imx/pm-imx6.c 	base->vbase = ioremap(res.start, resource_size(&res));
resource_size      82 arch/arm/mach-mmp/sram.c 	if (!resource_size(res))
resource_size      86 arch/arm/mach-mmp/sram.c 	info->sram_size   = resource_size(res);
resource_size      94 arch/arm/mach-mv78xx0/pcie.c 					    pp->res.start, resource_size(&pp->res));
resource_size      53 arch/arm/mach-mvebu/cpu-reset.c 	if (!request_mem_region(res.start, resource_size(&res),
resource_size      59 arch/arm/mach-mvebu/cpu-reset.c 	cpu_reset_base = ioremap(res.start, resource_size(&res));
resource_size      62 arch/arm/mach-mvebu/cpu-reset.c 		release_mem_region(res.start, resource_size(&res));
resource_size      66 arch/arm/mach-mvebu/cpu-reset.c 	cpu_reset_size = resource_size(&res);
resource_size     146 arch/arm/mach-mvebu/platsmp.c 	    resource_size(&res) != AXP_BOOTROM_SIZE)
resource_size     252 arch/arm/mach-mvebu/pm.c 	if (!request_mem_region(res.start, resource_size(&res),
resource_size     258 arch/arm/mach-mvebu/pm.c 	sdram_ctrl = ioremap(res.start, resource_size(&res));
resource_size     260 arch/arm/mach-mvebu/pm.c 		release_mem_region(res.start, resource_size(&res));
resource_size     185 arch/arm/mach-mvebu/pmsu.c 	if (!request_mem_region(res.start, resource_size(&res),
resource_size     194 arch/arm/mach-mvebu/pmsu.c 	pmsu_mp_base = ioremap(res.start, resource_size(&res));
resource_size     197 arch/arm/mach-mvebu/pmsu.c 		release_mem_region(res.start, resource_size(&res));
resource_size     324 arch/arm/mach-omap1/dma.c 	dma_base = ioremap(res[0].start, resource_size(&res[0]));
resource_size     245 arch/arm/mach-omap1/gpio16xx.c 		base = ioremap(res->start, resource_size(res));
resource_size     345 arch/arm/mach-omap2/cm_common.c 		data->mem = ioremap(res.start, resource_size(&res));
resource_size     264 arch/arm/mach-omap2/dma.c 	dma_base = ioremap(mem->start, resource_size(mem));
resource_size    2349 arch/arm/mach-omap2/omap_hwmod.c 		va_start = ioremap(res.start, resource_size(&res));
resource_size     758 arch/arm/mach-omap2/prm_common.c 		data->mem = ioremap(res.start, resource_size(&res));
resource_size     304 arch/arm/mach-pxa/pxa3xx-ulpi.c         r = request_mem_region(r->start, resource_size(r), pdev->name);
resource_size     311 arch/arm/mach-pxa/pxa3xx-ulpi.c 	u2d->mmio_base = ioremap(r->start, resource_size(r));
resource_size     341 arch/arm/mach-pxa/pxa3xx-ulpi.c 	release_mem_region(r->start, resource_size(r));
resource_size     365 arch/arm/mach-pxa/pxa3xx-ulpi.c 	release_mem_region(r->start, resource_size(r));
resource_size     181 arch/arm/mach-rockchip/platsmp.c 	rsize = resource_size(&res);
resource_size     192 arch/arm/mach-shmobile/platsmp-apmu.c 	apmu_cpus[cpu].iomem = ioremap_nocache(res->start, resource_size(res));
resource_size      84 arch/arm/mach-shmobile/pm-rcar-gen2.c 	    resource_size(&res) < shmobile_boot_size) {
resource_size      89 arch/arm/mach-shmobile/pm-rcar-gen2.c 	p = ioremap(res.start, resource_size(&res));
resource_size      96 arch/arm/mach-shmobile/pm-rcar-gen2.c 	if (resource_size(&res) >= shmobile_boot_size_gen2) {
resource_size     902 arch/arm/mach-sunxi/mc_smp.c 	release_mem_region(res.start, resource_size(&res));
resource_size     906 arch/arm/mach-sunxi/mc_smp.c 	release_mem_region(res.start, resource_size(&res));
resource_size    1769 arch/arm/mm/cache-l2x0.c 	l2x0_base = ioremap(res.start, resource_size(&res));
resource_size     111 arch/arm/plat-omap/debug-leds.c 	fpga = ioremap(iomem->start, resource_size(iomem));
resource_size     133 arch/arm/plat-pxa/ssp.c 	res = devm_request_mem_region(dev, res->start, resource_size(res),
resource_size     142 arch/arm/plat-pxa/ssp.c 	ssp->mmio_base = devm_ioremap(dev, res->start, resource_size(res));
resource_size      71 arch/arm/plat-samsung/pm-check.c 	u32 size = (u32)resource_size(res);
resource_size     255 arch/arm64/kernel/setup.c 		phys_addr_t r_start, r_end, mem_size = resource_size(mem);
resource_size     479 arch/arm64/mm/mmu.c 				    resource_size(&crashk_res));
resource_size     520 arch/arm64/mm/mmu.c 				     resource_size(&crashk_res));
resource_size     173 arch/hexagon/kernel/time.c 	rtos_timer = ioremap(resource->start, resource_size(resource));
resource_size     176 arch/hexagon/kernel/time.c 		release_mem_region(resource->start, resource_size(resource));
resource_size     252 arch/ia64/pci/pci.c 				if (resource_size(res) <= 16) {
resource_size     107 arch/m68k/amiga/chipram.c 	size = resource_size(res);
resource_size     130 arch/m68k/atari/stram.c 				resource_size(&stram_pool)) - stram_pool.start;
resource_size     198 arch/m68k/atari/stram.c 	size = resource_size(res);
resource_size      80 arch/microblaze/pci/pci-common.c 	return resource_size(&hose->io_resource);
resource_size     543 arch/mips/cavium-octeon/octeon-usb.c 						resource_size(res));
resource_size     209 arch/mips/lantiq/falcon/sysctrl.c 	if ((request_mem_region(res_status.start, resource_size(&res_status),
resource_size     211 arch/mips/lantiq/falcon/sysctrl.c 		(request_mem_region(res_ebu.start, resource_size(&res_ebu),
resource_size     214 arch/mips/lantiq/falcon/sysctrl.c 				resource_size(&res_sys[0]),
resource_size     217 arch/mips/lantiq/falcon/sysctrl.c 				resource_size(&res_sys[1]),
resource_size     220 arch/mips/lantiq/falcon/sysctrl.c 				resource_size(&res_sys[2]),
resource_size     225 arch/mips/lantiq/falcon/sysctrl.c 					resource_size(&res_status));
resource_size     227 arch/mips/lantiq/falcon/sysctrl.c 					resource_size(&res_ebu));
resource_size     234 arch/mips/lantiq/falcon/sysctrl.c 						resource_size(&res_sys[i]));
resource_size     348 arch/mips/lantiq/irq.c 		if (!request_mem_region(res.start, resource_size(&res),
resource_size     353 arch/mips/lantiq/irq.c 					resource_size(&res));
resource_size     401 arch/mips/lantiq/irq.c 		if (!request_mem_region(res.start, resource_size(&res),
resource_size     406 arch/mips/lantiq/irq.c 							resource_size(&res));
resource_size     426 arch/mips/lantiq/xway/sysctrl.c 	if (!request_mem_region(res_pmu.start, resource_size(&res_pmu),
resource_size     428 arch/mips/lantiq/xway/sysctrl.c 		!request_mem_region(res_cgu.start, resource_size(&res_cgu),
resource_size     430 arch/mips/lantiq/xway/sysctrl.c 		!request_mem_region(res_ebu.start, resource_size(&res_ebu),
resource_size     434 arch/mips/lantiq/xway/sysctrl.c 	pmu_membase = ioremap_nocache(res_pmu.start, resource_size(&res_pmu));
resource_size     436 arch/mips/lantiq/xway/sysctrl.c 						resource_size(&res_cgu));
resource_size     438 arch/mips/lantiq/xway/sysctrl.c 						resource_size(&res_ebu));
resource_size     393 arch/mips/pci/pci-alchemy.c 	if (!request_mem_region(r->start, resource_size(r), pdev->name)) {
resource_size     412 arch/mips/pci/pci-alchemy.c 	ctx->regs = ioremap_nocache(r->start, resource_size(r));
resource_size     499 arch/mips/pci/pci-alchemy.c 	release_mem_region(r->start, resource_size(r));
resource_size     217 arch/mips/pci/pci-rc32434.c 			      resource_size(&rc32434_res_pci_io1));
resource_size     295 arch/mips/pci/pci-vr41xx.c 				      resource_size(res));
resource_size      51 arch/mips/pci/pci.c 	phys_addr_t size = resource_size(rsrc);
resource_size     164 arch/mips/ralink/irq.c 	if (!request_mem_region(res.start, resource_size(&res),
resource_size     169 arch/mips/ralink/irq.c 					resource_size(&res));
resource_size      42 arch/mips/ralink/of.c 				resource_size(&res),
resource_size      46 arch/mips/ralink/of.c 	return ioremap_nocache(res.start, resource_size(&res));
resource_size     195 arch/mips/rb532/gpio.c 	rb532_gpio_chip->regbase = ioremap_nocache(r->start, resource_size(r));
resource_size     938 arch/mips/txx9/generic/setup.c 	size = resource_size(r);
resource_size      33 arch/nds32/kernel/atl2c.c 	atl2c_base = ioremap(res.start, resource_size(&res));
resource_size      80 arch/powerpc/include/asm/macio.h 	return resource_size(res);
resource_size     136 arch/powerpc/kernel/machine_kexec.c 	crash_size = resource_size(&crashk_res);
resource_size     247 arch/powerpc/kernel/machine_kexec.c 		crashk_size = cpu_to_be_ulong(resource_size(&crashk_res));
resource_size     275 arch/powerpc/kernel/pci-common.c 	return resource_size(&hose->io_resource);
resource_size     144 arch/powerpc/platforms/4xx/hsta_msi.c 	ppc4xx_hsta_msi.data = ioremap(mem->start, resource_size(mem));
resource_size     190 arch/powerpc/platforms/4xx/pci.c 	hose->dma_window_size = resource_size(res);
resource_size     274 arch/powerpc/platforms/4xx/pci.c 					     resource_size(res),
resource_size     299 arch/powerpc/platforms/4xx/pci.c 	resource_size_t size = resource_size(res);
resource_size     357 arch/powerpc/platforms/4xx/pci.c 	reg = ioremap(rsrc_reg.start, resource_size(&rsrc_reg));
resource_size     473 arch/powerpc/platforms/4xx/pci.c 					      resource_size(res),
resource_size     500 arch/powerpc/platforms/4xx/pci.c 	resource_size_t size = resource_size(res);
resource_size     563 arch/powerpc/platforms/4xx/pci.c 	reg = ioremap(rsrc_reg.start, resource_size(&rsrc_reg));
resource_size    1810 arch/powerpc/platforms/4xx/pci.c 					       resource_size(res),
resource_size    1845 arch/powerpc/platforms/4xx/pci.c 	resource_size_t size = resource_size(res);
resource_size     448 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	lpbfifo.regs_size = resource_size(&r);
resource_size     267 arch/powerpc/platforms/52xx/mpc52xx_pci.c 							resource_size(res)));
resource_size     281 arch/powerpc/platforms/52xx/mpc52xx_pci.c 							resource_size(res)));
resource_size     303 arch/powerpc/platforms/52xx/mpc52xx_pci.c 						resource_size(res)));
resource_size     405 arch/powerpc/platforms/52xx/mpc52xx_pci.c 	pci_regs = ioremap(rsrc.start, resource_size(&rsrc));
resource_size      65 arch/powerpc/platforms/83xx/mpc832x_mds.c 		bcsr_regs = ioremap(res.start, resource_size(&res));
resource_size      51 arch/powerpc/platforms/83xx/mpc834x_mds.c 		bcsr_regs = ioremap(res.start, resource_size(&res));
resource_size      73 arch/powerpc/platforms/83xx/mpc836x_mds.c 		bcsr_regs = ioremap(res.start, resource_size(&res));
resource_size     169 arch/powerpc/platforms/83xx/usb.c 	usb_regs = ioremap(res.start, resource_size(&res));
resource_size     105 arch/powerpc/platforms/85xx/xes_mpc85xx.c 		l2_base = ioremap(r[0].start, resource_size(&r[0]));
resource_size     154 arch/powerpc/platforms/8xx/cpm1.c 	cpic_reg = ioremap(res.start, resource_size(&res));
resource_size     146 arch/powerpc/platforms/8xx/pic.c 	siu_reg = ioremap(res.start, resource_size(&res));
resource_size     202 arch/powerpc/platforms/cell/spu_manage.c 	len = resource_size(&resource);
resource_size     146 arch/powerpc/platforms/chrp/pci.c 	Hydra = ioremap(r.start, resource_size(&r));
resource_size     145 arch/powerpc/platforms/embedded6xx/flipper-pic.c 	io_base = ioremap(res.start, resource_size(&res));
resource_size     170 arch/powerpc/platforms/embedded6xx/hlwd-pic.c 	io_base = ioremap(res.start, resource_size(&res));
resource_size      90 arch/powerpc/platforms/embedded6xx/wii.c 	hw_regs = ioremap(res.start, resource_size(&res));
resource_size     327 arch/powerpc/platforms/maple/setup.c 	mem = ioremap(r.start, resource_size(&r));
resource_size     565 arch/powerpc/platforms/pasemi/dma_lib.c 	dma_status = ioremap_cache(res.start, resource_size(&res));
resource_size     578 arch/powerpc/platforms/powermac/nvram.c 		s1 = resource_size(&r1);
resource_size     581 arch/powerpc/platforms/powermac/nvram.c 			s2 = resource_size(&r2);
resource_size     721 arch/powerpc/platforms/powermac/pci.c 	hose->cfg_addr = ioremap(self_res.start, resource_size(&self_res));
resource_size    1210 arch/powerpc/platforms/powermac/pci.c 		if (!region || resource_size(r) > resource_size(region))
resource_size     186 arch/powerpc/platforms/powermac/time.c 	via = ioremap(rsrc.start, resource_size(&rsrc));
resource_size     489 arch/powerpc/platforms/powernv/pci-ioda.c 	phb->ioda.m64_size = resource_size(res);
resource_size    1392 arch/powerpc/platforms/powernv/pci-ioda.c 				size = resource_size(res);
resource_size    3750 arch/powerpc/platforms/powernv/pci-ioda.c 		phb->regs = ioremap(r.start, resource_size(&r));
resource_size    3771 arch/powerpc/platforms/powernv/pci-ioda.c 	phb->ioda.m32_size = resource_size(&hose->mem_resources[0]);
resource_size      48 arch/powerpc/platforms/pseries/hotplug-memory.c 				memzero_size = resource_size(&r);
resource_size      62 arch/powerpc/platforms/pseries/hotplug-memory.c 					memblock_size = resource_size(&r);
resource_size     289 arch/powerpc/sysdev/dart_iommu.c 	dart = ioremap(r.start, resource_size(&r));
resource_size     443 arch/powerpc/sysdev/fsl_msi.c 		msi->msi_regs = ioremap(res.start, resource_size(&res));
resource_size     149 arch/powerpc/sysdev/fsl_pci.c 	resource_size_t size = resource_size(res);
resource_size     272 arch/powerpc/sysdev/fsl_pci.c 				 (u64)resource_size(&hose->io_resource),
resource_size     560 arch/powerpc/sysdev/fsl_pci.c 		 (u64)rsrc.start, (u64)resource_size(&rsrc));
resource_size     562 arch/powerpc/sysdev/fsl_pci.c 	pci = hose->private_data = ioremap(rsrc.start, resource_size(&rsrc));
resource_size     760 arch/powerpc/sysdev/fsl_pci.c 	pcie->cfg_type0 = ioremap(reg->start, resource_size(reg));
resource_size     470 arch/powerpc/sysdev/fsl_rio.c 	rio_regs_win = ioremap(regs.start, resource_size(&regs));
resource_size     510 arch/powerpc/sysdev/fsl_rio.c 	rmu_regs_win = ioremap(rmu_regs.start, resource_size(&rmu_regs));
resource_size     720 arch/powerpc/sysdev/ipic.c 	ipic->regs = ioremap(res.start, resource_size(&res));
resource_size     119 arch/powerpc/sysdev/mmio_nvram.c 	mmio_nvram_len = resource_size(&r);
resource_size     194 arch/powerpc/sysdev/mpic_msgr.c 	msgr_block_addr = ioremap(rsrc.start, resource_size(&rsrc));
resource_size     124 arch/powerpc/sysdev/simple_gpio.c 		switch (resource_size(&r)) {
resource_size     307 arch/powerpc/sysdev/xics/icp-native.c 		if (icp_native_map_one_cpu(*indx, r.start, resource_size(&r)))
resource_size     576 arch/powerpc/sysdev/xive/native.c 	tima = ioremap(r.start, resource_size(&r));
resource_size     803 arch/powerpc/sysdev/xive/spapr.c 	tima = ioremap(r.start, resource_size(&r));
resource_size     158 arch/riscv/mm/sifive_l2_cache.c 	l2_base = ioremap(res.start, resource_size(&res));
resource_size     197 arch/s390/kernel/machine_kexec.c 	size = resource_size(&crashk_res);
resource_size     552 arch/s390/kernel/setup.c 		memblock_add_node(crashk_res.start, resource_size(&crashk_res), 0);
resource_size     553 arch/s390/kernel/setup.c 		memblock_reserve(crashk_res.start, resource_size(&crashk_res));
resource_size     619 arch/s390/kernel/setup.c 	if (arg->start_pfn < PFN_DOWN(resource_size(&crashk_res)))
resource_size      99 arch/sh/drivers/heartbeat.c 	hd->base = ioremap_nocache(res->start, resource_size(res));
resource_size      66 arch/sh/drivers/pci/fixups-dreamcast.c 						resource_size(&res)));
resource_size     362 arch/sh/drivers/pci/pci-sh7780.c 		size = resource_size(res);
resource_size     462 arch/sh/drivers/pci/pcie-sh7786.c 		size = resource_size(res);
resource_size      57 arch/sh/kernel/io_trapped.c 		len += roundup(resource_size(res), PAGE_SIZE);
resource_size      84 arch/sh/kernel/io_trapped.c 		len += roundup(resource_size(res), PAGE_SIZE);
resource_size     127 arch/sh/kernel/io_trapped.c 			len = resource_size(res);
resource_size     172 arch/sh/kernel/io_trapped.c 		len = roundup(resource_size(res), PAGE_SIZE);
resource_size     168 arch/sh/kernel/machine_kexec.c 	crash_size = PAGE_ALIGN(resource_size(&crashk_res));
resource_size      76 arch/sparc/kernel/apc.c 	of_iounmap(&op->resource[0], regs, resource_size(&op->resource[0]));
resource_size     148 arch/sparc/kernel/apc.c 			  resource_size(&op->resource[0]), APC_OBPNAME);
resource_size      75 arch/sparc/kernel/central.c 					resource_size(&op->resource[0]),
resource_size      83 arch/sparc/kernel/central.c 				   resource_size(&op->resource[1]),
resource_size      92 arch/sparc/kernel/central.c 					      resource_size(&op->resource[2]),
resource_size     130 arch/sparc/kernel/central.c 			   resource_size(&op->resource[2]));
resource_size     134 arch/sparc/kernel/central.c 		   resource_size(&op->resource[1]));
resource_size     138 arch/sparc/kernel/central.c 		   resource_size(&op->resource[0]));
resource_size     175 arch/sparc/kernel/central.c 			      resource_size(&op->resource[0]),
resource_size     242 arch/sparc/kernel/central.c 	of_iounmap(&op->resource[0], p->pregs, resource_size(&op->resource[0]));
resource_size     230 arch/sparc/kernel/ioport.c 	srmmu_mapiorange(bus, pa, res->start, resource_size(res));
resource_size     242 arch/sparc/kernel/ioport.c 	plen = resource_size(res);
resource_size     284 arch/sparc/kernel/ioport.c 	if (resource_size(res) != size) {
resource_size     286 arch/sparc/kernel/ioport.c 			__func__, (long)resource_size(res), size);
resource_size     704 arch/sparc/kernel/leon_pci_grpci2.c 			  resource_size(&ofdev->resource[0]),
resource_size     886 arch/sparc/kernel/leon_pci_grpci2.c 		resource_size(&ofdev->resource[0]));
resource_size      50 arch/sparc/kernel/of_device_common.c 	return of_ioremap(r, 0, resource_size(r), (char *) r->name);
resource_size     770 arch/sparc/kernel/pci.c 		space_size = resource_size(&pbm->io_space);
resource_size     772 arch/sparc/kernel/pci.c 		space_size = resource_size(&pbm->mem_space);
resource_size      60 arch/sparc/kernel/pmc.c 			  resource_size(&op->resource[0]), PMC_OBPNAME);
resource_size     312 arch/x86/kernel/crash.c 	ei.size = resource_size(res);
resource_size     417 arch/x86/kernel/crash.c 	image->arch.backup_src_sz = resource_size(res);
resource_size      47 arch/x86/kernel/machine_kexec_64.c 	mend = mstart + resource_size(res) - 1;
resource_size    1542 arch/x86/kernel/pci-calgary_64.c 		npages = resource_size(r) >> PAGE_SHIFT;
resource_size     161 arch/x86/kernel/probe_roms.c 	return ioremap(oprom->start, resource_size(oprom));
resource_size     175 arch/x86/kernel/probe_roms.c 	return oprom ? resource_size(oprom) : 0;
resource_size     239 arch/x86/kernel/probe_roms.c 		length = resource_size(&extension_rom_resource);
resource_size     452 arch/x86/pci/mmconfig-shared.c 	u64 size = resource_size(&cfg->res);
resource_size     624 arch/x86/pci/mmconfig-shared.c 		rc = func(cfg->res.start, resource_size(&cfg->res), data);
resource_size     103 drivers/acpi/acpi_apd.c 					      resource_size(rentry->res));
resource_size     662 drivers/acpi/acpi_lpss.c 				pdata->mmio_size = resource_size(rentry->res);
resource_size    2826 drivers/acpi/nfit/core.c 	is_pmem = region_intersects(nd_res->start, resource_size(nd_res),
resource_size    1471 drivers/acpi/osl.c 	length = resource_size(res);
resource_size     221 drivers/acpi/pci_mcfg.c 		res.end = res.start + (resource_size(bus_res) << 20) - 1;
resource_size     745 drivers/acpi/pci_root.c 	resource_size_t length = resource_size(res);
resource_size     389 drivers/amba/bus.c 	size = resource_size(&dev->res);
resource_size     793 drivers/amba/bus.c 	size = resource_size(&dev->res);
resource_size     811 drivers/amba/bus.c 	size = resource_size(&dev->res);
resource_size     220 drivers/ata/ahci_da850.c 	pwrdn_reg = devm_ioremap(dev, res->start, resource_size(res));
resource_size     993 drivers/ata/ahci_imx.c 					resource_size(phy_res));
resource_size     805 drivers/ata/pata_arasan_cf.c 	if (!devm_request_mem_region(&pdev->dev, res->start, resource_size(res),
resource_size     829 drivers/ata/pata_arasan_cf.c 			resource_size(res));
resource_size     147 drivers/ata/pata_gayle.c 				     resource_size(res), DRV_NAME)) {
resource_size     895 drivers/ata/pata_octeon_cf.c 									 resource_size(res_dma));
resource_size     913 drivers/ata/pata_octeon_cf.c 					   resource_size(res_cs1));
resource_size     929 drivers/ata/pata_octeon_cf.c 				   resource_size(res_cs0));
resource_size     238 drivers/ata/pata_pcmcia.c 	if (resource_size(pdev->resource[0]) >= 0x20)
resource_size     153 drivers/ata/pata_platform.c 				resource_size(io_res));
resource_size     155 drivers/ata/pata_platform.c 				resource_size(ctl_res));
resource_size     158 drivers/ata/pata_platform.c 				resource_size(io_res));
resource_size     160 drivers/ata/pata_platform.c 				resource_size(ctl_res));
resource_size     223 drivers/ata/pata_pxa.c 						resource_size(cmd_res));
resource_size     225 drivers/ata/pata_pxa.c 						resource_size(ctl_res));
resource_size     227 drivers/ata/pata_pxa.c 						resource_size(dma_res));
resource_size     144 drivers/ata/pata_rb532_cf.c 				resource_size(res));
resource_size     491 drivers/ata/sata_highbank.c 	hpriv->mmio = devm_ioremap(dev, mem->start, resource_size(mem));
resource_size    4119 drivers/ata/sata_mv.c 				   resource_size(res));
resource_size     285 drivers/auxdisplay/arm-charlcd.c 	lcd->physize = resource_size(res);
resource_size     519 drivers/bcma/driver_pci_host.c 						     resource_size(&pc_host->mem_resource));
resource_size     902 drivers/block/swim.c 	if (!request_mem_region(res->start, resource_size(res), CARDNAME)) {
resource_size     942 drivers/block/swim.c 	release_mem_region(res->start, resource_size(res));
resource_size     971 drivers/block/swim.c 		release_mem_region(res->start, resource_size(res));
resource_size     482 drivers/bus/arm-cci.c 			ports[i].base = ioremap(res.start, resource_size(&res));
resource_size     546 drivers/bus/arm-cci.c 		cci_ctrl_base = ioremap(res.start, resource_size(&res));
resource_size     233 drivers/bus/da8xx-mstpri.c 		if (prio_descr->reg + sizeof(u32) > resource_size(res)) {
resource_size     614 drivers/bus/fsl-mc/dprc-driver.c 		region_size = resource_size(mc_dev->regions);
resource_size     843 drivers/bus/fsl-mc/fsl-mc-bus.c 	mc_portal_size = resource_size(&res);
resource_size     203 drivers/bus/fsl-mc/mc-io.c 	mc_portal_size = resource_size(dpmcp_dev->regions);
resource_size     349 drivers/bus/hisi_lpc.c 	resource_size_t len = resource_size(res);
resource_size    1366 drivers/bus/mvebu-mbus.c 				     resource_size(&mbuswins_res),
resource_size    1368 drivers/bus/mvebu-mbus.c 				     resource_size(&sdramwins_res),
resource_size    1370 drivers/bus/mvebu-mbus.c 				     resource_size(&mbusbridge_res),
resource_size     232 drivers/bus/omap_l3_smx.c 	l3->rt = ioremap(res->start, resource_size(res));
resource_size     652 drivers/bus/ti-sysc.c 	if (resource_size(res) == 8)
resource_size     207 drivers/char/bsr.c 		cur->bsr_len    = resource_size(&res);
resource_size      56 drivers/char/hw_random/nomadik-rng.c 			    resource_size(&dev->res));
resource_size     120 drivers/char/hw_random/timeriomem-rng.c 	if (res->start % 4 != 0 || resource_size(res) < 4) {
resource_size     227 drivers/char/pcmcia/scr24x_cs.c 	if (resource_size(link->resource[PCMCIA_IOPORT_0]) != 0x11)
resource_size     260 drivers/char/pcmcia/scr24x_cs.c 				resource_size(link->resource[PCMCIA_IOPORT_0]));
resource_size     652 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	drvdata->mem_size = resource_size(regs_res);
resource_size     816 drivers/clk/bcm/clk-kona-setup.c 	range = resource_size(&res);
resource_size     557 drivers/clk/clk-npcm7xx.c 	clk_base = ioremap(res.start, resource_size(&res));
resource_size     145 drivers/clk/hisilicon/clk-hi3660-stub.c 	freq_reg = devm_ioremap(dev, res->start, resource_size(res));
resource_size      41 drivers/clk/hisilicon/clk.c 				res->start, resource_size(res));
resource_size     179 drivers/clk/imx/clk-imx8qxp-lpcg.c 	base = devm_ioremap(dev, res->start, resource_size(res));
resource_size      85 drivers/clk/sunxi/clk-simple-gates.c 	release_mem_region(res.start, resource_size(&res));
resource_size     219 drivers/clk/sunxi/clk-sun4i-display.c 	release_mem_region(res.start, resource_size(&res));
resource_size      86 drivers/clk/sunxi/clk-sun4i-pll3.c 	release_mem_region(res.start, resource_size(&res));
resource_size     284 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c 	release_mem_region(res.start, resource_size(&res));
resource_size      82 drivers/clk/sunxi/clk-sun8i-apb0.c 	release_mem_region(res.start, resource_size(&res));
resource_size     103 drivers/clk/sunxi/clk-sun8i-bus-gates.c 	release_mem_region(res.start, resource_size(&res));
resource_size     105 drivers/clk/sunxi/clk-sun8i-mbus.c 	release_mem_region(res.start, resource_size(&res));
resource_size     237 drivers/clk/sunxi/clk-sun9i-cpus.c 	release_mem_region(res.start, resource_size(&res));
resource_size     113 drivers/clk/sunxi/clk-sun9i-mmc.c 	count = DIV_ROUND_UP((resource_size(r)), SUN9I_MMC_WIDTH);
resource_size    1938 drivers/clk/tegra/clk-dfll.c 	td->base = devm_ioremap(td->dev, mem->start, resource_size(mem));
resource_size    1950 drivers/clk/tegra/clk-dfll.c 	td->i2c_base = devm_ioremap(td->dev, mem->start, resource_size(mem));
resource_size    1963 drivers/clk/tegra/clk-dfll.c 					       resource_size(mem));
resource_size    1976 drivers/clk/tegra/clk-dfll.c 	td->lut_base = devm_ioremap(td->dev, mem->start, resource_size(mem));
resource_size    1426 drivers/clocksource/arm_arch_timer.c 	timer_mem->size = resource_size(&res);
resource_size    1456 drivers/clocksource/arm_arch_timer.c 		frame->size = resource_size(&res);
resource_size     904 drivers/clocksource/sh_cmt.c 	cmt->mapbase = ioremap_nocache(mem->start, resource_size(mem));
resource_size     376 drivers/clocksource/sh_mtu2.c 	mtu->mapbase = ioremap_nocache(res->start, resource_size(res));
resource_size     485 drivers/clocksource/sh_tmu.c 	tmu->mapbase = ioremap_nocache(res->start, resource_size(res));
resource_size     258 drivers/clocksource/timer-davinci.c 				resource_size(&timer_cfg->reg),
resource_size     264 drivers/clocksource/timer-davinci.c 	base = ioremap(timer_cfg->reg.start, resource_size(&timer_cfg->reg));
resource_size     229 drivers/clocksource/timer-qcom.c 	cpu0_base = ioremap(res.start + percpu_offset, resource_size(&res));
resource_size     303 drivers/counter/ftm-quaddec.c 	ftm->ftm_base = devm_ioremap(&pdev->dev, io->start, resource_size(io));
resource_size     208 drivers/cpufreq/qcom-cpufreq-hw.c 	base = devm_ioremap(dev, res->start, resource_size(res));
resource_size     526 drivers/crypto/caam/jr.c 	ctrl = devm_ioremap(jrdev, r->start, resource_size(r));
resource_size     240 drivers/crypto/hisilicon/sec/sec_drv.c 	queue->regs = ioremap(res->start, resource_size(res));
resource_size    1023 drivers/crypto/hisilicon/sec/sec_drv.c 					     resource_size(res));
resource_size     403 drivers/crypto/marvell/cesa.c 	if (!res || resource_size(res) < cesa->sram_size)
resource_size    3313 drivers/crypto/talitos.c 	priv->reg = devm_ioremap(dev, res->start, resource_size(res));
resource_size     174 drivers/dax/bus.c 			resource_size(&dax_region->res));
resource_size     245 drivers/dax/bus.c 			|| !IS_ALIGNED(resource_size(res), align))
resource_size     276 drivers/dax/bus.c 	unsigned long long size = resource_size(&dev_dax->region->res);
resource_size     425 drivers/dax/device.c 	if (!devm_request_mem_region(dev, res->start, resource_size(res),
resource_size      45 drivers/dax/kmem.c 	kmem_size = resource_size(res);
resource_size      73 drivers/dax/kmem.c 	rc = add_memory(numa_node, new_res->start, resource_size(new_res));
resource_size      91 drivers/dax/kmem.c 	resource_size_t kmem_size = resource_size(res);
resource_size     222 drivers/devfreq/event/exynos-nocp.c 	exynos_nocp_regmap_config.max_register = resource_size(res) - 4;
resource_size     623 drivers/devfreq/event/exynos-ppmu.c 	exynos_ppmu_regmap_config.max_register = resource_size(res) - 4;
resource_size     769 drivers/dma/altera-msgdma.c 					 resource_size(*res), dev_name(device));
resource_size     776 drivers/dma/altera-msgdma.c 				    resource_size(region));
resource_size    2730 drivers/dma/amba-pl08x.c 	pl08x->base = ioremap(adev->res.start, resource_size(&adev->res));
resource_size    1832 drivers/dma/at_hdmac.c 	size = resource_size(io);
resource_size    2025 drivers/dma/at_hdmac.c 	release_mem_region(io->start, resource_size(io));
resource_size     416 drivers/dma/bestcomm/bestcomm.c 	if (!request_mem_region(res_bcom.start, resource_size(&res_bcom),
resource_size    2641 drivers/dma/coh901318.c 				    resource_size(io),
resource_size    2655 drivers/dma/coh901318.c 	base->virtbase = devm_ioremap(&pdev->dev, io->start, resource_size(io));
resource_size     768 drivers/dma/fsl_raid.c 	re_priv->re_regs = devm_ioremap(dev, res->start, resource_size(res));
resource_size    1279 drivers/dma/iop-adma.c 				resource_size(res), pdev->name))
resource_size    1350 drivers/dma/iop-adma.c 					resource_size(res));
resource_size    1701 drivers/dma/ipu/ipu_idmac.c 	ipu_data.reg_ipu = ioremap(mem_ipu->start, resource_size(mem_ipu));
resource_size    1708 drivers/dma/ipu/ipu_idmac.c 	ipu_data.reg_ic = ioremap(mem_ic->start, resource_size(mem_ic));
resource_size     939 drivers/dma/mpc512x_dma.c 	regs_size = resource_size(&res);
resource_size    1311 drivers/dma/mv_xor.c 					resource_size(res));
resource_size    1320 drivers/dma/mv_xor.c 					     resource_size(res));
resource_size    4060 drivers/dma/ppc4xx/adma.c 	if (!request_mem_region(res.start, resource_size(&res),
resource_size    4094 drivers/dma/ppc4xx/adma.c 	regs = ioremap(res.start, resource_size(&res));
resource_size    4226 drivers/dma/ppc4xx/adma.c 	release_mem_region(res.start, resource_size(&res));
resource_size    4283 drivers/dma/ppc4xx/adma.c 	release_mem_region(res.start, resource_size(&res));
resource_size     124 drivers/dma/qcom/hidma_dbg.c 	sz = resource_size(dmadev->trca_resource);
resource_size     128 drivers/dma/qcom/hidma_dbg.c 	sz = resource_size(dmadev->evca_resource);
resource_size     197 drivers/dma/qcom/hidma_mgmt.c 	mgmtdev->addrsize = resource_size(res);
resource_size     925 drivers/dma/sa11x0-dma.c 	d->base = ioremap(res->start, resource_size(res));
resource_size     886 drivers/dma/sirf-dma.c 	regs_size = resource_size(&res);
resource_size    3138 drivers/dma/ste_dma40.c 	if (request_mem_region(res->start, resource_size(res),
resource_size    3142 drivers/dma/ste_dma40.c 	virtbase = ioremap(res->start, resource_size(res));
resource_size    3148 drivers/dma/ste_dma40.c 		pid |= (readl(virtbase + resource_size(res) - 0x20 + 4 * i)
resource_size    3151 drivers/dma/ste_dma40.c 		cid |= (readl(virtbase + resource_size(res) - 0x10 + 4 * i)
resource_size    3210 drivers/dma/ste_dma40.c 	base->phy_size = resource_size(res);
resource_size    3309 drivers/dma/ste_dma40.c 	release_mem_region(res->start, resource_size(res));
resource_size    3547 drivers/dma/ste_dma40.c 	base->lcpa_size = resource_size(res);
resource_size    3550 drivers/dma/ste_dma40.c 	if (request_mem_region(res->start, resource_size(res),
resource_size    3566 drivers/dma/ste_dma40.c 	base->lcpa_base = ioremap(res->start, resource_size(res));
resource_size    3583 drivers/dma/ste_dma40.c 						resource_size(res));
resource_size    2072 drivers/dma/ti/edma.c 	xbar = devm_ioremap(dev, res.start, resource_size(&res));
resource_size     634 drivers/dma/timb_dma.c 	if (!request_mem_region(iomem->start, resource_size(iomem),
resource_size     647 drivers/dma/timb_dma.c 	td->membase = ioremap(iomem->start, resource_size(iomem));
resource_size     737 drivers/dma/timb_dma.c 	release_mem_region(iomem->start, resource_size(iomem));
resource_size     754 drivers/dma/timb_dma.c 	release_mem_region(iomem->start, resource_size(iomem));
resource_size    1185 drivers/dma/txx9dmac.c 	if (!devm_request_mem_region(&pdev->dev, io->start, resource_size(io),
resource_size    1189 drivers/dma/txx9dmac.c 	ddev->regs = devm_ioremap(&pdev->dev, io->start, resource_size(io));
resource_size    1629 drivers/dma/xgene-dma.c 				     resource_size(res));
resource_size    1643 drivers/dma/xgene-dma.c 				       resource_size(res));
resource_size    1657 drivers/dma/xgene-dma.c 					  resource_size(res));
resource_size    1673 drivers/dma/xgene-dma.c 				       resource_size(res));
resource_size     216 drivers/edac/altera_edac.c 		total_mem += resource_size(&res);
resource_size     792 drivers/edac/altera_edac.c 	if (!devm_request_mem_region(&pdev->dev, r->start, resource_size(r),
resource_size     816 drivers/edac/altera_edac.c 	drvdata->base = devm_ioremap(&pdev->dev, r->start, resource_size(r));
resource_size     258 drivers/edac/aspeed_edac.c 		r.start, resource_size(&r), PAGE_SHIFT);
resource_size     261 drivers/edac/aspeed_edac.c 	nr_pages = resource_size(&r) >> PAGE_SHIFT;
resource_size     149 drivers/edac/cell_edac.c 		nr_pages = resource_size(&r) >> PAGE_SHIFT;
resource_size     932 drivers/edac/cpc925_edac.c 				     resource_size(r),
resource_size     939 drivers/edac/cpc925_edac.c 	vbase = devm_ioremap(&pdev->dev, r->start, resource_size(r));
resource_size    1006 drivers/edac/cpc925_edac.c 	devm_release_mem_region(&pdev->dev, r->start, resource_size(r));
resource_size     522 drivers/edac/fsl_ddr_edac.c 	if (!devm_request_mem_region(&op->dev, r.start, resource_size(&r),
resource_size     530 drivers/edac/fsl_ddr_edac.c 	pdata->mc_vbase = devm_ioremap(&op->dev, r.start, resource_size(&r));
resource_size      75 drivers/edac/highbank_l2_edac.c 				     resource_size(r), dev_name(&pdev->dev))) {
resource_size      81 drivers/edac/highbank_l2_edac.c 	drvdata->base = devm_ioremap(&pdev->dev, r->start, resource_size(r));
resource_size     188 drivers/edac/highbank_mc_edac.c 				     resource_size(r), dev_name(&pdev->dev))) {
resource_size     194 drivers/edac/highbank_mc_edac.c 	base = devm_ioremap(&pdev->dev, r->start, resource_size(r));
resource_size     208 drivers/edac/mpc85xx_edac.c 	if (!devm_request_mem_region(&op->dev, r.start, resource_size(&r),
resource_size     215 drivers/edac/mpc85xx_edac.c 	pdata->pci_vbase = devm_ioremap(&op->dev, r.start, resource_size(&r));
resource_size     523 drivers/edac/mpc85xx_edac.c 	if (!devm_request_mem_region(&op->dev, r.start, resource_size(&r),
resource_size     530 drivers/edac/mpc85xx_edac.c 	pdata->l2_vbase = devm_ioremap(&op->dev, r.start, resource_size(&r));
resource_size      92 drivers/edac/mv64x60_edac.c 	pci_serr = ioremap(r->start, resource_size(r));
resource_size     141 drivers/edac/mv64x60_edac.c 				     resource_size(r),
resource_size     151 drivers/edac/mv64x60_edac.c 					resource_size(r));
resource_size     306 drivers/edac/mv64x60_edac.c 				     resource_size(r),
resource_size     316 drivers/edac/mv64x60_edac.c 					 resource_size(r));
resource_size     473 drivers/edac/mv64x60_edac.c 				     resource_size(r),
resource_size     483 drivers/edac/mv64x60_edac.c 					   resource_size(r));
resource_size     500 drivers/edac/mv64x60_edac.c 				     resource_size(r),
resource_size     510 drivers/edac/mv64x60_edac.c 					   resource_size(r));
resource_size     739 drivers/edac/mv64x60_edac.c 				     resource_size(r),
resource_size     749 drivers/edac/mv64x60_edac.c 				       resource_size(r));
resource_size     766 drivers/firmware/arm_scmi/driver.c 	size = resource_size(&res);
resource_size     943 drivers/firmware/arm_scpi.c 		size = resource_size(&res);
resource_size     134 drivers/firmware/google/coreboot_table.c 	len = resource_size(res);
resource_size     246 drivers/firmware/qemu_fw_cfg.c 	fw_cfg_p_size = resource_size(range);
resource_size     878 drivers/firmware/qemu_fw_cfg.c 				resource_size(&fw_cfg_cmdline_dev->resource[0]),
resource_size     882 drivers/firmware/qemu_fw_cfg.c 				resource_size(&fw_cfg_cmdline_dev->resource[0]),
resource_size     888 drivers/firmware/qemu_fw_cfg.c 				resource_size(&fw_cfg_cmdline_dev->resource[0]),
resource_size     190 drivers/firmware/ti_sci.c 	info->debug_region_size = resource_size(res);
resource_size     497 drivers/fpga/dfl-afu-main.c 				   resource_size(res), res->start,
resource_size     518 drivers/fpga/dfl-afu-main.c 				   resource_size(res), res->start,
resource_size    1300 drivers/fsi/fsi-master-ast-cf.c 	master->cf_mem_size = resource_size(&res);
resource_size     262 drivers/gpio/gpio-ath79.c 	ctrl->base = devm_ioremap_nocache(dev, res->start, resource_size(res));
resource_size     372 drivers/gpio/gpio-brcmstb.c 	int res_num_banks = resource_size(res) / GIO_BANK_SIZE;
resource_size     323 drivers/gpio/gpio-cs5535.c 	if (!devm_request_region(&pdev->dev, res->start, resource_size(res),
resource_size     299 drivers/gpio/gpio-em.c 					resource_size(io[0]));
resource_size     304 drivers/gpio/gpio-em.c 				   resource_size(io[1]));
resource_size     288 drivers/gpio/gpio-htc-egpio.c 					     resource_size(res));
resource_size     449 drivers/gpio/gpio-ich.c 	if (!devm_request_region(dev, res_pm->start, resource_size(res_pm),
resource_size     346 drivers/gpio/gpio-lynxpoint.c 	reg_len = resource_size(io_rc);
resource_size     149 drivers/gpio/gpio-menz127.c 					  resource_size(men_z127_gpio->mem));
resource_size     660 drivers/gpio/gpio-mmio.c 	sz = resource_size(r);
resource_size     735 drivers/gpio/gpio-mmio.c 	sz = resource_size(r);
resource_size     156 drivers/gpio/gpio-sch.c 	if (!devm_request_region(&pdev->dev, res->start, resource_size(res),
resource_size     248 drivers/gpio/gpio-tqmx86.c 	io_base = devm_ioport_map(&pdev->dev, res->start, resource_size(res));
resource_size     259 drivers/gpio/gpio-vx855.c 				 resource_size(res_gpi), MODULE_NAME "_gpi"))
resource_size     264 drivers/gpio/gpio-vx855.c 				 resource_size(res_gpo), MODULE_NAME "_gpo"))
resource_size     175 drivers/gpio/gpio-xgene.c 							resource_size(res));
resource_size     648 drivers/gpu/drm/arm/malidp_drv.c 	resource_size_t res_size = resource_size(res);
resource_size      76 drivers/gpu/drm/armada/armada_drv.c 		if (resource_size(r) > SZ_64K)
resource_size      85 drivers/gpu/drm/armada/armada_drv.c 	if (!devm_request_mem_region(dev, mem->start, resource_size(mem),
resource_size     136 drivers/gpu/drm/armada/armada_drv.c 	drm_mm_init(&priv->linear, mem->start, resource_size(mem));
resource_size     397 drivers/gpu/drm/exynos/exynos_drm_mic.c 	mic->reg = devm_ioremap(dev, res.start, resource_size(&res));
resource_size     806 drivers/gpu/drm/exynos/exynos_mixer.c 							resource_size(res));
resource_size     864 drivers/gpu/drm/exynos/exynos_mixer.c 							resource_size(res));
resource_size     455 drivers/gpu/drm/i915/display/intel_fbc.c 		end = resource_size(&dev_priv->dsm) - 8 * 1024 * 1024;
resource_size     104 drivers/gpu/drm/i915/gem/i915_gem_stolen.c 		if (resource_size(&stolen[0]) > resource_size(&stolen[1]))
resource_size     123 drivers/gpu/drm/i915/gem/i915_gem_stolen.c 				    resource_size(dsm),
resource_size     136 drivers/gpu/drm/i915/gem/i915_gem_stolen.c 					    resource_size(dsm) - 2,
resource_size     379 drivers/gpu/drm/i915/gem/i915_gem_stolen.c 	if (resource_size(&intel_graphics_stolen_res) == 0)
resource_size     461 drivers/gpu/drm/i915/gem/i915_gem_stolen.c 			 (u64)resource_size(&dev_priv->dsm) >> 10,
resource_size     462 drivers/gpu/drm/i915/gem/i915_gem_stolen.c 			 ((u64)resource_size(&dev_priv->dsm) - reserved_total) >> 10);
resource_size     465 drivers/gpu/drm/i915/gem/i915_gem_stolen.c 		resource_size(&dev_priv->dsm) - reserved_total;
resource_size     481 drivers/gpu/drm/i915/gem/i915_gem_stolen.c 	GEM_BUG_ON(range_overflows(offset, size, resource_size(&dev_priv->dsm)));
resource_size    2993 drivers/gpu/drm/i915/i915_gem_gtt.c 	ggtt->mappable_end = resource_size(&ggtt->gmadr);
resource_size    3050 drivers/gpu/drm/i915/i915_gem_gtt.c 	ggtt->mappable_end = resource_size(&ggtt->gmadr);
resource_size    3179 drivers/gpu/drm/i915/i915_gem_gtt.c 			 (u64)resource_size(&intel_graphics_stolen_res) >> 20);
resource_size      41 drivers/gpu/drm/i915/selftests/i915_gem.c 	const resource_size_t size = resource_size(&i915->dsm);
resource_size     106 drivers/gpu/drm/i915/selftests/mock_gtt.c 	ggtt->mappable_end = resource_size(&ggtt->gmadr);
resource_size     229 drivers/gpu/drm/meson/meson_drv.c 	regs = devm_ioremap(dev, res->start, resource_size(res));
resource_size    1200 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	ret = ioremap(res->start, resource_size(res));
resource_size     352 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		cxdbg = ioremap(res->start, resource_size(res));
resource_size      74 drivers/gpu/drm/msm/adreno/adreno_gpu.c 	if (mem_size > resource_size(&r)) {
resource_size      63 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	return resource_size(res);
resource_size     260 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 	dpu_mdss->mmio_len = resource_size(res);
resource_size     139 drivers/gpu/drm/msm/msm_drv.c 	size = resource_size(res);
resource_size     193 drivers/gpu/drm/nouveau/include/nvkm/core/device.h 	resource_size_t (*resource_size)(struct nvkm_device *, unsigned bar);
resource_size    1543 drivers/gpu/drm/nouveau/nouveau_bo.c 	u32 mappable = device->func->resource_size(device, 1) >> PAGE_SHIFT;
resource_size     245 drivers/gpu/drm/nouveau/nouveau_ttm.c 				   device->func->resource_size(device, 1));
resource_size     255 drivers/gpu/drm/nouveau/nouveau_ttm.c 					 device->func->resource_size(device, 1));
resource_size     289 drivers/gpu/drm/nouveau/nouveau_ttm.c 				device->func->resource_size(device, 1));
resource_size    2920 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	mmio_size = device->func->resource_size(device, 0);
resource_size    1616 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c 	.resource_size = nvkm_device_pci_resource_size,
resource_size     210 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c 	return res ? resource_size(res) : 0;
resource_size     270 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c 	.resource_size = nvkm_device_tegra_resource_size,
resource_size     289 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c 	*size = device->func->resource_size(device, 0);
resource_size     300 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 	vramsz = device->func->resource_size(device, 1) - 1;
resource_size     389 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 	vramsz = device->func->resource_size(device, 1) - 1;
resource_size      96 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c 	bar_len = device->func->resource_size(device, bar_nr);
resource_size     130 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	size = device->func->resource_size(device, 3);
resource_size     170 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	size = device->func->resource_size(device, 1);
resource_size      51 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/fbmem.h 				    dev->func->resource_size(dev, 1));
resource_size     251 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	if (device->func->resource_size(device, 2))
resource_size     257 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 				 device->func->resource_size(device, bar));
resource_size    1851 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	vop->len = resource_size(res);
resource_size     207 drivers/gpu/drm/sti/sti_compositor.c 	compo->regs = devm_ioremap(dev, res->start, resource_size(res));
resource_size     537 drivers/gpu/drm/sti/sti_dvo.c 			resource_size(res));
resource_size     761 drivers/gpu/drm/sti/sti_hda.c 	hda->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
resource_size     769 drivers/gpu/drm/sti/sti_hda.c 				resource_size(res));
resource_size    1383 drivers/gpu/drm/sti/sti_hdmi.c 	hdmi->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
resource_size    1370 drivers/gpu/drm/sti/sti_hqvdp.c 	hqvdp->regs = devm_ioremap(dev, res->start, resource_size(res));
resource_size     863 drivers/gpu/drm/sti/sti_tvout.c 	tvout->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
resource_size     396 drivers/gpu/drm/sti/sti_vtg.c 	vtg->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
resource_size     259 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	priv->mmio = ioremap_nocache(res->start, resource_size(res));
resource_size    1106 drivers/hsi/controllers/omap_ssi_port.c 					resource_size(mem), dev_name(&pd->dev));
resource_size    1112 drivers/hsi/controllers/omap_ssi_port.c 	base = devm_ioremap(&port->device, mem->start, resource_size(mem));
resource_size    1991 drivers/hv/vmbus_drv.c 					 resource_size(fb_mmio));
resource_size     948 drivers/hwmon/pc87427.c 					 resource_size(res), DRVNAME)) {
resource_size    1155 drivers/hwmon/vt1211.c 	if (!devm_request_region(dev, res->start, resource_size(res),
resource_size      92 drivers/hwspinlock/omap_hwspinlock.c 	io_base = ioremap(res->start, resource_size(res));
resource_size     103 drivers/hwspinlock/u8500_hsem.c 	io_base = ioremap(res->start, resource_size(res));
resource_size     632 drivers/hwtracing/intel_th/core.c 			res[r].end = resource_size(&devres[bar]) - 1;
resource_size     742 drivers/hwtracing/intel_th/gth.c 	base = devm_ioremap(dev, res->start, resource_size(res));
resource_size    2074 drivers/hwtracing/intel_th/msu.c 	base = devm_ioremap(dev, res->start, resource_size(res));
resource_size     212 drivers/hwtracing/intel_th/pti.c 	base = devm_ioremap(dev, res->start, resource_size(res));
resource_size     200 drivers/hwtracing/intel_th/sth.c 	base = devm_ioremap(dev, res->start, resource_size(res));
resource_size     208 drivers/hwtracing/intel_th/sth.c 	channels = devm_ioremap(dev, res->start, resource_size(res));
resource_size     344 drivers/i2c/busses/i2c-efm32.c 	if (resource_size(res) < 0x42) {
resource_size     372 drivers/i2c/busses/i2c-highlander.c 	dev->base = ioremap_nocache(res->start, resource_size(res));
resource_size     265 drivers/i2c/busses/i2c-isch.c 	if (!devm_request_region(&dev->dev, res->start, resource_size(res),
resource_size     998 drivers/i2c/busses/i2c-nomadik.c 				resource_size(&adev->res));
resource_size    1070 drivers/i2c/busses/i2c-nomadik.c 	release_mem_region(res->start, resource_size(res));
resource_size     632 drivers/i2c/busses/i2c-ocores.c 					 resource_size(res),
resource_size     161 drivers/i2c/busses/i2c-pca-platform.c 	i2c->io_size = resource_size(res);
resource_size     274 drivers/i2c/busses/i2c-pmcmsp.c 	if (!request_mem_region(res->start, resource_size(res),
resource_size     285 drivers/i2c/busses/i2c-pmcmsp.c 						resource_size(res));
resource_size     347 drivers/i2c/busses/i2c-pmcmsp.c 	release_mem_region(res->start, resource_size(res));
resource_size     371 drivers/i2c/busses/i2c-pmcmsp.c 	release_mem_region(res->start, resource_size(res));
resource_size     193 drivers/i2c/busses/i2c-puv3.c 	if (!request_mem_region(mem->start, resource_size(mem), "puv3_i2c"))
resource_size     221 drivers/i2c/busses/i2c-puv3.c 	release_mem_region(mem->start, resource_size(mem));
resource_size     236 drivers/i2c/busses/i2c-puv3.c 	release_mem_region(mem->start, resource_size(mem));
resource_size    1265 drivers/i2c/busses/i2c-pxa.c 	i2c->iosize = resource_size(res);
resource_size     858 drivers/i2c/busses/i2c-sh_mobile.c 	if (resource_size(res) > 0x17)
resource_size      80 drivers/i2c/busses/i2c-simtec.c 	size = resource_size(res);
resource_size     136 drivers/i2c/busses/i2c-simtec.c 	release_mem_region(pd->ioarea->start, resource_size(pd->ioarea));
resource_size     140 drivers/i2c/muxes/i2c-mux-reg.c 		mux->data.reg_size = resource_size(&res);
resource_size     191 drivers/i2c/muxes/i2c-mux-reg.c 		mux->data.reg_size = resource_size(res);
resource_size     531 drivers/ide/au1xxx-ide.c 	if (!request_mem_region(res->start, resource_size(res), dev->name)) {
resource_size     537 drivers/ide/au1xxx-ide.c 	ahwif->regbase = (u32)ioremap(res->start, resource_size(res));
resource_size     581 drivers/ide/au1xxx-ide.c 	release_mem_region(res->start, resource_size(res));
resource_size     132 drivers/ide/gayle.c 	if (!request_mem_region(res->start, resource_size(res), "IDE"))
resource_size     164 drivers/ide/gayle.c 	release_mem_region(res->start, resource_size(res));
resource_size     174 drivers/ide/gayle.c 	release_mem_region(res->start, resource_size(res));
resource_size     228 drivers/ide/ide-cs.c      if (host == NULL && resource_size(link->resource[0]) == 0x20) {
resource_size      79 drivers/ide/ide_platform.c 			res_base->start, resource_size(res_base));
resource_size      81 drivers/ide/ide_platform.c 			res_alt->start, resource_size(res_alt));
resource_size      84 drivers/ide/ide_platform.c 			res_base->start, resource_size(res_base));
resource_size      86 drivers/ide/ide_platform.c 			res_alt->start, resource_size(res_alt));
resource_size     333 drivers/ide/palm_bk3710.c 	mem_size = resource_size(mem);
resource_size     148 drivers/ide/tx4938ide.c 				     resource_size(res), "tx4938ide"))
resource_size     552 drivers/ide/tx4939ide.c 				     resource_size(res), "tx4938ide"))
resource_size     555 drivers/ide/tx4939ide.c 					      resource_size(res));
resource_size      64 drivers/iio/adc/ad7606_par.c 	remap_size = resource_size(res);
resource_size     162 drivers/iio/adc/lpc32xx_adc.c 				    resource_size(res));
resource_size     123 drivers/iio/adc/men_z188_adc.c 	adc->base = ioremap(mem->start, resource_size(mem));
resource_size     715 drivers/iio/adc/mxs-lradc-adc.c 	adc->base = devm_ioremap(dev, iores->start, resource_size(iores));
resource_size     207 drivers/input/keyboard/davinci_keyscan.c 	davinci_ks->base_size = resource_size(res);
resource_size     264 drivers/input/keyboard/ep93xx_keypad.c 	res = request_mem_region(res->start, resource_size(res), pdev->name);
resource_size     270 drivers/input/keyboard/ep93xx_keypad.c 	keypad->mmio_base = ioremap(res->start, resource_size(res));
resource_size     335 drivers/input/keyboard/ep93xx_keypad.c 	release_mem_region(res->start, resource_size(res));
resource_size     359 drivers/input/keyboard/ep93xx_keypad.c 	release_mem_region(res->start, resource_size(res));
resource_size     260 drivers/input/keyboard/nomadik-ske-keypad.c 	if (!request_mem_region(res->start, resource_size(res), pdev->name)) {
resource_size     266 drivers/input/keyboard/nomadik-ske-keypad.c 	keypad->reg_base = ioremap(res->start, resource_size(res));
resource_size     360 drivers/input/keyboard/nomadik-ske-keypad.c 	release_mem_region(res->start, resource_size(res));
resource_size     383 drivers/input/keyboard/nomadik-ske-keypad.c 	release_mem_region(res->start, resource_size(res));
resource_size     260 drivers/input/keyboard/omap4-keypad.c 	res = request_mem_region(res->start, resource_size(res), pdev->name);
resource_size     267 drivers/input/keyboard/omap4-keypad.c 	keypad_data->base = ioremap(res->start, resource_size(res));
resource_size     378 drivers/input/keyboard/omap4-keypad.c 	release_mem_region(res->start, resource_size(res));
resource_size     398 drivers/input/keyboard/omap4-keypad.c 	release_mem_region(res->start, resource_size(res));
resource_size     110 drivers/input/keyboard/pxa930_rotary.c 	r->mmio_base = ioremap_nocache(res->start, resource_size(res));
resource_size     362 drivers/input/keyboard/samsung-keypad.c 	keypad->base = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size     198 drivers/input/keyboard/sh_keysc.c 	priv->iomem_base = ioremap_nocache(res->start, resource_size(res));
resource_size     106 drivers/input/misc/cobalt_btns.c 	bdev->reg = ioremap(res->start, resource_size(res));
resource_size     200 drivers/input/misc/msm-vibrator.c 				     resource_size(res));
resource_size     170 drivers/input/mouse/pxa930_trkball.c 	trkball->mmio_base = ioremap_nocache(res->start, resource_size(res));
resource_size     135 drivers/input/serio/ambakmi.c 	kmi->base	= ioremap(dev->res.start, resource_size(&dev->res));
resource_size     336 drivers/input/serio/sa1111ps2.c 	release_mem_region(dev->res.start, resource_size(&dev->res));
resource_size     352 drivers/input/serio/sa1111ps2.c 	release_mem_region(dev->res.start, resource_size(&dev->res));
resource_size     234 drivers/input/serio/sun4i-ps2.c 	drvdata->reg_base = ioremap(res->start, resource_size(res));
resource_size     269 drivers/input/serio/xilinx_ps2.c 	remap_size = resource_size(&r_mem);
resource_size     344 drivers/input/serio/xilinx_ps2.c 		release_mem_region(r_mem.start, resource_size(&r_mem));
resource_size     229 drivers/input/touchscreen/lpc32xx_ts.c 	size = resource_size(res);
resource_size     316 drivers/input/touchscreen/lpc32xx_ts.c 	release_mem_region(res->start, resource_size(res));
resource_size     274 drivers/input/touchscreen/s3c2410_ts.c 	ts.io = ioremap(res->start, resource_size(res));
resource_size    3604 drivers/iommu/arm-smmu-v3.c 	if (resource_size(res) + 1 < arm_smmu_resource_size(smmu)) {
resource_size    2040 drivers/iommu/arm-smmu.c 	smmu->numpage = resource_size(res);
resource_size     372 drivers/iommu/tegra-gart.c 	gart->savedata = vmalloc(resource_size(res) / GART_PAGE_SIZE *
resource_size     657 drivers/irqchip/irq-armada-370-xp.c 				   resource_size(&main_int_res),
resource_size     660 drivers/irqchip/irq-armada-370-xp.c 				   resource_size(&per_cpu_int_res),
resource_size     664 drivers/irqchip/irq-armada-370-xp.c 				resource_size(&main_int_res));
resource_size     668 drivers/irqchip/irq-armada-370-xp.c 				   resource_size(&per_cpu_int_res));
resource_size     247 drivers/irqchip/irq-bcm6345-l1.c 	sz = resource_size(&res);
resource_size     255 drivers/irqchip/irq-bcm7038-l1.c 	sz = resource_size(&res);
resource_size     231 drivers/irqchip/irq-clps711x.c 	return _clps711x_intc_init(np, res.start, resource_size(&res));
resource_size      88 drivers/irqchip/irq-davinci-aintc.c 				 resource_size(&config->reg),
resource_size      96 drivers/irqchip/irq-davinci-aintc.c 				     resource_size(&config->reg));
resource_size     167 drivers/irqchip/irq-davinci-cp-intc.c 				 resource_size(&config->reg),
resource_size     175 drivers/irqchip/irq-davinci-cp-intc.c 				       resource_size(&config->reg));
resource_size      92 drivers/irqchip/irq-dw-apb-ictl.c 	if (!request_mem_region(r.start, resource_size(&r), np->full_name)) {
resource_size      97 drivers/irqchip/irq-dw-apb-ictl.c 	iobase = ioremap(r.start, resource_size(&r));
resource_size     156 drivers/irqchip/irq-dw-apb-ictl.c 	release_mem_region(r.start, resource_size(&r));
resource_size     336 drivers/irqchip/irq-gic-v2m.c 	v2m->base = ioremap(v2m->res.start, resource_size(&v2m->res));
resource_size    3579 drivers/irqchip/irq-gic-v3-its.c 	its_base = ioremap(res->start, resource_size(res));
resource_size    1283 drivers/irqchip/irq-gic.c 	if (resource_size(&cpuif_res) < SZ_8K) {
resource_size    1329 drivers/irqchip/irq-gic.c 	if (resource_size(&cpuif_res) == SZ_128K) {
resource_size     328 drivers/irqchip/irq-imgpdc.c 				      resource_size(res_regs));
resource_size     344 drivers/irqchip/irq-mbigen.c 				      resource_size(res));
resource_size     710 drivers/irqchip/irq-mips-gic.c 		gic_len = resource_size(&res);
resource_size     168 drivers/irqchip/irq-mtk-sysirq.c 		size = resource_size(&res);
resource_size     165 drivers/irqchip/irq-ompic.c 	if (resource_size(&res) < (num_possible_cpus() * OMPIC_CPUBYTES)) {
resource_size     167 drivers/irqchip/irq-ompic.c 			resource_size(&res),
resource_size     173 drivers/irqchip/irq-ompic.c 	ompic_base = ioremap(res.start, resource_size(&res));
resource_size      82 drivers/irqchip/irq-orion.c 		if (!request_mem_region(r.start, resource_size(&r), np->name))
resource_size      86 drivers/irqchip/irq-orion.c 		gc->reg_base = ioremap(r.start, resource_size(&r));
resource_size     170 drivers/irqchip/irq-orion.c 	if (!request_mem_region(r.start, resource_size(&r), np->name)) {
resource_size     183 drivers/irqchip/irq-orion.c 	gc->reg_base = ioremap(r.start, resource_size(&r));
resource_size     446 drivers/irqchip/irq-renesas-intc-irqpin.c 		switch (resource_size(io[k])) {
resource_size     464 drivers/irqchip/irq-renesas-intc-irqpin.c 						resource_size(io[k]));
resource_size     193 drivers/irqchip/irq-sni-exiu.c 	data->base = ioremap(res->start, resource_size(res));
resource_size     111 drivers/irqchip/irq-tb10x.c 	if (!request_mem_region(mem.start, resource_size(&mem),
resource_size     117 drivers/irqchip/irq-tb10x.c 	reg_base = ioremap(mem.start, resource_size(&mem));
resource_size     181 drivers/irqchip/irq-tb10x.c 	release_mem_region(mem.start, resource_size(&mem));
resource_size      45 drivers/leds/leds-cobalt-qube.c 	led_port = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size      75 drivers/leds/leds-cobalt-raq.c 	led_port = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size     141 drivers/leds/leds-nic78bx.c 	if (resource_size(io_rc) < NIC78BX_USER_LED_IO_SIZE) {
resource_size     146 drivers/leds/leds-nic78bx.c 	if (!devm_request_region(dev, io_rc->start, resource_size(io_rc),
resource_size    1517 drivers/mailbox/bcm-flexrm-mailbox.c 	if (!iomem || (resource_size(iomem) < RING_REGS_SIZE)) {
resource_size    1529 drivers/mailbox/bcm-flexrm-mailbox.c 	regs_end = mbox->regs + resource_size(iomem);
resource_size     365 drivers/mailbox/mailbox-test.c 		size = resource_size(res);
resource_size     375 drivers/mailbox/mailbox-test.c 		size = resource_size(res);
resource_size     134 drivers/mailbox/pl320-ipc.c 	ipc_base = ioremap(adev->res.start, resource_size(&adev->res));
resource_size     208 drivers/mailbox/rockchip-mailbox.c 	mb->buf_size = (size_t)resource_size(res) / (drv_data->num_chans * 2);
resource_size     504 drivers/mailbox/zynqmp-ipi-mailbox.c 		mchan->req_buf_size = resource_size(&res);
resource_size     520 drivers/mailbox/zynqmp-ipi-mailbox.c 		mchan->resp_buf_size = resource_size(&res);
resource_size     543 drivers/mailbox/zynqmp-ipi-mailbox.c 		mchan->req_buf_size = resource_size(&res);
resource_size     559 drivers/mailbox/zynqmp-ipi-mailbox.c 		mchan->resp_buf_size = resource_size(&res);
resource_size     449 drivers/mcb/mcb-core.c 	size = resource_size(&dev->mem);
resource_size     469 drivers/mcb/mcb-core.c 	size = resource_size(mem);
resource_size      39 drivers/mcb/mcb-lpc.c 				      resource_size(priv->mem),
resource_size      47 drivers/mcb/mcb-lpc.c 				  resource_size(priv->mem));
resource_size     880 drivers/media/platform/davinci/dm355_ccdc.c 	res = request_mem_region(res->start, resource_size(res), res->name);
resource_size     886 drivers/media/platform/davinci/dm355_ccdc.c 	ccdc_cfg.base_addr = ioremap_nocache(res->start, resource_size(res));
resource_size     909 drivers/media/platform/davinci/dm355_ccdc.c 	release_mem_region(res->start, resource_size(res));
resource_size     922 drivers/media/platform/davinci/dm355_ccdc.c 		release_mem_region(res->start, resource_size(res));
resource_size     814 drivers/media/platform/davinci/dm644x_ccdc.c 	res = request_mem_region(res->start, resource_size(res), res->name);
resource_size     820 drivers/media/platform/davinci/dm644x_ccdc.c 	ccdc_cfg.base_addr = ioremap_nocache(res->start, resource_size(res));
resource_size     830 drivers/media/platform/davinci/dm644x_ccdc.c 	release_mem_region(res->start, resource_size(res));
resource_size     843 drivers/media/platform/davinci/dm644x_ccdc.c 		release_mem_region(res->start, resource_size(res));
resource_size    1042 drivers/media/platform/davinci/isif.c 		res = request_mem_region(res->start, resource_size(res),
resource_size    1048 drivers/media/platform/davinci/isif.c 		addr = ioremap_nocache(res->start, resource_size(res));
resource_size    1075 drivers/media/platform/davinci/isif.c 	release_mem_region(res->start, resource_size(res));
resource_size    1086 drivers/media/platform/davinci/isif.c 			release_mem_region(res->start, resource_size(res));
resource_size    1104 drivers/media/platform/davinci/isif.c 			release_mem_region(res->start, resource_size(res));
resource_size    1555 drivers/media/platform/davinci/vpbe_osd.c 	osd->osd_size = resource_size(res);
resource_size     270 drivers/media/platform/marvell-ccic/mmp-driver.c 	mcam->regs_size = resource_size(res);
resource_size     100 drivers/media/platform/qcom/venus/firmware.c 	*mem_size = resource_size(&r);
resource_size    1122 drivers/media/platform/sh_veu.c 	veu->is_2h = resource_size(reg_res) == 0x22c;
resource_size     693 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	fei->sram_size = resource_size(res);
resource_size     323 drivers/media/platform/sti/hva/hva-hw.c 	hva->esram_size = resource_size(esram);
resource_size     342 drivers/media/platform/tegra-cec/tegra_cec.c 	if (!devm_request_mem_region(&pdev->dev, res->start, resource_size(res),
resource_size     355 drivers/media/platform/tegra-cec/tegra_cec.c 					     resource_size(res));
resource_size     490 drivers/media/platform/ti-vpe/cal.c 		       resource_size(dev->res), false);
resource_size     497 drivers/media/platform/ti-vpe/cal.c 			       resource_size(dev->ctx[0]->cc->res),
resource_size     506 drivers/media/platform/ti-vpe/cal.c 			       resource_size(dev->ctx[1]->cc->res),
resource_size     514 drivers/media/platform/ti-vpe/cal.c 		       resource_size(dev->cm->res), false);
resource_size    1152 drivers/media/platform/ti-vpe/vpdma.c 	vpdma->base = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size     135 drivers/memory/da8xx-ddrctl.c 		if (knob->reg + sizeof(u32) > resource_size(res)) {
resource_size    1011 drivers/memory/omap-gpmc.c 	r = gpmc_cs_set_memconf(cs, res->start, resource_size(res));
resource_size    2065 drivers/memory/omap-gpmc.c 	ret = gpmc_cs_request(cs, resource_size(&res), &base);
resource_size    2363 drivers/memory/omap-gpmc.c 	mem_size = resource_size(res);
resource_size     248 drivers/memory/pl172.c 				   resource_size(&adev->res));
resource_size     139 drivers/mfd/altera-sysmgr.c 	sysmgr_config.max_register = resource_size(res) -
resource_size     151 drivers/mfd/altera-sysmgr.c 					    resource_size(res));
resource_size     975 drivers/mfd/asic3.c 	asic->mapping = ioremap(mem->start, resource_size(mem));
resource_size     984 drivers/mfd/asic3.c 	asic->bus_shift = 2 - (resource_size(mem) >> 12);
resource_size      40 drivers/mfd/cs5535-mfd.c 	if (!request_region(res->start, resource_size(res), DRV_NAME)) {
resource_size      58 drivers/mfd/cs5535-mfd.c 	release_region(res->start, resource_size(res));
resource_size    2710 drivers/mfd/db8500-prcmu.c 	tcpm_base = ioremap(res->start, resource_size(res));
resource_size    3087 drivers/mfd/db8500-prcmu.c 	prcmu_base = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size    3101 drivers/mfd/db8500-prcmu.c 			resource_size(res));
resource_size     144 drivers/mfd/htc-pasic3.c 	if (!request_mem_region(r->start, resource_size(r), "pasic3"))
resource_size     153 drivers/mfd/htc-pasic3.c 	asic->mapping = ioremap(r->start, resource_size(r));
resource_size     160 drivers/mfd/htc-pasic3.c 	asic->bus_shift = (resource_size(r) - 5) >> 3;
resource_size     193 drivers/mfd/htc-pasic3.c 	release_mem_region(r->start, resource_size(r));
resource_size     454 drivers/mfd/kempld-core.c 					resource_size(ioport));
resource_size     917 drivers/mfd/lpc_ich.c 	if (resource_size(res) >= 0x50 &&
resource_size     169 drivers/mfd/mcp-sa11x0.c 	if (!request_mem_region(mem0->start, resource_size(mem0),
resource_size     175 drivers/mfd/mcp-sa11x0.c 	if (!request_mem_region(mem1->start, resource_size(mem1),
resource_size     195 drivers/mfd/mcp-sa11x0.c 	m->base0 = ioremap(mem0->start, resource_size(mem0));
resource_size     196 drivers/mfd/mcp-sa11x0.c 	m->base1 = ioremap(mem1->start, resource_size(mem1));
resource_size     229 drivers/mfd/mcp-sa11x0.c 	release_mem_region(mem1->start, resource_size(mem1));
resource_size     231 drivers/mfd/mcp-sa11x0.c 	release_mem_region(mem0->start, resource_size(mem0));
resource_size     253 drivers/mfd/mcp-sa11x0.c 	release_mem_region(mem1->start, resource_size(mem1));
resource_size     254 drivers/mfd/mcp-sa11x0.c 	release_mem_region(mem0->start, resource_size(mem0));
resource_size    1420 drivers/mfd/sm501.c 	sm->regs = ioremap(sm->io_res->start, resource_size(sm->io_res));
resource_size     316 drivers/mfd/sta2x11-mfd.c 	if (!request_mem_region(res->start, resource_size(res), name))
resource_size     319 drivers/mfd/sta2x11-mfd.c 	mfd->regs[index] = ioremap(res->start, resource_size(res));
resource_size     321 drivers/mfd/sta2x11-mfd.c 		release_mem_region(res->start, resource_size(res));
resource_size      63 drivers/mfd/syscon.c 	base = ioremap(res.start, resource_size(&res));
resource_size     107 drivers/mfd/syscon.c 	syscon_config.max_register = resource_size(&res) - reg_io_width;
resource_size     245 drivers/mfd/syscon.c 	base = devm_ioremap(dev, res->start, resource_size(res));
resource_size     358 drivers/mfd/t7l66xb.c 	t7l66xb->scr = ioremap(rscr->start, resource_size(rscr));
resource_size     171 drivers/mfd/tc6387xb.c 	tc6387xb->scr = ioremap(rscr->start, resource_size(rscr));
resource_size     650 drivers/mfd/tc6393xb.c 	tc6393xb->scr = ioremap(rscr->start, resource_size(rscr));
resource_size     168 drivers/mfd/vexpress-sysreg.c 	base = devm_ioremap(&pdev->dev, mem->start, resource_size(mem));
resource_size     340 drivers/misc/cs5535-mfgpt.c 	if (!request_region(res->start, resource_size(res), pdev->name)) {
resource_size      74 drivers/misc/pvpanic.c 		base = ioport_map(r.start, resource_size(&r));
resource_size      80 drivers/misc/pvpanic.c 		base = ioremap(r.start, resource_size(&r));
resource_size     168 drivers/misc/sram.c 	size = resource_size(res);
resource_size     200 drivers/misc/sram.c 		block->size = resource_size(&child_res);
resource_size     360 drivers/misc/sram.c 	size = resource_size(res);
resource_size     463 drivers/mmc/host/android-goldfish.c 	host->reg_base = ioremap(res->start, resource_size(res));
resource_size    2481 drivers/mmc/host/atmel-mci.c 	host->regs = devm_ioremap(&pdev->dev, regs->start, resource_size(regs));
resource_size     974 drivers/mmc/host/au1xmmc.c 	host->ioarea = request_mem_region(r->start, resource_size(r),
resource_size    1084 drivers/mmc/host/cqhci.c 				     resource_size(cqhci_memres));
resource_size    1207 drivers/mmc/host/davinci_mmc.c 	mem_size = resource_size(r);
resource_size     751 drivers/mmc/host/renesas_sdhi_core.c 	if (!host->bus_shift && resource_size(res) > 0x100) /* old way to determine the shift */
resource_size    1600 drivers/mmc/host/s3cmci.c 				       resource_size(host->mem), pdev->name);
resource_size    1608 drivers/mmc/host/s3cmci.c 	host->base = ioremap(host->mem->start, resource_size(host->mem));
resource_size    1727 drivers/mmc/host/s3cmci.c 	release_mem_region(host->mem->start, resource_size(host->mem));
resource_size    1777 drivers/mmc/host/s3cmci.c 	release_mem_region(host->mem->start, resource_size(host->mem));
resource_size     713 drivers/mmc/host/sdhci-acpi.c 	len = resource_size(iomem);
resource_size     742 drivers/mmc/host/sdhci-acpi.c 					    resource_size(iomem));
resource_size      90 drivers/mmc/host/sdhci-pxav3.c 	regs = ioremap(res->start, resource_size(res));
resource_size     168 drivers/mmc/host/tmio_mmc.c 	host->bus_shift = resource_size(res) >> 10;
resource_size     914 drivers/mmc/host/wmt-sdmmc.c 	release_mem_region(res->start, resource_size(res));
resource_size     302 drivers/mtd/devices/bcm47xxsflash.c 	if (!devm_request_mem_region(dev, res->start, resource_size(res),
resource_size     323 drivers/mtd/devices/bcm47xxsflash.c 		b47s->window = ioremap_nocache(res->start, resource_size(res));
resource_size     325 drivers/mtd/devices/bcm47xxsflash.c 		b47s->window = ioremap_cache(res->start, resource_size(res));
resource_size      87 drivers/mtd/hyperbus/hyperbus-core.c 	map->size = resource_size(&res);
resource_size     431 drivers/mtd/lpddr/lpddr2_nvm.c 		.size		= resource_size(add_range),
resource_size     452 drivers/mtd/lpddr/lpddr2_nvm.c 		.size		= resource_size(add_range),
resource_size     205 drivers/mtd/maps/ixp4xx.c 	info->map.size = resource_size(dev->resource);
resource_size     133 drivers/mtd/maps/lantiq-flash.c 	ltq_mtd->map->size = resource_size(ltq_mtd->res);
resource_size     506 drivers/mtd/maps/pcmciamtd.c 			(unsigned long) resource_size(link->resource[2]) >> 10,
resource_size     518 drivers/mtd/maps/pcmciamtd.c 				resource_size(link->resource[2]) >> 10);
resource_size     519 drivers/mtd/maps/pcmciamtd.c 			dev->win_size = resource_size(link->resource[2]);
resource_size     535 drivers/mtd/maps/pcmciamtd.c 				resource_size(link->resource[2]));
resource_size     508 drivers/mtd/maps/physmap-core.c 		info->win_order = get_bitmask_order(resource_size(res)) - 1;
resource_size     140 drivers/mtd/maps/plat-ram.c 	info->map.size = resource_size(res);
resource_size      63 drivers/mtd/maps/pxa2xx-flash.c 	info->map.size = resource_size(res);
resource_size      67 drivers/mtd/maps/rbtx4939-flash.c 	size = resource_size(res);
resource_size      74 drivers/mtd/maps/sun_uflash.c 	up->map.size = resource_size(&op->resource[0]);
resource_size      37 drivers/mtd/nand/onenand/generic.c 	unsigned long size = resource_size(res);
resource_size      87 drivers/mtd/nand/onenand/generic.c 	unsigned long size = resource_size(res);
resource_size    2129 drivers/mtd/nand/raw/atmel/nand-controller.c 	regmap_conf.max_register = resource_size(&res) - 4;
resource_size    2152 drivers/mtd/nand/raw/atmel/nand-controller.c 	regmap_conf.max_register = resource_size(&res) - 4;
resource_size     401 drivers/mtd/nand/raw/au1550nd.c 	if (request_mem_region(r->start, resource_size(r), "au1550-nand")) {
resource_size     459 drivers/mtd/nand/raw/au1550nd.c 	release_mem_region(r->start, resource_size(r));
resource_size     735 drivers/mtd/nand/raw/davinci_nand.c 	base = devm_ioremap(&pdev->dev, res2->start, resource_size(res2));
resource_size     914 drivers/mtd/nand/raw/fsl_elbc_nand.c 	priv->vbase = ioremap(res.start, resource_size(&res));
resource_size    1038 drivers/mtd/nand/raw/fsl_ifc_nand.c 	priv->vbase = ioremap(res.start, resource_size(&res));
resource_size     289 drivers/mtd/nand/raw/fsl_upm.c 					    resource_size(&io_res));
resource_size    1033 drivers/mtd/nand/raw/fsmc_nand.c 		pid |= (readl(base + resource_size(res) - 0x20 + 4 * i) &
resource_size     668 drivers/mtd/nand/raw/mpc5121_nfc.c 	regs_size = resource_size(&res);
resource_size    2940 drivers/mtd/nand/raw/qcom_nandc.c 					   resource_size(res),
resource_size    2974 drivers/mtd/nand/raw/qcom_nandc.c 	dma_unmap_resource(dev, res->start, resource_size(res),
resource_size    2995 drivers/mtd/nand/raw/qcom_nandc.c 	dma_unmap_resource(&pdev->dev, nandc->base_dma, resource_size(res),
resource_size    1128 drivers/mtd/nand/raw/s3c2410.c 	size = resource_size(res);
resource_size     129 drivers/mtd/nand/raw/sharpsl.c 	sharpsl->io = ioremap(r->start, resource_size(r));
resource_size     388 drivers/mtd/nand/raw/tmio_nand.c 	tmio->ccr = devm_ioremap(&dev->dev, ccr->start, resource_size(ccr));
resource_size     393 drivers/mtd/nand/raw/tmio_nand.c 	tmio->fcr = devm_ioremap(&dev->dev, fcr->start, resource_size(fcr));
resource_size     883 drivers/mtd/spi-nor/aspeed-smc.c 	controller->ahb_window_size = resource_size(res);
resource_size    1363 drivers/mtd/spi-nor/cadence-quadspi.c 	cqspi->ahb_size = resource_size(res_ahb);
resource_size    1299 drivers/net/can/at91_can.c 				resource_size(res),
resource_size    1305 drivers/net/can/at91_can.c 	addr = ioremap_nocache(res->start, resource_size(res));
resource_size    1361 drivers/net/can/at91_can.c 	release_mem_region(res->start, resource_size(res));
resource_size    1379 drivers/net/can/at91_can.c 	release_mem_region(res->start, resource_size(res));
resource_size     173 drivers/net/can/cc770/cc770_platform.c 	mem_size = resource_size(mem);
resource_size     244 drivers/net/can/cc770/cc770_platform.c 	release_mem_region(mem->start, resource_size(mem));
resource_size    1953 drivers/net/can/janz-ican3.c 	mod->dpm = ioremap(res->start, resource_size(res));
resource_size    1970 drivers/net/can/janz-ican3.c 	mod->ctrl = ioremap(res->start, resource_size(res));
resource_size      92 drivers/net/can/m_can/m_can_platform.c 	mram_addr = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size     665 drivers/net/can/sja1000/peak_pcmcia.c 					resource_size(pdev->resource[0]));
resource_size     229 drivers/net/can/sja1000/sja1000_platform.c 				     resource_size(res_mem), DRV_NAME))
resource_size     233 drivers/net/can/sja1000/sja1000_platform.c 				    resource_size(res_mem));
resource_size     192 drivers/net/can/softing/softing_cs.c 	if (resource_size(pres) < 0x1000)
resource_size     779 drivers/net/can/softing/softing_main.c 	card->dpram_size = resource_size(pres);
resource_size     816 drivers/net/ethernet/8390/ax88796.c 	release_mem_region(mem->start, resource_size(mem));
resource_size     821 drivers/net/ethernet/8390/ax88796.c 		release_mem_region(mem->start, resource_size(mem));
resource_size     881 drivers/net/ethernet/8390/ax88796.c 	mem_size = resource_size(mem);
resource_size     919 drivers/net/ethernet/8390/ax88796.c 		mem2_size = resource_size(mem2);
resource_size     289 drivers/net/ethernet/8390/axnet_cs.c     if (resource_size(link->resource[1]) == 8)
resource_size     424 drivers/net/ethernet/8390/mcf8390.c 	msize = resource_size(mem);
resource_size     457 drivers/net/ethernet/8390/mcf8390.c 		release_mem_region(mem->start, resource_size(mem));
resource_size     291 drivers/net/ethernet/8390/pcnet_cs.c 	    resource_size(link->resource[2]));
resource_size     299 drivers/net/ethernet/8390/pcnet_cs.c 		hw_info[i].offset & ~(resource_size(link->resource[2])-1));
resource_size     300 drivers/net/ethernet/8390/pcnet_cs.c 	base = &virt[hw_info[i].offset & (resource_size(link->resource[2])-1)];
resource_size     514 drivers/net/ethernet/8390/pcnet_cs.c 	if (resource_size(link->resource[1]) == 8)
resource_size    1430 drivers/net/ethernet/8390/pcnet_cs.c 			resource_size(link->resource[3]));
resource_size    1450 drivers/net/ethernet/8390/pcnet_cs.c     ei_status.priv = resource_size(link->resource[3]);
resource_size    1452 drivers/net/ethernet/8390/pcnet_cs.c     dev->mem_end = dev->mem_start + resource_size(link->resource[3]);
resource_size    1457 drivers/net/ethernet/8390/pcnet_cs.c 	    (resource_size(link->resource[3]) - offset) >> 8);
resource_size    1370 drivers/net/ethernet/aeroflex/greth.c 				 resource_size(&ofdev->resource[0]),
resource_size    1523 drivers/net/ethernet/aeroflex/greth.c 	of_iounmap(&ofdev->resource[0], greth->regs, resource_size(&ofdev->resource[0]));
resource_size    1546 drivers/net/ethernet/aeroflex/greth.c 	of_iounmap(&of_dev->resource[0], greth->regs, resource_size(&of_dev->resource[0]));
resource_size    1329 drivers/net/ethernet/altera/altera_tse_main.c 					 resource_size(*res), dev_name(device));
resource_size    1336 drivers/net/ethernet/altera/altera_tse_main.c 				    resource_size(region));
resource_size    1388 drivers/net/ethernet/altera/altera_tse_main.c 		priv->txdescmem = resource_size(dma_res)/2;
resource_size    1394 drivers/net/ethernet/altera/altera_tse_main.c 		priv->rxdescmem = resource_size(dma_res)/2;
resource_size    1422 drivers/net/ethernet/altera/altera_tse_main.c 		priv->txdescmem = resource_size(dma_res);
resource_size    1430 drivers/net/ethernet/altera/altera_tse_main.c 		priv->rxdescmem = resource_size(dma_res);
resource_size    1114 drivers/net/ethernet/amd/au1000_eth.c 	if (!request_mem_region(base->start, resource_size(base),
resource_size    1121 drivers/net/ethernet/amd/au1000_eth.c 	if (!request_mem_region(macen->start, resource_size(macen),
resource_size    1128 drivers/net/ethernet/amd/au1000_eth.c 	if (!request_mem_region(macdma->start, resource_size(macdma),
resource_size    1164 drivers/net/ethernet/amd/au1000_eth.c 			ioremap_nocache(base->start, resource_size(base));
resource_size    1173 drivers/net/ethernet/amd/au1000_eth.c 						resource_size(macen));
resource_size    1181 drivers/net/ethernet/amd/au1000_eth.c 	aup->macdma = ioremap_nocache(macdma->start, resource_size(macdma));
resource_size    1340 drivers/net/ethernet/amd/au1000_eth.c 	release_mem_region(macdma->start, resource_size(macdma));
resource_size    1342 drivers/net/ethernet/amd/au1000_eth.c 	release_mem_region(macen->start, resource_size(macen));
resource_size    1344 drivers/net/ethernet/amd/au1000_eth.c 	release_mem_region(base->start, resource_size(base));
resource_size    1377 drivers/net/ethernet/amd/au1000_eth.c 	release_mem_region(base->start, resource_size(base));
resource_size    1380 drivers/net/ethernet/amd/au1000_eth.c 	release_mem_region(base->start, resource_size(base));
resource_size    1383 drivers/net/ethernet/amd/au1000_eth.c 	release_mem_region(macen->start, resource_size(macen));
resource_size    1268 drivers/net/ethernet/amd/sunlance.c 			   resource_size(&ledma->resource[0]));
resource_size    1342 drivers/net/ethernet/amd/sunlance.c 				       resource_size(&ledma->resource[0]),
resource_size      33 drivers/net/ethernet/apm/xgene-v2/main.c 						  resource_size(res));
resource_size    1697 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	pdata->base_addr = devm_ioremap(dev, res->start, resource_size(res));
resource_size    1709 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 							resource_size(res));
resource_size    1721 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 							resource_size(res));
resource_size    1691 drivers/net/ethernet/atheros/ag71xx.c 					    resource_size(res));
resource_size    2540 drivers/net/ethernet/broadcom/sb1250-mac.c 	sbm_base = ioremap_nocache(res->start, resource_size(res));
resource_size    1700 drivers/net/ethernet/calxeda/xgmac.c 	if (!request_mem_region(res->start, resource_size(res), pdev->name))
resource_size    1722 drivers/net/ethernet/calxeda/xgmac.c 	priv->base = ioremap(res->start, resource_size(res));
resource_size    1808 drivers/net/ethernet/calxeda/xgmac.c 	release_mem_region(res->start, resource_size(res));
resource_size    1836 drivers/net/ethernet/calxeda/xgmac.c 	release_mem_region(res->start, resource_size(res));
resource_size    1448 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c 	p->mix_size = resource_size(res_mix);
resource_size    1450 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c 	p->agl_size = resource_size(res_agl);
resource_size    1452 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c 	p->agl_prt_ctl_size = resource_size(res_agl_prt_ctl);
resource_size     783 drivers/net/ethernet/cirrus/ep93xx_eth.c 		release_mem_region(mem->start, resource_size(mem));
resource_size     821 drivers/net/ethernet/cirrus/ep93xx_eth.c 	ep->res = request_mem_region(mem->start, resource_size(mem),
resource_size     829 drivers/net/ethernet/cirrus/ep93xx_eth.c 	ep->base_addr = ioremap(mem->start, resource_size(mem));
resource_size    1532 drivers/net/ethernet/davicom/dm9000.c 	iosize = resource_size(db->addr_res);
resource_size    1550 drivers/net/ethernet/davicom/dm9000.c 	iosize = resource_size(db->data_res);
resource_size    1051 drivers/net/ethernet/ethoc.c 			resource_size(res), res->name);
resource_size    1064 drivers/net/ethernet/ethoc.c 			resource_size(res), res->name);
resource_size    1091 drivers/net/ethernet/ethoc.c 			resource_size(mmio));
resource_size    1100 drivers/net/ethernet/ethoc.c 			netdev->mem_start, resource_size(mem));
resource_size    1778 drivers/net/ethernet/faraday/ftgmac100.c 	priv->res = request_mem_region(res->start, resource_size(res),
resource_size    1786 drivers/net/ethernet/faraday/ftgmac100.c 	priv->base = ioremap(res->start, resource_size(res));
resource_size    1097 drivers/net/ethernet/faraday/ftmac100.c 	priv->res = request_mem_region(res->start, resource_size(res),
resource_size    1105 drivers/net/ethernet/faraday/ftmac100.c 	priv->base = ioremap(res->start, resource_size(res));
resource_size    2196 drivers/net/ethernet/freescale/fec_main.c 		s = resource_size(r);
resource_size     845 drivers/net/ethernet/freescale/fec_mpc52xx.c 	if (resource_size(&mem) < sizeof(struct mpc52xx_fec)) {
resource_size     847 drivers/net/ethernet/freescale/fec_mpc52xx.c 		       (unsigned long)resource_size(&mem),
resource_size      89 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c 	priv->regs = ioremap(res.start, resource_size(&res));
resource_size    1729 drivers/net/ethernet/freescale/fman/fman.c 				resource_size(&fman->dts_params.muram_res));
resource_size    2766 drivers/net/ethernet/freescale/fman/fman.c 	mem_size = resource_size(res);
resource_size    1861 drivers/net/ethernet/freescale/fman/fman_port.c 					resource_size(&res), "fman-port");
resource_size    1870 drivers/net/ethernet/freescale/fman/fman_port.c 						  resource_size(&res));
resource_size     104 drivers/net/ethernet/freescale/fman/mac.c 			     resource_size(mac_dev->res));
resource_size     122 drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c 	if (resource_size(&res) <= 13)
resource_size     141 drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c 	bitbang->dir = ioremap(res.start, resource_size(&res));
resource_size     132 drivers/net/ethernet/freescale/fs_enet/mii-fec.c 	fec->fecp = ioremap(res.start, resource_size(&res));
resource_size     396 drivers/net/ethernet/freescale/fsl_pq_mdio.c 		if ((void *)tbipa > reg_map + resource_size(reg_res) - 4)
resource_size     459 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	if (data->mii_offset > resource_size(&res)) {
resource_size     435 drivers/net/ethernet/fujitsu/fmvj18x_cs.c     if (resource_size(link->resource[1]) != 0) {
resource_size     549 drivers/net/ethernet/fujitsu/fmvj18x_cs.c     base = ioremap(link->resource[2]->start, resource_size(link->resource[2]));
resource_size     601 drivers/net/ethernet/fujitsu/fmvj18x_cs.c 		       resource_size(link->resource[3]));
resource_size    1046 drivers/net/ethernet/korina.c 	lp->eth_regs = ioremap_nocache(r->start, resource_size(r));
resource_size    1054 drivers/net/ethernet/korina.c 	lp->rx_dma_regs = ioremap_nocache(r->start, resource_size(r));
resource_size    1062 drivers/net/ethernet/korina.c 	lp->tx_dma_regs = ioremap_nocache(r->start, resource_size(r));
resource_size     645 drivers/net/ethernet/lantiq_etop.c 		resource_size(res), dev_name(&pdev->dev));
resource_size     653 drivers/net/ethernet/lantiq_etop.c 		res->start, resource_size(res));
resource_size    2853 drivers/net/ethernet/marvell/mv643xx_eth.c 	msp->base = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size     314 drivers/net/ethernet/marvell/mvmdio.c 	dev->regs = devm_ioremap(&pdev->dev, r->start, resource_size(r));
resource_size     352 drivers/net/ethernet/marvell/mvmdio.c 	    resource_size(r) < MVMDIO_ERR_INT_MASK + 4) {
resource_size     217 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c 	u64 resource_size;
resource_size     221 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c 					&resource_size);
resource_size     224 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c 		resource_size = info->end_index - info->start_index + 1;
resource_size     227 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c 	nr_entries = div_u64(resource_size, info->alloc_size);
resource_size     236 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c 		mlxsw_sp1_kvdl_part_update(part, part_prev, resource_size);
resource_size    1139 drivers/net/ethernet/micrel/ks8842.c 	if (!request_mem_region(iomem->start, resource_size(iomem), DRV_NAME))
resource_size    1151 drivers/net/ethernet/micrel/ks8842.c 	adapter->hw_addr = ioremap(iomem->start, resource_size(iomem));
resource_size    1222 drivers/net/ethernet/micrel/ks8842.c 	release_mem_region(iomem->start, resource_size(iomem));
resource_size    1237 drivers/net/ethernet/micrel/ks8842.c 	release_mem_region(iomem->start, resource_size(iomem));
resource_size    1284 drivers/net/ethernet/nxp/lpc_eth.c 	pldat->net_base = ioremap(res->start, resource_size(res));
resource_size    1338 drivers/net/ethernet/nxp/lpc_eth.c 			(size_t)resource_size(res));
resource_size     402 drivers/net/ethernet/qualcomm/emac/emac-sgmii.c 	phy->base = ioremap(res->start, resource_size(res));
resource_size     411 drivers/net/ethernet/qualcomm/emac/emac-sgmii.c 		phy->digital = ioremap(res->start, resource_size(res));
resource_size    3354 drivers/net/ethernet/renesas/sh_eth.c 					     resource_size(rtsu),
resource_size    3362 drivers/net/ethernet/renesas/sh_eth.c 					     resource_size(rtsu));
resource_size     180 drivers/net/ethernet/sfc/ef10.c 	return resource_size(&efx->pci_dev->resource[bar]);
resource_size     446 drivers/net/ethernet/smsc/smc91c92_cs.c 		    resource_size(link->resource[2]));
resource_size    2339 drivers/net/ethernet/smsc/smsc911x.c 	release_mem_region(res->start, resource_size(res));
resource_size    2430 drivers/net/ethernet/smsc/smsc911x.c 	res_size = resource_size(res);
resource_size    2571 drivers/net/ethernet/smsc/smsc911x.c 	release_mem_region(res->start, resource_size(res));
resource_size    2001 drivers/net/ethernet/socionext/netsec.c 				    resource_size(mmio_res));
resource_size    2009 drivers/net/ethernet/socionext/netsec.c 					 resource_size(eeprom_res));
resource_size    10039 drivers/net/ethernet/sun/niu.c 			      resource_size(&op->resource[1]),
resource_size    10048 drivers/net/ethernet/sun/niu.c 				    resource_size(&op->resource[2]),
resource_size    10057 drivers/net/ethernet/sun/niu.c 				    resource_size(&op->resource[3]),
resource_size    10089 drivers/net/ethernet/sun/niu.c 			   resource_size(&op->resource[2]));
resource_size    10095 drivers/net/ethernet/sun/niu.c 			   resource_size(&op->resource[3]));
resource_size    10101 drivers/net/ethernet/sun/niu.c 			   resource_size(&op->resource[1]));
resource_size    10126 drivers/net/ethernet/sun/niu.c 				   resource_size(&op->resource[2]));
resource_size    10132 drivers/net/ethernet/sun/niu.c 				   resource_size(&op->resource[3]));
resource_size    10138 drivers/net/ethernet/sun/niu.c 				   resource_size(&op->resource[1]));
resource_size     116 drivers/net/ethernet/sun/sunbmac.c 	sbus_writel(resource_size(&qec_op->resource[1]),
resource_size     120 drivers/net/ethernet/sun/sunbmac.c 	sbus_writel(resource_size(&qec_op->resource[1]) >> 1,
resource_size     122 drivers/net/ethernet/sun/sunbmac.c 	sbus_writel(resource_size(&qec_op->resource[1]) >> 1,
resource_size     735 drivers/net/ethernet/sun/sunqe.c 	sbus_writel((resource_size(&op->resource[1]) >> 2),
resource_size     741 drivers/net/ethernet/sun/sunqe.c 	sbus_writel((resource_size(&op->resource[1]) >> 2) >> 1,
resource_size     743 drivers/net/ethernet/sun/sunqe.c 	sbus_writel((resource_size(&op->resource[1]) >> 2) >> 1,
resource_size     918 drivers/net/ethernet/ti/cpmac.c 	if (!request_mem_region(mem->start, resource_size(mem), dev->name)) {
resource_size     926 drivers/net/ethernet/ti/cpmac.c 	priv->regs = ioremap(mem->start, resource_size(mem));
resource_size    1004 drivers/net/ethernet/ti/cpmac.c 	release_mem_region(mem->start, resource_size(mem));
resource_size    1032 drivers/net/ethernet/ti/cpmac.c 	release_mem_region(mem->start, resource_size(mem));
resource_size     400 drivers/net/ethernet/ti/davinci_mdio.c 	data->regs = devm_ioremap(dev, res->start, resource_size(res));
resource_size    2013 drivers/net/ethernet/ti/netcp_core.c 		size = resource_size(&res);
resource_size    2707 drivers/net/ethernet/via/via-velocity.c 	if (resource_size(&res) < VELOCITY_IO_SIZE) {
resource_size    1055 drivers/net/ethernet/wiznet/w5100.c 	if (resource_size(mem) < W5100_BUS_DIRECT_SIZE)
resource_size     547 drivers/net/ethernet/wiznet/w5300.c 	mem_size = resource_size(mem);
resource_size    1335 drivers/net/ethernet/xilinx/ll_temac_main.c 					resource_size(res));
resource_size    1430 drivers/net/ethernet/xilinx/ll_temac_main.c 						     resource_size(res));
resource_size    1266 drivers/net/fjes/fjes_main.c 	hw->hw_res.size = resource_size(res);
resource_size     239 drivers/net/phy/mdio-bcm-unimac.c 	priv->base = devm_ioremap(&pdev->dev, r->start, resource_size(r));
resource_size     119 drivers/net/phy/mdio-mux-mmioreg.c 	s->iosize = resource_size(&res);
resource_size      39 drivers/net/phy/mdio-octeon.c 	regsize = resource_size(res_mem);
resource_size    1085 drivers/net/wan/fsl_ucc_hdlc.c 	*ptr = ioremap(res->start, resource_size(res));
resource_size    1097 drivers/net/wan/fsl_ucc_hdlc.c 		memset_io(*ptr, 0, resource_size(res));
resource_size     459 drivers/net/wireless/ath/ath10k/ahb.c 	ar_ahb->mem_len = resource_size(res);
resource_size     973 drivers/net/wireless/ath/ath10k/qmi.c 		qmi->msa_mem_size = resource_size(&r);
resource_size    1243 drivers/net/wireless/ath/ath10k/snoc.c 				    resource_size(res));
resource_size     109 drivers/net/wireless/ath/ath5k/ahb.c 	mem = ioremap_nocache(res->start, resource_size(res));
resource_size      95 drivers/net/wireless/ath/ath9k/ahb.c 	mem = devm_ioremap_nocache(&pdev->dev, res->start, resource_size(res));
resource_size     267 drivers/net/wireless/intersil/hostap/hostap_cs.c 	if (resource_size(hw_priv->link->resource[0]) < 0x42) {
resource_size     155 drivers/net/wireless/intersil/orinoco/orinoco_cs.c 			resource_size(link->resource[0]));
resource_size     217 drivers/net/wireless/intersil/orinoco/spectrum_cs.c 			resource_size(link->resource[0]));
resource_size     835 drivers/net/wireless/marvell/libertas/if_cs.c 				resource_size(p_dev->resource[0]));
resource_size      43 drivers/net/wireless/ralink/rt2x00/rt2x00soc.c 	rt2x00dev->csr.base = ioremap(res->start, resource_size(res));
resource_size     384 drivers/net/wireless/ray_cs.c 			resource_size(link->resource[2]));
resource_size     398 drivers/net/wireless/ray_cs.c 			resource_size(link->resource[3]));
resource_size     412 drivers/net/wireless/ray_cs.c 			resource_size(link->resource[4]));
resource_size     237 drivers/nvdimm/badrange.c 				len = res->start + resource_size(res)
resource_size     252 drivers/nvdimm/badrange.c 				len = resource_size(res);
resource_size      37 drivers/nvdimm/blk.c 		if (ns_offset < resource_size(nsblk->res[i])) {
resource_size      38 drivers/nvdimm/blk.c 			if (ns_offset + len > resource_size(nsblk->res[i])) {
resource_size      45 drivers/nvdimm/blk.c 		ns_offset -= resource_size(nsblk->res[i]);
resource_size     308 drivers/nvdimm/claim.c 	nsio->size = resource_size(res);
resource_size     309 drivers/nvdimm/claim.c 	if (!devm_request_mem_region(dev, res->start, resource_size(res),
resource_size     321 drivers/nvdimm/claim.c 	nsio->addr = devm_memremap(dev, res->start, resource_size(res),
resource_size     334 drivers/nvdimm/claim.c 	devm_release_mem_region(dev, res->start, resource_size(res));
resource_size     660 drivers/nvdimm/dimm_devs.c 		info.available -= resource_size(res);
resource_size     690 drivers/nvdimm/dimm_devs.c 		if (resource_size(res) > max)
resource_size     691 drivers/nvdimm/dimm_devs.c 			max = resource_size(res);
resource_size     735 drivers/nvdimm/dimm_devs.c 				busy += resource_size(res);
resource_size     745 drivers/nvdimm/dimm_devs.c 				busy += resource_size(res);
resource_size     768 drivers/nvdimm/dimm_devs.c 	__release_region(&ndd->dpa, res->start, resource_size(res));
resource_size     801 drivers/nvdimm/dimm_devs.c 			allocated += resource_size(res);
resource_size     806 drivers/nvdimm/label.c 	nd_label->rawsize = __cpu_to_le64(resource_size(res));
resource_size     884 drivers/nvdimm/label.c 		if (resource_size(res) != __le64_to_cpu(nd_label->rawsize))
resource_size    1035 drivers/nvdimm/label.c 		nd_label->rawsize = __cpu_to_le64(resource_size(res));
resource_size     149 drivers/nvdimm/namespace_devs.c 	if (region_intersects(nsio->res.start, resource_size(&nsio->res),
resource_size     308 drivers/nvdimm/namespace_devs.c 			size += resource_size(res);
resource_size     385 drivers/nvdimm/namespace_devs.c 		resource_size_t size = resource_size(&nspm->nsio.res);
resource_size     466 drivers/nvdimm/namespace_devs.c 		if (n >= resource_size(res)) {
resource_size     467 drivers/nvdimm/namespace_devs.c 			n -= resource_size(res);
resource_size     483 drivers/nvdimm/namespace_devs.c 		rc = adjust_resource(res, new_start, resource_size(res) - n);
resource_size     593 drivers/nvdimm/namespace_devs.c 	if (resource_size(valid) < n)
resource_size     653 drivers/nvdimm/namespace_devs.c 			available = resource_size(&valid);
resource_size     660 drivers/nvdimm/namespace_devs.c 			valid.start = res->start + resource_size(res);
resource_size     664 drivers/nvdimm/namespace_devs.c 			available = resource_size(&valid);
resource_size     671 drivers/nvdimm/namespace_devs.c 			valid.start = res->start + resource_size(res);
resource_size     675 drivers/nvdimm/namespace_devs.c 			available = resource_size(&valid);
resource_size     688 drivers/nvdimm/namespace_devs.c 						resource_size(res) + allocate);
resource_size     697 drivers/nvdimm/namespace_devs.c 						- allocate, resource_size(next)
resource_size     727 drivers/nvdimm/namespace_devs.c 			rc = adjust_resource(res, res->start, resource_size(res)
resource_size     778 drivers/nvdimm/namespace_devs.c 		resource_size_t end = res->start + resource_size(res);
resource_size     784 drivers/nvdimm/namespace_devs.c 		end += resource_size(next);
resource_size    1118 drivers/nvdimm/namespace_devs.c 		return resource_size(&nspm->nsio.res);
resource_size    1124 drivers/nvdimm/namespace_devs.c 		return resource_size(&nsio->res);
resource_size    1328 drivers/nvdimm/namespace_devs.c 	if (resource_size(res) == 0)
resource_size      93 drivers/nvdimm/nd.h 		(unsigned long long) (res ? resource_size(res) : 0), \
resource_size     250 drivers/nvdimm/pfn_devs.c 				resource_size(&nsio->res) - start_pad
resource_size     580 drivers/nvdimm/pfn_devs.c 	if (offset >= resource_size(&nsio->res)) {
resource_size     691 drivers/nvdimm/pfn_devs.c 		nd_pfn->npfns = PHYS_PFN((resource_size(res) - offset));
resource_size     753 drivers/nvdimm/pfn_devs.c 	size = resource_size(&nsio->res);
resource_size     388 drivers/nvdimm/pmem.c 	pmem->size = resource_size(res);
resource_size     395 drivers/nvdimm/pmem.c 	if (!devm_request_mem_region(dev, res->start, resource_size(res),
resource_size     413 drivers/nvdimm/pmem.c 		pmem->pfn_pad = resource_size(res) -
resource_size     414 drivers/nvdimm/pmem.c 			resource_size(&pmem->pgmap.res);
resource_size    1035 drivers/nvdimm/region_devs.c 	nd_region->ndr_size = resource_size(ndr_desc->res);
resource_size     231 drivers/nvmem/lpc18xx_eeprom.c 	eeprom->size = resource_size(res);
resource_size     232 drivers/nvmem/lpc18xx_eeprom.c 	lpc18xx_nvmem_config.size = resource_size(res);
resource_size      65 drivers/nvmem/mtk-efuse.c 	econfig.size = resource_size(res);
resource_size      53 drivers/nvmem/qfprom.c 	econfig.size = resource_size(res);
resource_size     282 drivers/nvmem/rockchip-efuse.c 		econfig.size = resource_size(res);
resource_size     166 drivers/nvmem/stm32-romem.c 		priv->cfg.size = resource_size(res);
resource_size      53 drivers/nvmem/uniphier-efuse.c 	econfig.size = resource_size(res);
resource_size     236 drivers/nvmem/vf610-ocotp.c 	ocotp_config.size = resource_size(res);
resource_size     862 drivers/of/address.c 	return ioremap(res.start, resource_size(&res));
resource_size     891 drivers/of/address.c 	if (!request_mem_region(res.start, resource_size(&res), name))
resource_size     894 drivers/of/address.c 	mem = ioremap(res.start, resource_size(&res));
resource_size     896 drivers/of/address.c 		release_mem_region(res.start, resource_size(&res));
resource_size      93 drivers/opp/ti-opp-supply.c 	base = ioremap_nocache(res->start, resource_size(res));
resource_size     290 drivers/parport/parport_ax88796.c 	size = resource_size(res);
resource_size     369 drivers/parport/parport_ax88796.c 	release_mem_region(dd->io->start, resource_size(dd->io));
resource_size     280 drivers/parport/parport_sunbpp.c 			  resource_size(&op->resource[0]),
resource_size     285 drivers/parport/parport_sunbpp.c 	size = resource_size(&op->resource[0]);
resource_size     444 drivers/pci/controller/dwc/pci-dra7xx.c 	ep->addr_size = resource_size(res);
resource_size     722 drivers/pci/controller/dwc/pci-dra7xx.c 	base = devm_ioremap_nocache(dev, res->start, resource_size(res));
resource_size    1011 drivers/pci/controller/dwc/pci-keystone.c 	ep->addr_size = resource_size(res);
resource_size     106 drivers/pci/controller/dwc/pci-layerscape-ep.c 	ep->addr_size = resource_size(res);
resource_size     169 drivers/pci/controller/dwc/pci-meson.c 	return devm_ioremap(dev, res->start, resource_size(res));
resource_size     421 drivers/pci/controller/dwc/pcie-al.c 	al_pcie->ecam_size = resource_size(ecam_res);
resource_size     474 drivers/pci/controller/dwc/pcie-artpec6.c 	ep->addr_size = resource_size(res);
resource_size     334 drivers/pci/controller/dwc/pcie-designware-host.c 		pp->cfg0_size = resource_size(cfg_res) >> 1;
resource_size     335 drivers/pci/controller/dwc/pcie-designware-host.c 		pp->cfg1_size = resource_size(cfg_res) >> 1;
resource_size     368 drivers/pci/controller/dwc/pcie-designware-host.c 				pp->io_size = resource_size(pp->io);
resource_size     375 drivers/pci/controller/dwc/pcie-designware-host.c 			pp->mem_size = resource_size(pp->mem);
resource_size     380 drivers/pci/controller/dwc/pcie-designware-host.c 			pp->cfg0_size = resource_size(pp->cfg) >> 1;
resource_size     381 drivers/pci/controller/dwc/pcie-designware-host.c 			pp->cfg1_size = resource_size(pp->cfg) >> 1;
resource_size     394 drivers/pci/controller/dwc/pcie-designware-host.c 						resource_size(pp->cfg));
resource_size     166 drivers/pci/controller/dwc/pcie-designware-plat.c 	ep->addr_size = resource_size(res);
resource_size      99 drivers/pci/controller/dwc/pcie-hisi.c 	reg_base = devm_pci_remap_cfgspace(dev, res->start, resource_size(res));
resource_size     357 drivers/pci/controller/dwc/pcie-hisi.c 	reg_base = devm_pci_remap_cfgspace(dev, res->start, resource_size(res));
resource_size     499 drivers/pci/controller/pci-ftpci100.c 						   resource_size(io), &val)) {
resource_size    2465 drivers/pci/controller/pci-hyperv.c 				resource_size(hbus->low_mmio_res));
resource_size    2471 drivers/pci/controller/pci-hyperv.c 				resource_size(hbus->high_mmio_res));
resource_size    2550 drivers/pci/controller/pci-hyperv.c 				resource_size(hbus->low_mmio_res));
resource_size     845 drivers/pci/controller/pci-mvebu.c 	if (resource_size(&pcie->io) != 0) {
resource_size     978 drivers/pci/controller/pci-mvebu.c 	if (resource_size(&pcie->mem) == 0) {
resource_size     989 drivers/pci/controller/pci-mvebu.c 	if (resource_size(&pcie->io) != 0) {
resource_size     994 drivers/pci/controller/pci-mvebu.c 					 resource_size(&pcie->io) - 1);
resource_size    1023 drivers/pci/controller/pci-mvebu.c 	if (resource_size(&pcie->io) != 0) {
resource_size    1026 drivers/pci/controller/pci-mvebu.c 		for (i = 0; i < resource_size(&pcie->realio); i += SZ_64K)
resource_size     775 drivers/pci/controller/pci-tegra.c 				resource_size(&port->regs));
resource_size     915 drivers/pci/controller/pci-tegra.c 	size = resource_size(&pcie->cs);
resource_size     921 drivers/pci/controller/pci-tegra.c 	size = resource_size(&pcie->io);
resource_size     929 drivers/pci/controller/pci-tegra.c 	size = resource_size(&pcie->prefetch);
resource_size     937 drivers/pci/controller/pci-tegra.c 	size = resource_size(&pcie->mem);
resource_size     562 drivers/pci/controller/pci-v3-semi.c 			if (resource_size(mem) != SZ_256M) {
resource_size     587 drivers/pci/controller/pci-v3-semi.c 			if (resource_size(mem) != SZ_256M) {
resource_size     787 drivers/pci/controller/pci-v3-semi.c 	if (resource_size(regs) != SZ_16M) {
resource_size     372 drivers/pci/controller/pci-xgene.c 	resource_size_t size = resource_size(res);
resource_size     506 drivers/pci/controller/pcie-cadence-ep.c 			       resource_size(pcie->mem_res));
resource_size      67 drivers/pci/controller/pcie-iproc-platform.c 					     resource_size(&reg));
resource_size    1037 drivers/pci/controller/pcie-iproc.c 						  resource_size(res));
resource_size     722 drivers/pci/controller/pcie-mediatek.c 	      AHB2PCIE_SIZE(fls(resource_size(mem)));
resource_size     633 drivers/pci/controller/pcie-mobiveil.c 			   CFG_WINDOW_TYPE, resource_size(pcie->ob_io_res));
resource_size     651 drivers/pci/controller/pcie-mobiveil.c 				   type, resource_size(win->res));
resource_size     351 drivers/pci/controller/pcie-rcar.c 	size = resource_size(res);
resource_size     618 drivers/pci/controller/pcie-rockchip-ep.c 			       resource_size(rockchip->mem_res));
resource_size    1013 drivers/pci/controller/pcie-rockchip-host.c 			rockchip->io_size = resource_size(io);
resource_size    1026 drivers/pci/controller/pcie-rockchip-host.c 			rockchip->mem_size = resource_size(mem);
resource_size     451 drivers/pci/controller/vmd.c 	    resource_size(&vmd->dev->resource[VMD_CFGBAR]))
resource_size     621 drivers/pci/controller/vmd.c 		.end   = vmd->busn_start + (resource_size(res) >> 20) - 1,
resource_size     738 drivers/pci/controller/vmd.c 	if (resource_size(&dev->resource[VMD_CFGBAR]) < (1 << 20))
resource_size      48 drivers/pci/ecam.c 	bus_range = resource_size(&cfg->busr);
resource_size      49 drivers/pci/ecam.c 	bus_range_max = resource_size(cfgres) >> ops->bus_shift;
resource_size     111 drivers/pci/ecam.c 			for (i = 0; i < resource_size(&cfg->busr); i++)
resource_size      41 drivers/pci/hotplug/shpchp_sysfs.c 				       (unsigned long long)resource_size(res));
resource_size      50 drivers/pci/hotplug/shpchp_sysfs.c 				       (unsigned long long)resource_size(res));
resource_size      58 drivers/pci/hotplug/shpchp_sysfs.c 				       (unsigned long long)resource_size(res));
resource_size     645 drivers/pci/iov.c 		if (resource_size(res) & (PAGE_SIZE - 1)) {
resource_size     649 drivers/pci/iov.c 		iov->barsz[i] = resource_size(res);
resource_size     650 drivers/pci/iov.c 		res->end = res->start + resource_size(res) * total - 1;
resource_size     205 drivers/pci/p2pdma.c 			resource_size(&pgmap->res), dev_to_node(&pdev->dev),
resource_size     179 drivers/pci/pci.c 	return ioremap_nocache(res->start, resource_size(res));
resource_size    1442 drivers/pci/pci.c 		size = ilog2(resource_size(res)) - 20;
resource_size    3949 drivers/pci/pci.c 	return ioremap_page_range(vaddr, vaddr + resource_size(res), phys_addr,
resource_size    3975 drivers/pci/pci.c 	unmap_kernel_range(vaddr, resource_size(res));
resource_size    4081 drivers/pci/pci.c 	size = resource_size(res);
resource_size    6176 drivers/pci/pci.c 	size = resource_size(r);
resource_size    6276 drivers/pci/pci.c 			r->end = resource_size(r) - 1;
resource_size     480 drivers/pci/quirks.c 		if (r->flags & IORESOURCE_MEM && resource_size(r) < PAGE_SIZE) {
resource_size     243 drivers/pci/setup-bus.c 		if (!resource_size(res)) {
resource_size     283 drivers/pci/setup-bus.c 		if (resource_size(res) &&
resource_size     411 drivers/pci/setup-bus.c 			resource_size_t r_size = resource_size(dev_res->res);
resource_size     888 drivers/pci/setup-bus.c 			r_size = resource_size(r);
resource_size     906 drivers/pci/setup-bus.c 			resource_size(b_res), min_align);
resource_size     909 drivers/pci/setup-bus.c 			resource_size(b_res), min_align);
resource_size    1006 drivers/pci/setup-bus.c 			r_size = resource_size(r);
resource_size    1054 drivers/pci/setup-bus.c 	size0 = calculate_memsize(size, min_size, 0, 0, resource_size(b_res), min_align);
resource_size    1058 drivers/pci/setup-bus.c 				resource_size(b_res), add_align);
resource_size    1531 drivers/pci/setup-bus.c 		r->end = resource_size(r) - 1;
resource_size    1832 drivers/pci/setup-bus.c 	if (resource_size(res) >= available)
resource_size    1840 drivers/pci/setup-bus.c 	if (available - resource_size(res) <= dev_res->add_size)
resource_size    1843 drivers/pci/setup-bus.c 	dev_res->add_size = available - resource_size(res);
resource_size    1925 drivers/pci/setup-bus.c 		if (!res->parent && available_io > resource_size(res))
resource_size    1926 drivers/pci/setup-bus.c 			remaining_io -= resource_size(res);
resource_size    1929 drivers/pci/setup-bus.c 		if (!res->parent && available_mmio > resource_size(res))
resource_size    1930 drivers/pci/setup-bus.c 			remaining_mmio -= resource_size(res);
resource_size    1933 drivers/pci/setup-bus.c 		if (!res->parent && available_mmio_pref > resource_size(res))
resource_size    1934 drivers/pci/setup-bus.c 			remaining_mmio_pref -= resource_size(res);
resource_size    1985 drivers/pci/setup-bus.c 	available_io = resource_size(res);
resource_size    1987 drivers/pci/setup-bus.c 	available_mmio = resource_size(res);
resource_size    1989 drivers/pci/setup-bus.c 	available_mmio_pref = resource_size(res);
resource_size     326 drivers/pci/setup-res.c 	size = resource_size(res);
resource_size     374 drivers/pci/setup-res.c 	new_size = resource_size(res) + addsize;
resource_size     403 drivers/pci/setup-res.c 	res->end = resource_size(res) - 1;
resource_size     327 drivers/pcmcia/at91_cf.c 	if (!devm_request_mem_region(&pdev->dev, io->start, resource_size(io), "at91_cf")) {
resource_size     354 drivers/pcmcia/bcm63xx_pcmcia.c 	regmem_size = resource_size(res);
resource_size     369 drivers/pcmcia/bcm63xx_pcmcia.c 	iomem_size = resource_size(res);
resource_size     392 drivers/pcmcia/bcm63xx_pcmcia.c 	sock->map_size = resource_size(skt->common_res);
resource_size     449 drivers/pcmcia/bcm63xx_pcmcia.c 	release_mem_region(res->start, resource_size(res));
resource_size     203 drivers/pcmcia/electra_cf.c 	cf->mem_size = PAGE_ALIGN(resource_size(&mem));
resource_size     205 drivers/pcmcia/electra_cf.c 	cf->io_size = PAGE_ALIGN(resource_size(&io));
resource_size      62 drivers/pcmcia/pcmcia_resource.c 	resource_size_t num = resource_size(res);
resource_size     582 drivers/pcmcia/pcmcia_resource.c 		u8 b = resource_size(&c->io[0]) + resource_size(&c->io[1]) - 1;
resource_size     661 drivers/pcmcia/pcmcia_resource.c 			c->io[0].end = resource_size(&tmp);
resource_size     135 drivers/pcmcia/rsrc_iodyn.c 					    resource_size(res) + num))
resource_size     148 drivers/pcmcia/rsrc_iodyn.c 					    resource_size(res) + num))
resource_size     768 drivers/pcmcia/rsrc_nonstatic.c 						      resource_size(res) + num);
resource_size     787 drivers/pcmcia/rsrc_nonstatic.c 						      resource_size(res) + num);
resource_size     149 drivers/phy/hisilicon/phy-hix5hd2-sata.c 	priv->base = devm_ioremap(dev, res->start, resource_size(res));
resource_size     206 drivers/phy/marvell/phy-berlin-sata.c 	priv->base = devm_ioremap(dev, res->start, resource_size(res));
resource_size     876 drivers/phy/st/phy-miphy28lp.c 		*base = devm_ioremap(dev, res.start, resource_size(&res));
resource_size    1054 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 					resource_size(res));
resource_size     583 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 					      resource_size(res));
resource_size     471 drivers/pinctrl/berlin/berlin-bg4ct.c 	rmconfig->max_register = resource_size(res);
resource_size     352 drivers/pinctrl/berlin/pinctrl-as370.c 	rmconfig->max_register = resource_size(res);
resource_size     615 drivers/pinctrl/freescale/pinctrl-imx1-core.c 			resource_size(res));
resource_size     635 drivers/pinctrl/meson/pinctrl-meson.c 	meson_regmap_config.max_register = resource_size(&res) - 4;
resource_size    1880 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 				ioremap(res.start, resource_size(&res));
resource_size     870 drivers/pinctrl/pinctrl-amd.c 						resource_size(res));
resource_size     899 drivers/pinctrl/pinctrl-amd.c 	gpio_dev->gc.ngpio			= resource_size(res) / 4;
resource_size    3201 drivers/pinctrl/pinctrl-rockchip.c 						    resource_size(&res) - 4;
resource_size    3438 drivers/pinctrl/pinctrl-rockchip.c 		rockchip_regmap_config.max_register = resource_size(res) - 4;
resource_size    3444 drivers/pinctrl/pinctrl-rockchip.c 		info->reg_size = resource_size(res);
resource_size    3454 drivers/pinctrl/pinctrl-rockchip.c 							resource_size(res) - 4;
resource_size    1818 drivers/pinctrl/pinctrl-single.c 			resource_size(res), DRIVER_NAME);
resource_size    1824 drivers/pinctrl/pinctrl-single.c 	pcs->size = resource_size(pcs->res);
resource_size    1041 drivers/pinctrl/samsung/pinctrl-samsung.c 						resource_size(res));
resource_size      75 drivers/pinctrl/sh-pfc/core.c 		windows->size = resource_size(res);
resource_size     644 drivers/pinctrl/tegra/pinctrl-tegra.c 	return resource_size(res) / 4;
resource_size     769 drivers/pinctrl/tegra/pinctrl-tegra.c 		backup_regs_size += resource_size(res);
resource_size      93 drivers/platform/chrome/chromeos_pstore.c 	len = resource_size(res);
resource_size      37 drivers/platform/chrome/wilco_ec/core.c 	return devm_request_region(dev, res->start, resource_size(res),
resource_size     906 drivers/platform/goldfish/goldfish_pipe.c 	if (!r || resource_size(r) < PAGE_SIZE) {
resource_size     803 drivers/platform/x86/intel_pmc_ipc.c 	size = resource_size(res);
resource_size    1135 drivers/platform/x86/intel_telemetry_pltdrv.c 	size = resource_size(res0);
resource_size    1149 drivers/platform/x86/intel_telemetry_pltdrv.c 	size = resource_size(res1);
resource_size    1192 drivers/platform/x86/intel_telemetry_pltdrv.c 		release_mem_region(res0->start, resource_size(res0));
resource_size    1194 drivers/platform/x86/intel_telemetry_pltdrv.c 		release_mem_region(res1->start, resource_size(res1));
resource_size     776 drivers/pnp/pnpacpi/rsparser.c 		io->address_length = resource_size(p);
resource_size     794 drivers/pnp/pnpacpi/rsparser.c 		fixed_io->address_length = resource_size(p);
resource_size     817 drivers/pnp/pnpacpi/rsparser.c 		memory24->address_length = resource_size(p);
resource_size     841 drivers/pnp/pnpacpi/rsparser.c 		memory32->address_length = resource_size(p);
resource_size     864 drivers/pnp/pnpacpi/rsparser.c 		fixed_memory32->address_length = resource_size(p);
resource_size     509 drivers/pnp/pnpbios/rsparser.c 		len = resource_size(res);
resource_size     533 drivers/pnp/pnpbios/rsparser.c 		len = resource_size(res);
resource_size     563 drivers/pnp/pnpbios/rsparser.c 		len = resource_size(res);
resource_size     621 drivers/pnp/pnpbios/rsparser.c 		len = resource_size(res);
resource_size     640 drivers/pnp/pnpbios/rsparser.c 	unsigned long len = resource_size(res);
resource_size     644 drivers/pnp/pnpbios/rsparser.c 		len = resource_size(res);
resource_size      90 drivers/power/reset/qnap-poweroff.c 	base = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size     217 drivers/power/supply/goldfish_battery.c 	data->reg_base = devm_ioremap(&pdev->dev, r->start, resource_size(r));
resource_size     593 drivers/ptp/ptp_qoriq.c 		       resource_size(ptp_qoriq->rsrc));
resource_size     752 drivers/regulator/ti-abb-regulator.c 					     resource_size(res));
resource_size     772 drivers/regulator/ti-abb-regulator.c 					       resource_size(res));
resource_size     224 drivers/remoteproc/da8xx_remoteproc.c 		drproc->mem[i].size = resource_size(res);
resource_size     305 drivers/remoteproc/imx_rproc.c 		priv->mem[b].size = resource_size(&res);
resource_size     322 drivers/remoteproc/keystone_remoteproc.c 		ksproc->mem[i].size = resource_size(res);
resource_size     353 drivers/remoteproc/qcom_q6v5_adsp.c 			resource_size(res));
resource_size     397 drivers/remoteproc/qcom_q6v5_adsp.c 	adsp->mem_size = resource_size(&r);
resource_size    1377 drivers/remoteproc/qcom_q6v5_mss.c 	qproc->mba_size = resource_size(&r);
resource_size    1395 drivers/remoteproc/qcom_q6v5_mss.c 	qproc->mpss_size = resource_size(&r);
resource_size     237 drivers/remoteproc/qcom_q6v5_pas.c 	adsp->mem_size = resource_size(&r);
resource_size     447 drivers/remoteproc/qcom_wcnss.c 	wcnss->mem_size = resource_size(&r);
resource_size     260 drivers/remoteproc/st_slim_rproc.c 		slim_rproc->mem[i].size = resource_size(res);
resource_size     179 drivers/remoteproc/wkup_m3_rproc.c 		wkupm3->mem[i].size = resource_size(res);
resource_size     101 drivers/reset/reset-brcmstb.c 	priv->rcdev.nr_resets = DIV_ROUND_DOWN_ULL(resource_size(res),
resource_size     159 drivers/reset/reset-simple.c 	data->rcdev.nr_resets = resource_size(res) * BITS_PER_BYTE;
resource_size      39 drivers/reset/reset-socfpga.c 	size = resource_size(&res);
resource_size     100 drivers/reset/reset-stm32mp1.c 	data->rcdev.nr_resets = resource_size(res) * BITS_PER_BYTE;
resource_size      39 drivers/reset/reset-sunxi.c 	size = resource_size(&res);
resource_size      51 drivers/reset/reset-uniphier-glue.c 	size = resource_size(res);
resource_size     115 drivers/reset/reset-zynq.c 	priv->rcdev.nr_resets = resource_size(res) / 4 * BITS_PER_LONG;
resource_size     280 drivers/rpmsg/qcom_glink_rpm.c 	msg_ram = devm_ioremap(dev, r.start, resource_size(&r));
resource_size     281 drivers/rpmsg/qcom_glink_rpm.c 	msg_ram_size = resource_size(&r);
resource_size     385 drivers/rtc/rtc-at91rm9200.c 				     resource_size(regs));
resource_size     165 drivers/rtc/rtc-bq4802.c 					resource_size(p->r));
resource_size     735 drivers/rtc/rtc-cmos.c 		ports = request_region(ports->start, resource_size(ports),
resource_size     738 drivers/rtc/rtc-cmos.c 		ports = request_mem_region(ports->start, resource_size(ports),
resource_size     893 drivers/rtc/rtc-cmos.c 		release_region(ports->start, resource_size(ports));
resource_size     895 drivers/rtc/rtc-cmos.c 		release_mem_region(ports->start, resource_size(ports));
resource_size     924 drivers/rtc/rtc-cmos.c 		release_region(ports->start, resource_size(ports));
resource_size     926 drivers/rtc/rtc-cmos.c 		release_mem_region(ports->start, resource_size(ports));
resource_size    1077 drivers/rtc/rtc-ds1685.c 		rtc->size = resource_size(res);
resource_size     167 drivers/rtc/rtc-ds1742.c 	pdata->ioaddr_rtc = ioaddr + resource_size(res) - RTC_SIZE;
resource_size     169 drivers/rtc/rtc-ds1742.c 	nvmem_cfg.size = resource_size(res) - RTC_SIZE;
resource_size     155 drivers/rtc/rtc-ftrtc010.c 				     resource_size(res));
resource_size     151 drivers/rtc/rtc-m48t35.c 	priv->size = resource_size(res);
resource_size     422 drivers/rtc/rtc-m48t59.c 						resource_size(res));
resource_size     326 drivers/rtc/rtc-mrst.c 	iomem = devm_request_mem_region(dev, iomem->start, resource_size(iomem),
resource_size     215 drivers/rtc/rtc-msm6242.c 	priv->regs = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size     119 drivers/rtc/rtc-pl030.c 	rtc->base = ioremap(dev->res.start, resource_size(&dev->res));
resource_size     337 drivers/rtc/rtc-pl031.c 				   resource_size(&adev->res));
resource_size     224 drivers/rtc/rtc-puv3.c 	puv3_rtc_mem = request_mem_region(res->start, resource_size(res),
resource_size     334 drivers/rtc/rtc-pxa.c 				resource_size(pxa_rtc->ress));
resource_size     241 drivers/rtc/rtc-rp5c01.c 	priv->regs = devm_ioremap(&dev->dev, res->start, resource_size(res));
resource_size     500 drivers/rtc/rtc-sh.c 	rtc->regsize = resource_size(res);
resource_size     265 drivers/rtc/rtc-stmp3xxx.c 	rtc_data->io = devm_ioremap(&pdev->dev, r->start, resource_size(r));
resource_size     263 drivers/rtc/rtc-vr41xx.c 	rtc1_base = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size     273 drivers/rtc/rtc-vr41xx.c 	rtc2_base = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size     175 drivers/sbus/char/flash.c 	flash.read_size = resource_size(&op->resource[0]);
resource_size     178 drivers/sbus/char/flash.c 		flash.write_size = resource_size(&op->resource[1]);
resource_size     181 drivers/sbus/char/flash.c 		flash.write_size = resource_size(&op->resource[0]);
resource_size     362 drivers/sbus/char/uctrl.c 			     resource_size(&op->resource[0]),
resource_size     398 drivers/sbus/char/uctrl.c 	of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0]));
resource_size     412 drivers/sbus/char/uctrl.c 		of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0]));
resource_size     194 drivers/scsi/a3000.c 	if (!request_mem_region(res->start, resource_size(res), "wd33c93"))
resource_size     240 drivers/scsi/a3000.c 	release_mem_region(res->start, resource_size(res));
resource_size     254 drivers/scsi/a3000.c 	release_mem_region(res->start, resource_size(res));
resource_size      46 drivers/scsi/a4000t.c 	if (!request_mem_region(res->start, resource_size(res),
resource_size      94 drivers/scsi/a4000t.c 	release_mem_region(res->start, resource_size(res));
resource_size     108 drivers/scsi/a4000t.c 	release_mem_region(res->start, resource_size(res));
resource_size    1552 drivers/scsi/pcmcia/nsp_cs.c 	if (resource_size(p_dev->resource[2])) {
resource_size    1566 drivers/scsi/pcmcia/nsp_cs.c 					resource_size(p_dev->resource[2]));
resource_size    1567 drivers/scsi/pcmcia/nsp_cs.c 		data->MmioLength  = resource_size(p_dev->resource[2]);
resource_size    1605 drivers/scsi/pcmcia/nsp_cs.c 					resource_size(link->resource[0]));
resource_size    1609 drivers/scsi/pcmcia/nsp_cs.c 					resource_size(link->resource[1]));
resource_size    1615 drivers/scsi/pcmcia/nsp_cs.c 	data->NumAddress  = resource_size(link->resource[0]);
resource_size    1669 drivers/scsi/pcmcia/nsp_cs.c 	if (resource_size(link->resource[2])) {
resource_size     215 drivers/scsi/pcmcia/qlogic_stub.c 	if (resource_size(link->resource[0]) == 32)
resource_size     720 drivers/scsi/qlogicpti.c 				 resource_size(&op->resource[0]),
resource_size    1402 drivers/scsi/qlogicpti.c 		   resource_size(&op->resource[0]));
resource_size    1437 drivers/scsi/qlogicpti.c 		   resource_size(&op->resource[0]));
resource_size     541 drivers/scsi/sun3_scsi.c 		ioaddr = sun3_ioremap(mem->start, resource_size(mem),
resource_size     568 drivers/scsi/sun3_scsi.c 	ioaddr = ioremap(mem->start, resource_size(mem));
resource_size      52 drivers/scsi/sun_esp.c 				   resource_size(&dma_of->resource[0]),
resource_size     576 drivers/scsi/sun_esp.c 		   resource_size(&dma_of->resource[0]));
resource_size     215 drivers/sh/intc/core.c 			d->window[k].size = resource_size(res);
resource_size     217 drivers/sh/intc/core.c 							 resource_size(res));
resource_size     482 drivers/slimbus/qcom-ctrl.c 				resource_size(slew_mem));
resource_size     223 drivers/soc/aspeed/aspeed-lpc-ctrl.c 		lpc_ctrl->pnor_size = resource_size(&resm);
resource_size     242 drivers/soc/aspeed/aspeed-lpc-ctrl.c 		lpc_ctrl->mem_size = resource_size(&resm);
resource_size     358 drivers/soc/aspeed/aspeed-p2a-ctrl.c 		misc_ctrl->mem_size = resource_size(&resm);
resource_size     128 drivers/soc/bcm/brcmstb/pm/pm-arm.c 	sram = __arm_ioremap_exec(res.start, resource_size(&res), false);
resource_size     133 drivers/soc/bcm/brcmstb/pm/pm-arm.c 	ctrl.boot_sram_len = resource_size(&res);
resource_size      74 drivers/soc/fsl/dpaa2-console.c 	mcfbaregs = ioremap(mc_base_addr.start, resource_size(&mc_base_addr));
resource_size     208 drivers/soc/fsl/dpio/dpio-driver.c 					resource_size(&dpio_dev->regions[1]),
resource_size     212 drivers/soc/fsl/dpio/dpio-driver.c 					resource_size(&dpio_dev->regions[2]),
resource_size     223 drivers/soc/fsl/dpio/dpio-driver.c 				      resource_size(&dpio_dev->regions[1]));
resource_size     225 drivers/soc/fsl/qbman/bman_ccsr.c 	bm_ccsr_start = devm_ioremap(dev, res->start, resource_size(res));
resource_size     143 drivers/soc/fsl/qbman/bman_portal.c 					resource_size(addr_phys[0]),
resource_size     151 drivers/soc/fsl/qbman/bman_portal.c 					resource_size(addr_phys[1]));
resource_size     769 drivers/soc/fsl/qbman/qman_ccsr.c 	qm_ccsr_start = devm_ioremap(dev, res->start, resource_size(res));
resource_size     283 drivers/soc/fsl/qbman/qman_portal.c 					resource_size(addr_phys[0]),
resource_size     291 drivers/soc/fsl/qbman/qman_portal.c 				resource_size(addr_phys[1]));
resource_size      86 drivers/soc/fsl/qe/qe_common.c 				   GENPOOL_OFFSET, resource_size(&r), -1);
resource_size     339 drivers/soc/fsl/qe/qe_ic.c 	qe_ic->regs = ioremap(res.start, resource_size(&res));
resource_size      39 drivers/soc/fsl/qe/qe_io.c 	par_io = ioremap(res.start, resource_size(&res));
resource_size     885 drivers/soc/qcom/smem.c 	size = resource_size(&r);
resource_size     207 drivers/soc/tegra/flowctrl.c 	tegra_flowctrl_base = ioremap_nocache(res.start, resource_size(&res));
resource_size     326 drivers/soc/tegra/fuse/fuse-tegra.c 	fuse->base = ioremap_nocache(regs.start, resource_size(&regs));
resource_size     162 drivers/soc/tegra/fuse/tegra-apbmisc.c 	apbmisc_base = ioremap_nocache(apbmisc.start, resource_size(&apbmisc));
resource_size     166 drivers/soc/tegra/fuse/tegra-apbmisc.c 	strapping_base = ioremap_nocache(straps.start, resource_size(&straps));
resource_size    2669 drivers/soc/tegra/pmc.c 	wake = ioremap_nocache(regs.start, resource_size(&regs));
resource_size    2895 drivers/soc/tegra/pmc.c 	pmc->base = ioremap_nocache(regs.start, resource_size(&regs));
resource_size     557 drivers/soc/ti/knav_dma.c 		*_size = resource_size(&res);
resource_size     515 drivers/soc/xilinx/xlnx_vcu.c 						 resource_size(res));
resource_size     528 drivers/soc/xilinx/xlnx_vcu.c 						     resource_size(res));
resource_size     492 drivers/spi/atmel-quadspi.c 	aq->mmap_size = resource_size(res);
resource_size     390 drivers/spi/spi-efm32.c 	if (resource_size(res) < 0x60) {
resource_size     171 drivers/spi/spi-jcore.c 				     resource_size(res), pdev->name))
resource_size     174 drivers/spi/spi-jcore.c 					resource_size(res));
resource_size     987 drivers/spi/spi-nxp-fspi.c 	f->memmap_phy_size = resource_size(res);
resource_size    2222 drivers/spi/spi-pl022.c 				       resource_size(&adev->res));
resource_size     489 drivers/spi/spi-ppc4xx.c 	hw->mapsize = resource_size(&resource);
resource_size     247 drivers/spi/spi-sh-hspi.c 				       res->start, resource_size(res));
resource_size     154 drivers/spi/spi-sh-sci.c 	sp->membase = ioremap(r->start, resource_size(r));
resource_size     466 drivers/spi/spi-sh.c 	ss->addr = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size     565 drivers/spi/spi-stm32-qspi.c 	qspi->mm_size = resource_size(res);
resource_size     719 drivers/spi/spi-ti-qspi.c 		qspi->mmap_size = resource_size(res_mmap);
resource_size    1180 drivers/spmi/spmi-pmic-arb.c 	pmic_arb->core_size = resource_size(res);
resource_size     778 drivers/staging/axis-fifo/axis-fifo.c 	if (!request_mem_region(fifo->mem->start, resource_size(fifo->mem),
resource_size     790 drivers/staging/axis-fifo/axis-fifo.c 	fifo->base_addr = ioremap(fifo->mem->start, resource_size(fifo->mem));
resource_size    1048 drivers/staging/axis-fifo/axis-fifo.c 	release_mem_region(fifo->mem->start, resource_size(fifo->mem));
resource_size    1066 drivers/staging/axis-fifo/axis-fifo.c 	release_mem_region(fifo->mem->start, resource_size(fifo->mem));
resource_size     594 drivers/staging/kpc2000/kpc2000_i2c.c 							 resource_size(res));
resource_size     470 drivers/staging/kpc2000/kpc2000_spi.c 					   resource_size(r));
resource_size     125 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c 	ldev->eng_regs = ioremap_nocache(r->start, resource_size(r));
resource_size    2920 drivers/staging/media/allegro-dvt/allegro-core.c 	regs = devm_ioremap_nocache(&pdev->dev, res->start, resource_size(res));
resource_size    2940 drivers/staging/media/allegro-dvt/allegro-core.c 					 resource_size(sram_res));
resource_size     211 drivers/staging/uwb/whc-rc.c 	whcrc->rc_len = resource_size(&umc_dev->resource);
resource_size     169 drivers/staging/wusbcore/host/whci/init.c 	len   = resource_size(&whc->umc->resource);
resource_size      64 drivers/thermal/broadcom/sr-thermal.c 							 resource_size(res),
resource_size     888 drivers/thermal/samsung/exynos_tmu.c 	data->base = devm_ioremap(&pdev->dev, res.start, resource_size(&res));
resource_size     988 drivers/thermal/samsung/exynos_tmu.c 					resource_size(&res));
resource_size      96 drivers/tty/ipwireless/main.c 			    resource_size(p_dev->resource[0]),
resource_size     113 drivers/tty/ipwireless/main.c 	ipw->is_v2_card = resource_size(p_dev->resource[2]) == 0x100;
resource_size     116 drivers/tty/ipwireless/main.c 				resource_size(p_dev->resource[2]));
resource_size     122 drivers/tty/ipwireless/main.c 				resource_size(p_dev->resource[2]),
resource_size     140 drivers/tty/ipwireless/main.c 				resource_size(p_dev->resource[3]));
resource_size     146 drivers/tty/ipwireless/main.c 				resource_size(p_dev->resource[3]),
resource_size     158 drivers/tty/ipwireless/main.c 			resource_size(p_dev->resource[2]));
resource_size     163 drivers/tty/ipwireless/main.c 		       resource_size(p_dev->resource[0]));
resource_size     227 drivers/tty/ipwireless/main.c 				resource_size(link->resource[2]));
resource_size     232 drivers/tty/ipwireless/main.c 				resource_size(link->resource[3]));
resource_size     242 drivers/tty/ipwireless/main.c 		       resource_size(ipw->link->resource[0]));
resource_size     245 drivers/tty/ipwireless/main.c 				resource_size(ipw->link->resource[2]));
resource_size     250 drivers/tty/ipwireless/main.c 				resource_size(ipw->link->resource[3]));
resource_size     902 drivers/tty/mips_ejtag_fdc.c 					 resource_size(&dev->res));
resource_size     332 drivers/tty/serial/8250/8250_aspeed_vuart.c 	port.port.mapsize = resource_size(res);
resource_size     419 drivers/tty/serial/8250/8250_dw.c 	p->membase = devm_ioremap(dev, regs->start, resource_size(regs));
resource_size     253 drivers/tty/serial/8250/8250_ingenic.c 					 resource_size(regs));
resource_size     121 drivers/tty/serial/8250/8250_lpc18xx.c 					 resource_size(res));
resource_size     496 drivers/tty/serial/8250/8250_mtk.c 					 resource_size(regs));
resource_size     105 drivers/tty/serial/8250/8250_of.c 		port->mapsize = resource_size(&resource);
resource_size    1151 drivers/tty/serial/8250/8250_omap.c 				       resource_size(regs));
resource_size     174 drivers/tty/serial/8250/8250_uniphier.c 	membase = devm_ioremap(dev, regs->start, resource_size(regs));
resource_size     212 drivers/tty/serial/8250/8250_uniphier.c 	up.port.mapsize = resource_size(regs);
resource_size     382 drivers/tty/serial/8250/serial_cs.c 		(resource_size(p_dev->resource[1]) == 8)) {
resource_size     386 drivers/tty/serial/8250/serial_cs.c 		(resource_size(p_dev->resource[0]) == 0x40)) {
resource_size     717 drivers/tty/serial/amba-pl010.c 			    resource_size(&dev->res));
resource_size    2369 drivers/tty/serial/atmel_serial.c 	int size = resource_size(mpdev->resource);
resource_size    2385 drivers/tty/serial/atmel_serial.c 	int size = resource_size(mpdev->resource);
resource_size      61 drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c 	len = resource_size(&res);
resource_size     726 drivers/tty/serial/efm32-uart.c 	if (resource_size(res) < 60) {
resource_size     542 drivers/tty/serial/lantiq.c 	size = resource_size(res);
resource_size     753 drivers/tty/serial/men_z135_uart.c 	port->membase = ioremap(mem->start, resource_size(mem));
resource_size     703 drivers/tty/serial/meson_uart.c 	port->mapsize = resource_size(res_mem);
resource_size     529 drivers/tty/serial/milbeaut_usio.c 				resource_size(res));
resource_size     566 drivers/tty/serial/mps2-uart.c 	mps_port->port.mapsize = resource_size(res);
resource_size    1336 drivers/tty/serial/msm_serial.c 	size = resource_size(uart_resource);
resource_size    1354 drivers/tty/serial/msm_serial.c 	size = resource_size(uart_resource);
resource_size    1686 drivers/tty/serial/mxs-auart.c 	s->port.membase = ioremap(r->start, resource_size(r));
resource_size     410 drivers/tty/serial/owl-uart.c 			resource_size(res));
resource_size     426 drivers/tty/serial/owl-uart.c 			resource_size(res), dev_name(port->dev)))
resource_size     431 drivers/tty/serial/owl-uart.c 				resource_size(res));
resource_size     617 drivers/tty/serial/pic32_uart.c 	if (!request_mem_region(port->mapbase, resource_size(res_mem),
resource_size     622 drivers/tty/serial/pic32_uart.c 						resource_size(res_mem));
resource_size     625 drivers/tty/serial/pic32_uart.c 		release_mem_region(port->mapbase, resource_size(res_mem));
resource_size     642 drivers/tty/serial/pic32_uart.c 	res_size = resource_size(res_mem);
resource_size     895 drivers/tty/serial/pxa.c 	sport->port.membase = ioremap(mmres->start, resource_size(mmres));
resource_size     497 drivers/tty/serial/rda-uart.c 				     resource_size(res), dev_name(port->dev)))
resource_size     502 drivers/tty/serial/rda-uart.c 						     resource_size(res));
resource_size     541 drivers/tty/serial/rda-uart.c 					resource_size(res));
resource_size    1778 drivers/tty/serial/samsung.c 	port->membase = devm_ioremap(port->dev, res->start, resource_size(res));
resource_size    2902 drivers/tty/serial/sh-sci.c 	sci_port->reg_size = resource_size(res);
resource_size    1363 drivers/tty/serial/sirfsoc_uart.c 			res->start, resource_size(res));
resource_size    1464 drivers/tty/serial/sunsu.c 	up->reg_size = resource_size(rp);
resource_size     319 drivers/tty/serial/timbuart.c 		resource_size(platform_get_resource(pdev, IORESOURCE_MEM, 0));
resource_size     333 drivers/tty/serial/timbuart.c 		resource_size(platform_get_resource(pdev, IORESOURCE_MEM, 0));
resource_size     226 drivers/uio/uio_dmem_genirq.c 		uiomem->size = resource_size(r);
resource_size     236 drivers/uio/uio_fsl_elbc_gpcm.c 	if ((~(reg_or & OR_GPCM_AM) + 1) != resource_size(res)) {
resource_size     382 drivers/uio/uio_fsl_elbc_gpcm.c 	info->mem[0].internal_addr = ioremap(res.start, resource_size(&res));
resource_size     392 drivers/uio/uio_fsl_elbc_gpcm.c 	info->mem[0].size = resource_size(&res);
resource_size     182 drivers/uio/uio_pdrv_genirq.c 		uiomem->size = resource_size(r);
resource_size     185 drivers/uio/uio_pruss.c 	len = resource_size(regs_prussio);
resource_size     198 drivers/uio/uio_pruss.c 		p->mem[0].size = resource_size(regs_prussio);
resource_size     128 drivers/usb/c67x00/c67x00-drv.c 	if (!request_mem_region(res->start, resource_size(res),
resource_size     134 drivers/usb/c67x00/c67x00-drv.c 	c67x00->hpi.base = ioremap(res->start, resource_size(res));
resource_size     173 drivers/usb/c67x00/c67x00-drv.c 	release_mem_region(res->start, resource_size(res));
resource_size     199 drivers/usb/c67x00/c67x00-drv.c 		release_mem_region(res->start, resource_size(res));
resource_size    5076 drivers/usb/dwc2/hcd.c 	hcd->rsrc_len = resource_size(res);
resource_size    1443 drivers/usb/dwc3/core.c 	dwc->regs_size	= resource_size(&dwc_res);
resource_size     238 drivers/usb/gadget/udc/atmel_usba_udc.c 					 resource_size(regs_resource));
resource_size    1110 drivers/usb/gadget/udc/fotg210-udc.c 	fotg210->reg = ioremap(res->start, resource_size(res));
resource_size    2397 drivers/usb/gadget/udc/fsl_udc_core.c 		if (!request_mem_region(res->start, resource_size(res),
resource_size    2405 drivers/usb/gadget/udc/fsl_udc_core.c 	dr_regs = ioremap(res->start, resource_size(res));
resource_size    2543 drivers/usb/gadget/udc/fsl_udc_core.c 		release_mem_region(res->start, resource_size(res));
resource_size    2580 drivers/usb/gadget/udc/fsl_udc_core.c 		release_mem_region(res->start, resource_size(res));
resource_size    1391 drivers/usb/gadget/udc/fusb300_udc.c 	reg = ioremap(res->start, resource_size(res));
resource_size    1562 drivers/usb/gadget/udc/m66592-udc.c 	reg = ioremap(res->start, resource_size(res));
resource_size    1823 drivers/usb/gadget/udc/mv_u3d_core.c 		ioremap(r->start, resource_size(r));
resource_size    2157 drivers/usb/gadget/udc/mv_udc_core.c 		devm_ioremap(&pdev->dev, r->start, resource_size(r));
resource_size    2169 drivers/usb/gadget/udc/mv_udc_core.c 	udc->phy_regs = devm_ioremap(&pdev->dev, r->start, resource_size(r));
resource_size    2619 drivers/usb/gadget/udc/net2272.c 	len = resource_size(iomem);
resource_size    2663 drivers/usb/gadget/udc/net2272.c 		resource_size(&pdev->resource[0]));
resource_size     130 drivers/usb/host/ehci-atmel.c 	hcd->rsrc_len = resource_size(res);
resource_size     203 drivers/usb/host/ehci-exynos.c 	hcd->rsrc_len = resource_size(res);
resource_size     103 drivers/usb/host/ehci-fsl.c 	hcd->rsrc_len = resource_size(res);
resource_size      99 drivers/usb/host/ehci-grlib.c 	hcd->rsrc_len = resource_size(&res);
resource_size     156 drivers/usb/host/ehci-mv.c 	hcd->rsrc_len = resource_size(r);
resource_size      65 drivers/usb/host/ehci-mxc.c 	hcd->rsrc_len = resource_size(res);
resource_size     142 drivers/usb/host/ehci-npcm7xx.c 	hcd->rsrc_len = resource_size(res);
resource_size     144 drivers/usb/host/ehci-omap.c 	hcd->rsrc_len = resource_size(res);
resource_size     254 drivers/usb/host/ehci-orion.c 	hcd->rsrc_len = resource_size(res);
resource_size     240 drivers/usb/host/ehci-platform.c 	hcd->rsrc_len = resource_size(res_mem);
resource_size     106 drivers/usb/host/ehci-pmcmsp.c 	res_len = resource_size(res);
resource_size     122 drivers/usb/host/ehci-pmcmsp.c 	res_len = resource_size(res);
resource_size     136 drivers/usb/host/ehci-pmcmsp.c 	res_len = resource_size(res);
resource_size     142 drivers/usb/host/ehci-pmcmsp.c 	res_len = resource_size(res);
resource_size     176 drivers/usb/host/ehci-pmcmsp.c 	hcd->rsrc_len = resource_size(res);
resource_size     119 drivers/usb/host/ehci-ppc-of.c 	hcd->rsrc_len = resource_size(&res);
resource_size     109 drivers/usb/host/ehci-sh.c 	hcd->rsrc_len = resource_size(res);
resource_size     105 drivers/usb/host/ehci-spear.c 	hcd->rsrc_len = resource_size(res);
resource_size     228 drivers/usb/host/ehci-st.c 	hcd->rsrc_len = resource_size(res_mem);
resource_size     464 drivers/usb/host/ehci-tegra.c 	hcd->rsrc_len = resource_size(res);
resource_size     141 drivers/usb/host/ehci-xilinx-of.c 	hcd->rsrc_len = resource_size(&res);
resource_size     604 drivers/usb/host/fhci-hcd.c 	hcd->regs = ioremap(usb_regs.start, resource_size(&usb_regs));
resource_size    5609 drivers/usb/host/fotg210-hcd.c 	hcd->rsrc_len = resource_size(res);
resource_size    1817 drivers/usb/host/imx21-hcd.c 		release_mem_region(res->start, resource_size(res));
resource_size    1863 drivers/usb/host/imx21-hcd.c 	res = request_mem_region(res->start, resource_size(res), hcd_name);
resource_size    1869 drivers/usb/host/imx21-hcd.c 	imx21->regs = ioremap(res->start, resource_size(res));
resource_size    1911 drivers/usb/host/imx21-hcd.c 	release_mem_region(res->start, resource_size(res));
resource_size    1588 drivers/usb/host/isp116x-hcd.c 	addr_reg = ioremap(addr->start, resource_size(addr));
resource_size    1597 drivers/usb/host/isp116x-hcd.c 	data_reg = ioremap(data->start, resource_size(data));
resource_size     195 drivers/usb/host/ohci-at91.c 	hcd->rsrc_len = resource_size(res);
resource_size     445 drivers/usb/host/ohci-da8xx.c 	hcd->rsrc_len = resource_size(mem);
resource_size     171 drivers/usb/host/ohci-exynos.c 	hcd->rsrc_len = resource_size(res);
resource_size     211 drivers/usb/host/ohci-nxp.c 	hcd->rsrc_len = resource_size(res);
resource_size     211 drivers/usb/host/ohci-platform.c 	hcd->rsrc_len = resource_size(res_mem);
resource_size     117 drivers/usb/host/ohci-ppc-of.c 	hcd->rsrc_len = resource_size(&res);
resource_size     461 drivers/usb/host/ohci-pxa27x.c 	hcd->rsrc_len = resource_size(r);
resource_size     369 drivers/usb/host/ohci-s3c2410.c 	hcd->rsrc_len	= resource_size(&dev->resource[0]);
resource_size     198 drivers/usb/host/ohci-sa1111.c 	hcd->rsrc_len = resource_size(&dev->res);
resource_size     107 drivers/usb/host/ohci-sm501.c 	if (!request_mem_region(mem->start, resource_size(mem), pdev->name)) {
resource_size     128 drivers/usb/host/ohci-sm501.c 	hcd->rsrc_len = resource_size(res);
resource_size     162 drivers/usb/host/ohci-sm501.c 				    resource_size(mem)) < 0)
resource_size     182 drivers/usb/host/ohci-sm501.c 	release_mem_region(mem->start, resource_size(mem));
resource_size     197 drivers/usb/host/ohci-sm501.c 		release_mem_region(mem->start, resource_size(mem));
resource_size      80 drivers/usb/host/ohci-spear.c 	hcd->rsrc_len = resource_size(res);
resource_size     205 drivers/usb/host/ohci-st.c 	hcd->rsrc_len = resource_size(res_mem);
resource_size     212 drivers/usb/host/ohci-tmio.c 	hcd->rsrc_len = resource_size(regs);
resource_size     218 drivers/usb/host/ohci-tmio.c 	tmio->ccr = ioremap(config->start, resource_size(config));
resource_size     241 drivers/usb/host/ohci-tmio.c 				      resource_size(sram));
resource_size    4237 drivers/usb/host/oxu210hp-hcd.c 	memlen = resource_size(res);
resource_size    2432 drivers/usb/host/r8a66597-hcd.c 	reg = ioremap(res->start, resource_size(res));
resource_size     157 drivers/usb/host/sl811_cs.c 	if (resource_size(link->resource[0]) < 2)
resource_size     116 drivers/usb/host/uhci-grlib.c 	hcd->rsrc_len = resource_size(&res);
resource_size     101 drivers/usb/host/uhci-platform.c 	hcd->rsrc_len = resource_size(res);
resource_size     254 drivers/usb/host/xhci-histb.c 	hcd->rsrc_len = resource_size(res);
resource_size     516 drivers/usb/host/xhci-mtk.c 	hcd->rsrc_len = resource_size(res);
resource_size      61 drivers/usb/host/xhci-mvebu.c 	base = ioremap(res->start, resource_size(res));
resource_size     230 drivers/usb/host/xhci-plat.c 	hcd->rsrc_len = resource_size(res);
resource_size    1212 drivers/usb/host/xhci-tegra.c 	tegra->hcd->rsrc_len = resource_size(regs);
resource_size    2209 drivers/usb/isp1760/isp1760-hcd.c 	hcd->rsrc_len = resource_size(mem);
resource_size    1116 drivers/usb/musb/tusb6010.c 	sync = ioremap(mem->start, resource_size(mem));
resource_size     727 drivers/usb/phy/phy-mv-usb.c 	mvotg->phy_regs = devm_ioremap(&pdev->dev, r->start, resource_size(r));
resource_size     742 drivers/usb/phy/phy-mv-usb.c 	mvotg->cap_regs = devm_ioremap(&pdev->dev, r->start, resource_size(r));
resource_size     960 drivers/usb/phy/phy-tegra-usb.c 		resource_size(res));
resource_size    1081 drivers/usb/phy/phy-tegra-usb.c 		resource_size(res));
resource_size     164 drivers/usb/roles/intel-xhci-usb-role-switch.c 	data->base = devm_ioremap_nocache(dev, res->start, resource_size(res));
resource_size      93 drivers/usb/typec/ucsi/ucsi_acpi.c 	ua->ppm.data = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size     132 drivers/vfio/pci/vfio_pci.c 		if (!resource_size(res))
resource_size     135 drivers/vfio/pci/vfio_pci.c 		if (resource_size(res) >= PAGE_SIZE) {
resource_size     158 drivers/vfio/platform/vfio_platform_common.c 		vdev->regions[i].size = resource_size(res);
resource_size      85 drivers/video/backlight/ep93xx_bl.c 				      resource_size(res));
resource_size     467 drivers/video/fbdev/amba-clcd.c 	fb->fb.fix.mmio_len	= resource_size(&fb->dev->res);
resource_size    1127 drivers/video/fbdev/atmel_lcdfb.c 		info->fix.smem_len = resource_size(map);
resource_size    1156 drivers/video/fbdev/atmel_lcdfb.c 	info->fix.mmio_len = resource_size(regs);
resource_size    3405 drivers/video/fbdev/aty/atyfb_base.c 	    request_mem_region(rrp->start, resource_size(rrp), "atyfb")) {
resource_size    3407 drivers/video/fbdev/aty/atyfb_base.c 		par->aux_size = resource_size(rrp);
resource_size    3518 drivers/video/fbdev/aty/atyfb_base.c 	res_size = resource_size(rp);
resource_size     434 drivers/video/fbdev/au1100fb.c 	au1100fb_fix.mmio_len = resource_size(regs_res);
resource_size     232 drivers/video/fbdev/clps711x-fb.c 	cfb->base = devm_ioremap(dev, res->start, resource_size(res));
resource_size     239 drivers/video/fbdev/clps711x-fb.c 	info->fix.mmio_len = resource_size(res);
resource_size     260 drivers/video/fbdev/clps711x-fb.c 	cfb->buffsize = resource_size(res);
resource_size     296 drivers/video/fbdev/cobalt_lcdfb.c 	info->screen_size = resource_size(res);
resource_size     692 drivers/video/fbdev/controlfb.c 	p->fb_orig_size = resource_size(&fb_res);
resource_size     696 drivers/video/fbdev/controlfb.c 	p->control_regs_size = resource_size(&reg_res);
resource_size     507 drivers/video/fbdev/ep93xx-fb.c 				      resource_size(res));
resource_size     384 drivers/video/fbdev/grvga.c 		    resource_size(&dev->resource[0]), "grlib-svgactrl regs")) {
resource_size     391 drivers/video/fbdev/grvga.c 			       resource_size(&dev->resource[0]),
resource_size     500 drivers/video/fbdev/grvga.c 		   resource_size(&dev->resource[0]));
resource_size     518 drivers/video/fbdev/grvga.c 			   resource_size(&device->resource[0]));
resource_size     334 drivers/video/fbdev/hpfb.c 	if (!request_mem_region(d->resource.start, resource_size(&d->resource), d->name))
resource_size     338 drivers/video/fbdev/hpfb.c 		vaddr = (unsigned long)ioremap(paddr, resource_size(&d->resource));
resource_size     357 drivers/video/fbdev/hpfb.c 	release_mem_region(d->resource.start, resource_size(&d->resource));
resource_size     929 drivers/video/fbdev/imxfb.c 	res = request_mem_region(res->start, resource_size(res),
resource_size     969 drivers/video/fbdev/imxfb.c 	fbi->regs = ioremap(res->start, resource_size(res));
resource_size    1054 drivers/video/fbdev/imxfb.c 	release_mem_region(res->start, resource_size(res));
resource_size    1082 drivers/video/fbdev/imxfb.c 	release_mem_region(res->start, resource_size(res));
resource_size     697 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	res_size = resource_size(&res);
resource_size     786 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	resource_size_t res_size = resource_size(par->res);
resource_size     481 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 			resource_size(res), ctrl->name)) {
resource_size     489 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 			res->start, resource_size(res));
resource_size    1576 drivers/video/fbdev/mx3fb.c 	mx3fb->reg_base = ioremap(sdc_reg->start, resource_size(sdc_reg));
resource_size    4064 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 				  resource_size(dispc_mem));
resource_size    5309 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		resource_size(res));
resource_size    5329 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		resource_size(res));
resource_size    5349 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		resource_size(res));
resource_size    1087 drivers/video/fbdev/omap2/omapfb/dss/dss.c 				resource_size(dss_mem));
resource_size     865 drivers/video/fbdev/omap2/omapfb/dss/venc.c 				 resource_size(venc_mem));
resource_size     563 drivers/video/fbdev/platinumfb.c 				resource_size(&pinfo->rsrc_fb),
resource_size     652 drivers/video/fbdev/platinumfb.c 			   resource_size(&pinfo->rsrc_fb));
resource_size     660 drivers/video/fbdev/pxa168fb.c 	info->fix.mmio_len = resource_size(res);
resource_size     669 drivers/video/fbdev/pxa168fb.c 					     resource_size(res));
resource_size     490 drivers/video/fbdev/pxa3xx-gcu.c 		if (size != resource_size(priv->resource_mem))
resource_size     874 drivers/video/fbdev/s3c2410fb.c 	size = resource_size(res);
resource_size    1051 drivers/video/fbdev/s3c2410fb.c 	release_mem_region(info->mem->start, resource_size(info->mem));
resource_size     459 drivers/video/fbdev/sh7760fb.c 					 resource_size(res), pdev->name);
resource_size     466 drivers/video/fbdev/sh7760fb.c 	par->base = ioremap_nocache(res->start, resource_size(res));
resource_size     551 drivers/video/fbdev/sh7760fb.c 	release_mem_region(res->start, resource_size(res));
resource_size     569 drivers/video/fbdev/sh7760fb.c 	release_mem_region(par->ioarea->start, resource_size(par->ioarea));
resource_size    2591 drivers/video/fbdev/sh_mobile_lcdcfb.c 	priv->base = ioremap_nocache(res->start, resource_size(res));
resource_size     437 drivers/video/fbdev/simplefb.c 	info->fix.smem_len = resource_size(mem);
resource_size    1547 drivers/video/fbdev/sm501fb.c 					    resource_size(res),
resource_size    1556 drivers/video/fbdev/sm501fb.c 	info->regs = ioremap(res->start, resource_size(res));
resource_size    1573 drivers/video/fbdev/sm501fb.c 					      resource_size(res),
resource_size    1582 drivers/video/fbdev/sm501fb.c 	info->regs2d = ioremap(res->start, resource_size(res));
resource_size    1598 drivers/video/fbdev/sm501fb.c 					     resource_size(res),
resource_size    1606 drivers/video/fbdev/sm501fb.c 	info->fbmem = ioremap(res->start, resource_size(res));
resource_size    1613 drivers/video/fbdev/sm501fb.c 	info->fbmem_len = resource_size(res);
resource_size    1636 drivers/video/fbdev/sm501fb.c 			   resource_size(info->fbmem_res));
resource_size    1643 drivers/video/fbdev/sm501fb.c 			   resource_size(info->regs2d_res));
resource_size    1650 drivers/video/fbdev/sm501fb.c 			   resource_size(info->regs_res));
resource_size    1663 drivers/video/fbdev/sm501fb.c 			   resource_size(info->fbmem_res));
resource_size    1667 drivers/video/fbdev/sm501fb.c 			   resource_size(info->regs2d_res));
resource_size    1671 drivers/video/fbdev/sm501fb.c 			   resource_size(info->regs_res));
resource_size     716 drivers/video/fbdev/tmiofb.c 	info->fix.smem_len = resource_size(vram);
resource_size     720 drivers/video/fbdev/tmiofb.c 	info->fix.mmio_len = resource_size(lcr);
resource_size     725 drivers/video/fbdev/tmiofb.c 	par->ccr = ioremap(ccr->start, resource_size(ccr));
resource_size     321 drivers/video/fbdev/vt8500lcdfb.c 	res = request_mem_region(res->start, resource_size(res), "vt8500lcd");
resource_size     327 drivers/video/fbdev/vt8500lcdfb.c 	fbi->regbase = ioremap(res->start, resource_size(res));
resource_size     438 drivers/video/fbdev/vt8500lcdfb.c 	release_mem_region(res->start, resource_size(res));
resource_size     464 drivers/video/fbdev/vt8500lcdfb.c 	release_mem_region(res->start, resource_size(res));
resource_size     135 drivers/video/fbdev/wmt_ge_rops.c 	regbase = ioremap(res->start, resource_size(res));
resource_size     543 drivers/virtio/virtio_mmio.c 			resource_size(mem), pdev->name))
resource_size     557 drivers/virtio/virtio_mmio.c 	vm_dev->base = devm_ioremap(&pdev->dev, mem->start, resource_size(mem));
resource_size     692 drivers/vlynq/vlynq.c 	len = resource_size(regs_res);
resource_size     527 drivers/w1/masters/ds1wm.c 				       resource_size(res));
resource_size     549 drivers/w1/masters/ds1wm.c 	if ((8 << ds1wm_data->bus_shift) > resource_size(res)) {
resource_size     552 drivers/w1/masters/ds1wm.c 			(int)resource_size(res),
resource_size     276 drivers/watchdog/armada_37xx_wdt.c 	dev->reg = devm_ioremap(&pdev->dev, res->start, resource_size(res));
resource_size     249 drivers/watchdog/bcm63xx_wdt.c 							resource_size(r));
resource_size     469 drivers/watchdog/iTCO_wdt.c 					 resource_size(p->smi_res),
resource_size     518 drivers/watchdog/iTCO_wdt.c 				 resource_size(p->tco_res),
resource_size     234 drivers/watchdog/ie6xx_wdt.c 	if (!request_region(res->start, resource_size(res), pdev->name)) {
resource_size     264 drivers/watchdog/ie6xx_wdt.c 	release_region(res->start, resource_size(res));
resource_size     277 drivers/watchdog/ie6xx_wdt.c 	release_region(res->start, resource_size(res));
resource_size     123 drivers/watchdog/menz69_wdt.c 	drv->base = devm_ioremap(&dev->dev, mem->start, resource_size(mem));
resource_size     161 drivers/watchdog/mpc8xxx_wdt.c 		u32 __iomem *rsr = ioremap(res->start, resource_size(res));
resource_size     277 drivers/watchdog/mv64x60_wdt.c 	mv64x60_wdt_regs = devm_ioremap(&dev->dev, r->start, resource_size(r));
resource_size     188 drivers/watchdog/nic7018_wdt.c 	if (!devm_request_region(dev, io_rc->start, resource_size(io_rc),
resource_size     413 drivers/watchdog/orion_wdt.c 				    resource_size(res));
resource_size     508 drivers/watchdog/orion_wdt.c 				resource_size(res));
resource_size     540 drivers/watchdog/orion_wdt.c 						resource_size(res));
resource_size     269 drivers/watchdog/rc32434_wdt.c 	wdt_reg = devm_ioremap_nocache(&pdev->dev, r->start, resource_size(r));
resource_size      86 drivers/watchdog/tqmx86_wdt.c 	priv->io_base = devm_ioport_map(dev, res->start, resource_size(res));
resource_size      24 drivers/xen/arm-device.c 		nr = DIV_ROUND_UP(resource_size(r), XEN_PAGE_SIZE);
resource_size      58 drivers/xen/arm-device.c 		nr = DIV_ROUND_UP(resource_size(r), XEN_PAGE_SIZE);
resource_size     237 drivers/xen/xen-pciback/conf_space_header.c 			bar->len_val = -resource_size(&res[pos - 1]) >> 32;
resource_size     249 drivers/xen/xen-pciback/conf_space_header.c 	bar->len_val = -resource_size(&res[pos]) |
resource_size     687 fs/pstore/ram.c 	pdata->mem_size = resource_size(res);
resource_size     258 include/linux/dio.h #define dio_resource_len(d)   (resource_size(&(d)->resource))
resource_size      55 include/linux/pnp.h 	return resource_size(res);
resource_size     109 include/linux/zorro.h #define zorro_resource_len(z)	(resource_size(&(z)->resource))
resource_size     834 include/net/devlink.h 			      u64 resource_size,
resource_size     992 kernel/kexec_core.c 		size = resource_size(&crashk_res);
resource_size     259 kernel/resource.c 		size = resource_size(tmp);
resource_size    1094 kernel/resource.c 		return resource_size(res);
resource_size     166 lib/devres.c   	size = resource_size(res);
resource_size     214 lib/devres.c   		*size = resource_size(&res);
resource_size    1043 lib/vsprintf.c 		p = number(p, pend, resource_size(res), *specp);
resource_size    1040 mm/memory_hotplug.c 	size = resource_size(res);
resource_size      66 mm/memremap.c  	return (res->start + resource_size(res)) >> PAGE_SHIFT;
resource_size     124 mm/memremap.c  			       PHYS_PFN(resource_size(res)), NULL);
resource_size     126 mm/memremap.c  		arch_remove_memory(nid, res->start, resource_size(res),
resource_size     128 mm/memremap.c  		kasan_remove_zero_shadow(__va(res->start), resource_size(res));
resource_size     132 mm/memremap.c  	untrack_pfn(NULL, PHYS_PFN(res->start), resource_size(res));
resource_size     237 mm/memremap.c  	is_ram = region_intersects(res->start, resource_size(res),
resource_size     256 mm/memremap.c  			resource_size(res));
resource_size     275 mm/memremap.c  				PHYS_PFN(resource_size(res)), &restrictions);
resource_size     277 mm/memremap.c  		error = kasan_add_zero_shadow(__va(res->start), resource_size(res));
resource_size     283 mm/memremap.c  		error = arch_add_memory(nid, res->start, resource_size(res),
resource_size     292 mm/memremap.c  				PHYS_PFN(resource_size(res)), restrictions.altmap);
resource_size     305 mm/memremap.c  				PHYS_PFN(resource_size(res)), pgmap);
resource_size     310 mm/memremap.c  	kasan_remove_zero_shadow(__va(res->start), resource_size(res));
resource_size     312 mm/memremap.c  	untrack_pfn(NULL, PHYS_PFN(res->start), resource_size(res));
resource_size    6795 net/core/devlink.c 			      u64 resource_size,
resource_size    6838 net/core/devlink.c 	resource->size = resource_size;
resource_size    6839 net/core/devlink.c 	resource->size_new = resource_size;
resource_size     262 sound/aoa/soundbus/i2sbus/core.c 					   resource_size(&dev->resources[i]),
resource_size     271 sound/aoa/soundbus/i2sbus/core.c 	rlen = resource_size(r);
resource_size     277 sound/aoa/soundbus/i2sbus/core.c 	rlen = resource_size(r);
resource_size     283 sound/aoa/soundbus/i2sbus/core.c 	rlen = resource_size(r);
resource_size    1000 sound/arm/aaci.c 	aaci->base = ioremap(dev->res.start, resource_size(&dev->res));
resource_size     775 sound/atmel/ac97c.c 	chip->regs = ioremap(regs->start, resource_size(regs));
resource_size     867 sound/ppc/pmac.c 						   resource_size(&chip->rsrc[i]));
resource_size    1212 sound/ppc/pmac.c 					       resource_size(&chip->rsrc[i]),
resource_size    1237 sound/ppc/pmac.c 					       resource_size(&chip->rsrc[i]),
resource_size     642 sound/soc/amd/raven/acp3x-pcm-dma.c 					 resource_size(res));
resource_size     247 sound/soc/au1x/ac97c.c 				     resource_size(iores),
resource_size     252 sound/soc/au1x/ac97c.c 					 resource_size(iores));
resource_size     247 sound/soc/au1x/i2sc.c 				     resource_size(iores),
resource_size     252 sound/soc/au1x/i2sc.c 					 resource_size(iores));
resource_size     386 sound/soc/fsl/mpc5200_dma.c 	regs = ioremap(res.start, resource_size(&res));
resource_size     163 sound/soc/intel/atom/sst/sst_acpi.c 					(unsigned int)resource_size(rsrc));
resource_size     220 sound/soc/intel/atom/sst/sst_acpi.c 					resource_size(rsrc));
resource_size     121 sound/soc/intel/common/sst-acpi.c 			sst_pdata->lpe_size = resource_size(mmio);
resource_size     130 sound/soc/intel/common/sst-acpi.c 			sst_pdata->pcicfg_size = resource_size(mmio);
resource_size     139 sound/soc/intel/common/sst-acpi.c 			sst_pdata->fw_size = resource_size(mmio);
resource_size     405 sound/soc/samsung/spdif.c 				resource_size(mem_res), "samsung-spdif")) {
resource_size     447 sound/soc/samsung/spdif.c 	release_mem_region(mem_res->start, resource_size(mem_res));
resource_size     465 sound/soc/samsung/spdif.c 		release_mem_region(mem_res->start, resource_size(mem_res));
resource_size    1958 sound/soc/sh/fsi.c 					    res->start, resource_size(res));
resource_size     746 sound/soc/sh/siu_dai.c 					 resource_size(res), pdev->name);
resource_size     764 sound/soc/sh/siu_dai.c 			    resource_size(res) - REG_OFFSET);
resource_size     267 sound/soc/sof/imx/imx8.c 		size = resource_size(mmio);
resource_size     440 sound/soc/sof/intel/bdw.c 		size = resource_size(mmio);
resource_size     467 sound/soc/sof/intel/bdw.c 		size = resource_size(mmio);
resource_size     550 sound/soc/sof/intel/byt.c 		size = resource_size(mmio);
resource_size     578 sound/soc/sof/intel/byt.c 		size = resource_size(mmio);
resource_size     361 sound/soc/ti/omap-mcbsp-st.c 					   resource_size(res));
resource_size     635 sound/soc/ti/omap-mcbsp.c 	mcbsp->reg_cache_size = resource_size(res);
resource_size     714 sound/soc/ux500/ux500_msp_i2s.c 				      resource_size(res));
resource_size     919 sound/sparc/amd7930.c 			   resource_size(&op->resource[0]));
resource_size     956 sound/sparc/amd7930.c 			       resource_size(&op->resource[0]), "amd7930");
resource_size    1806 sound/sparc/cs4231.c 	chip->regs_size = resource_size(&op->resource[0]);
resource_size    2549 sound/sparc/dbri.c 	dbri->regs_size = resource_size(&op->resource[0]);
resource_size    1761 sound/x86/intel_hdmi_audio.c 					       (size_t)(resource_size(res_mmio)));
resource_size     230 tools/testing/nvdimm/test/iomap.c 			resource_size(res)));
resource_size     267 tools/testing/nvdimm/test/iomap.c 			WARN(!res || resource_size(res) != n,
resource_size     291 tools/testing/nvdimm/test/iomap.c 					+ resource_size(&nfit_res->res)) {
resource_size    1421 tools/testing/nvdimm/test/nfit.c 	if (resource_size(&nfit_res->res) >= DIMM_SIZE)
resource_size    1423 tools/testing/nvdimm/test/nfit.c 				resource_size(&nfit_res->res));
resource_size    1492 tools/testing/nvdimm/test/nfit.c 						+ resource_size(&n->res))) {
resource_size    1497 tools/testing/nvdimm/test/nfit.c 						+ resource_size(&n->res))) {
resource_size     377 virt/kvm/arm/vgic/vgic-v2.c 	    !PAGE_ALIGNED(resource_size(&info->vcpu))) {
resource_size     381 virt/kvm/arm/vgic/vgic-v2.c 					     resource_size(&info->vcpu),
resource_size     393 virt/kvm/arm/vgic/vgic-v2.c 				     resource_size(&info->vctrl),