Lines Matching defs:mem_res
913 struct resource *mem_res, *dmatx_res, *dmarx_res;
951 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
952 if (mem_res == NULL) {
970 sdd->sfr_start = mem_res->start;
984 if (request_mem_region(mem_res->start,
985 resource_size(mem_res), pdev->name) == NULL) {
991 sdd->regs = ioremap(mem_res->start, resource_size(mem_res));
1059 mem_res->end, mem_res->start,
1078 release_mem_region(mem_res->start, resource_size(mem_res));
1090 struct resource *mem_res;
1112 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
1113 if (mem_res != NULL)
1114 release_mem_region(mem_res->start, resource_size(mem_res));