Lines Matching defs:mem_res
399 struct resource *mem_res, *dmatx_res, *dmarx_res;
424 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
425 if (!mem_res) {
457 if (!request_mem_region(mem_res->start,
458 resource_size(mem_res), "samsung-pcm")) {
464 pcm->regs = ioremap(mem_res->start, 0x100);
485 s3c_pcm_stereo_in[pdev->id].dma_addr = mem_res->start
487 s3c_pcm_stereo_out[pdev->id].dma_addr = mem_res->start
504 release_mem_region(mem_res->start, resource_size(mem_res));
515 struct resource *mem_res;
519 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
520 release_mem_region(mem_res->start, resource_size(mem_res));