Searched refs:res_mem (Results 1 – 5 of 5) sorted by relevance
/drivers/pcmcia/ |
D | soc_common.c | 425 res = &skt->res_mem; in soc_common_pcmcia_set_mem_map() 694 skt->res_mem.start = _PCMCIAMem(skt->nr); in soc_common_drv_pcmcia_probe() 695 skt->res_mem.end = _PCMCIAMem(skt->nr) + PCMCIAMemSp - 1; in soc_common_drv_pcmcia_probe() 696 skt->res_mem.name = "memory"; in soc_common_drv_pcmcia_probe() 697 skt->res_mem.flags = IORESOURCE_MEM; in soc_common_drv_pcmcia_probe() 699 ret = request_resource(&skt->res_skt, &skt->res_mem); in soc_common_drv_pcmcia_probe() 778 release_resource(&skt->res_mem); in soc_common_drv_pcmcia_probe() 819 release_resource(&skt->res_mem); in soc_common_drv_pcmcia_remove()
|
D | au1000_generic.h | 115 struct resource res_mem; member
|
D | soc_common.h | 51 struct resource res_mem; member
|
D | au1000_generic.c | 391 skt->res_mem.name = "memory"; in au1x00_pcmcia_socket_probe() 392 skt->res_mem.flags = IORESOURCE_MEM; in au1x00_pcmcia_socket_probe()
|
/drivers/ata/ |
D | pata_mpc52xx.c | 686 struct resource res_mem; in mpc52xx_ata_probe() local 705 rv = of_address_to_resource(op->node, 0, &res_mem); in mpc52xx_ata_probe() 711 if (!devm_request_mem_region(&op->dev, res_mem.start, in mpc52xx_ata_probe() 717 ata_regs = devm_ioremap(&op->dev, res_mem.start, sizeof(*ata_regs)); in mpc52xx_ata_probe() 761 priv->ata_regs_pa = res_mem.start; in mpc52xx_ata_probe() 799 rv = mpc52xx_ata_init_one(&op->dev, priv, res_mem.start, in mpc52xx_ata_probe() 809 devm_release_mem_region(&op->dev, res_mem.start, sizeof(*ata_regs)); in mpc52xx_ata_probe()
|