/linux-3.4.99/sound/soc/samsung/ |
D | ac97.c | 375 struct resource *mem_res, *dmatx_res, *dmarx_res, *dmamic_res, *irq_res; in s3c_ac97_probe() local 404 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in s3c_ac97_probe() 405 if (!mem_res) { in s3c_ac97_probe() 416 if (!request_mem_region(mem_res->start, in s3c_ac97_probe() 417 resource_size(mem_res), "ac97")) { in s3c_ac97_probe() 423 s3c_ac97_pcm_out.dma_addr = mem_res->start + S3C_AC97_PCM_DATA; in s3c_ac97_probe() 425 s3c_ac97_pcm_in.dma_addr = mem_res->start + S3C_AC97_PCM_DATA; in s3c_ac97_probe() 427 s3c_ac97_mic_in.dma_addr = mem_res->start + S3C_AC97_MIC_DATA; in s3c_ac97_probe() 432 s3c_ac97.regs = ioremap(mem_res->start, resource_size(mem_res)); in s3c_ac97_probe() 476 release_mem_region(mem_res->start, resource_size(mem_res)); in s3c_ac97_probe() [all …]
|
D | spdif.c | 363 struct resource *mem_res, *dma_res; in spdif_probe() local 377 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in spdif_probe() 378 if (!mem_res) { in spdif_probe() 411 if (!request_mem_region(mem_res->start, in spdif_probe() 412 resource_size(mem_res), "samsung-spdif")) { in spdif_probe() 418 spdif->regs = ioremap(mem_res->start, 0x100); in spdif_probe() 435 spdif_stereo_out.dma_addr = mem_res->start + DATA_OUTBUF; in spdif_probe() 445 release_mem_region(mem_res->start, resource_size(mem_res)); in spdif_probe() 459 struct resource *mem_res; in spdif_remove() local 465 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in spdif_remove() [all …]
|
D | pcm.c | 496 struct resource *mem_res, *dmatx_res, *dmarx_res; in s3c_pcm_dev_probe() local 521 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in s3c_pcm_dev_probe() 522 if (!mem_res) { in s3c_pcm_dev_probe() 551 if (!request_mem_region(mem_res->start, in s3c_pcm_dev_probe() 552 resource_size(mem_res), "samsung-pcm")) { in s3c_pcm_dev_probe() 558 pcm->regs = ioremap(mem_res->start, 0x100); in s3c_pcm_dev_probe() 573 s3c_pcm_stereo_in[pdev->id].dma_addr = mem_res->start in s3c_pcm_dev_probe() 575 s3c_pcm_stereo_out[pdev->id].dma_addr = mem_res->start in s3c_pcm_dev_probe() 600 release_mem_region(mem_res->start, resource_size(mem_res)); in s3c_pcm_dev_probe() 611 struct resource *mem_res; in s3c_pcm_dev_remove() local [all …]
|
/linux-3.4.99/drivers/usb/host/ |
D | isp1760-if.c | 356 struct resource *mem_res; in isp1760_plat_probe() local 363 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in isp1760_plat_probe() 364 if (!mem_res) { in isp1760_plat_probe() 369 mem_size = resource_size(mem_res); in isp1760_plat_probe() 370 if (!request_mem_region(mem_res->start, mem_size, "isp1760")) { in isp1760_plat_probe() 398 hcd = isp1760_register(mem_res->start, mem_size, irq_res->start, in isp1760_plat_probe() 411 release_mem_region(mem_res->start, mem_size); in isp1760_plat_probe() 418 struct resource *mem_res; in isp1760_plat_remove() local 421 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in isp1760_plat_remove() 422 mem_size = resource_size(mem_res); in isp1760_plat_remove() [all …]
|
/linux-3.4.99/drivers/ata/ |
D | pata_at91.c | 321 struct resource *mem_res; in pata_at91_probe() local 336 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in pata_at91_probe() 338 if (!mem_res) { in pata_at91_probe() 382 mem_res->start + CF_IDE_OFFSET, CF_IDE_RES_SIZE); in pata_at91_probe() 391 mem_res->start + CF_ALT_IDE_OFFSET, CF_IDE_RES_SIZE); in pata_at91_probe() 406 (unsigned long long)mem_res->start + CF_IDE_OFFSET, in pata_at91_probe() 407 (unsigned long long)mem_res->start + CF_ALT_IDE_OFFSET); in pata_at91_probe()
|
/linux-3.4.99/drivers/spi/ |
D | spi-s3c64xx.c | 960 struct resource *mem_res, *dmatx_res, *dmarx_res; in s3c64xx_spi_probe() local 994 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in s3c64xx_spi_probe() 995 if (mem_res == NULL) { in s3c64xx_spi_probe() 1019 sdd->sfr_start = mem_res->start; in s3c64xx_spi_probe() 1037 if (request_mem_region(mem_res->start, in s3c64xx_spi_probe() 1038 resource_size(mem_res), pdev->name) == NULL) { in s3c64xx_spi_probe() 1044 sdd->regs = ioremap(mem_res->start, resource_size(mem_res)); in s3c64xx_spi_probe() 1114 mem_res->end, mem_res->start, in s3c64xx_spi_probe() 1135 release_mem_region(mem_res->start, resource_size(mem_res)); in s3c64xx_spi_probe() 1147 struct resource *mem_res; in s3c64xx_spi_remove() local [all …]
|
D | spi-sirf.c | 486 struct resource *mem_res; in spi_sirfsoc_probe() local 506 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in spi_sirfsoc_probe() 507 if (!mem_res) { in spi_sirfsoc_probe() 538 sspi->base = devm_request_and_ioremap(&pdev->dev, mem_res); in spi_sirfsoc_probe()
|
/linux-3.4.99/arch/sparc/kernel/ |
D | pci_common.c | 333 struct resource *mem_res) in pci_register_legacy_regions() argument 343 p->start = mem_res->start + 0xa0000UL; in pci_register_legacy_regions() 346 request_resource(mem_res, p); in pci_register_legacy_regions() 353 p->start = mem_res->start + 0xf0000UL; in pci_register_legacy_regions() 356 request_resource(mem_res, p); in pci_register_legacy_regions() 363 p->start = mem_res->start + 0xc0000UL; in pci_register_legacy_regions() 366 request_resource(mem_res, p); in pci_register_legacy_regions()
|
/linux-3.4.99/arch/unicore32/kernel/ |
D | setup.c | 66 static struct resource mem_res[] = { variable 81 #define kernel_code mem_res[0] 82 #define kernel_data mem_res[1]
|
/linux-3.4.99/drivers/tty/serial/ |
D | ar933x_uart.c | 562 struct resource *mem_res; in ar933x_uart_probe() local 578 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in ar933x_uart_probe() 579 if (!mem_res) { in ar933x_uart_probe() 595 port->mapbase = mem_res->start; in ar933x_uart_probe() 597 port->membase = ioremap(mem_res->start, AR933X_UART_REGS_SIZE); in ar933x_uart_probe()
|
/linux-3.4.99/drivers/i2c/busses/ |
D | i2c-sirf.c | 265 struct resource *mem_res; in i2c_sirfsoc_probe() local 304 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in i2c_sirfsoc_probe() 305 if (mem_res == NULL) { in i2c_sirfsoc_probe() 311 siic->base = devm_request_and_ioremap(&pdev->dev, mem_res); in i2c_sirfsoc_probe()
|
/linux-3.4.99/arch/arm/mach-ixp4xx/ |
D | ixp4xx_qmgr.c | 18 static struct resource *mem_res; variable 290 mem_res = request_mem_region(IXP4XX_QMGR_BASE_PHYS, in qmgr_init() 293 if (mem_res == NULL) in qmgr_init()
|
D | ixp4xx_npe.c | 692 if (!(npe->mem_res = request_mem_region(npe->regs_phys, in npe_init_module() 716 if (npe_tab[i].mem_res) { in npe_cleanup_module() 718 release_resource(npe_tab[i].mem_res); in npe_cleanup_module()
|
/linux-3.4.99/arch/arm/mach-ixp4xx/include/mach/ |
D | npe.h | 18 struct resource *mem_res; member
|
/linux-3.4.99/drivers/vlynq/ |
D | vlynq.c | 671 struct resource *regs_res, *mem_res, *irq_res; in vlynq_probe() local 678 mem_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mem"); in vlynq_probe() 679 if (!mem_res) in vlynq_probe() 702 dev->mem_start = mem_res->start; in vlynq_probe() 703 dev->mem_end = mem_res->end; in vlynq_probe()
|
/linux-3.4.99/arch/arm/kernel/ |
D | setup.c | 156 static struct resource mem_res[] = { variable 177 #define video_ram mem_res[0] 178 #define kernel_code mem_res[1] 179 #define kernel_data mem_res[2]
|
/linux-3.4.99/drivers/media/video/s5p-fimc/ |
D | mipi-csis.c | 490 struct resource *mem_res; in s5pcsis_probe() local 515 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in s5pcsis_probe() 516 state->regs = devm_request_and_ioremap(&pdev->dev, mem_res); in s5pcsis_probe()
|
/linux-3.4.99/drivers/mfd/ |
D | sm501.c | 71 struct resource *mem_res; member 786 res->parent = sm->mem_res; in sm501_create_mem() 787 res->start = sm->mem_res->start + *offs; in sm501_create_mem() 1416 sm->mem_res = platform_get_resource(dev, IORESOURCE_MEM, 0); in sm501_plat_probe() 1418 if (sm->io_res == NULL || sm->mem_res == NULL) { in sm501_plat_probe() 1636 sm->mem_res = &dev->resource[0]; in sm501_pci_probe()
|
/linux-3.4.99/drivers/mmc/host/ |
D | davinci_mmc.c | 184 struct resource *mem_res; member 474 dst_port = host->mem_res->start + DAVINCI_MMCDXR; in mmc_davinci_dma_setup() 480 src_port = host->mem_res->start + DAVINCI_MMCDRR; in mmc_davinci_dma_setup() 1308 host->mem_res = mem; in davinci_mmcsd_probe() 1454 release_resource(host->mem_res); in davinci_mmcsd_remove()
|
D | omap.c | 131 struct resource *mem_res; member 1451 host->mem_res = res; in mmc_omap_probe() 1459 host->phys_base = host->mem_res->start; in mmc_omap_probe()
|
/linux-3.4.99/drivers/net/ethernet/cirrus/ |
D | cs89x0.c | 1915 struct resource *mem_res; in cs89x0_platform_probe() local 1923 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in cs89x0_platform_probe() 1925 if (mem_res == NULL || dev->irq <= 0) { in cs89x0_platform_probe() 1931 lp->phys_addr = mem_res->start; in cs89x0_platform_probe() 1932 lp->size = resource_size(mem_res); in cs89x0_platform_probe()
|
/linux-3.4.99/drivers/net/ethernet/xscale/ |
D | ixp4xx_eth.c | 169 struct resource *mem_res; member 1401 port->mem_res = request_mem_region(regs_phys, REGS_SIZE, dev->name); in eth_init_one() 1402 if (!port->mem_res) { in eth_init_one() 1443 release_resource(port->mem_res); in eth_init_one() 1461 release_resource(port->mem_res); in eth_remove_one()
|