Home
last modified time | relevance | path

Searched refs:rsrc (Results 1 – 5 of 5) sorted by relevance

/sound/soc/intel/atom/sst/
Dsst_acpi.c150 struct resource *rsrc; in sst_platform_get_resources() local
155 rsrc = platform_get_resource(pdev, IORESOURCE_MEM, in sst_platform_get_resources()
157 if (!rsrc) { in sst_platform_get_resources()
161 dev_info(ctx->dev, "LPE base: %#x size:%#x", (unsigned int) rsrc->start, in sst_platform_get_resources()
162 (unsigned int)resource_size(rsrc)); in sst_platform_get_resources()
164 ctx->iram_base = rsrc->start + ctx->pdata->res_info->iram_offset; in sst_platform_get_resources()
174 ctx->dram_base = rsrc->start + ctx->pdata->res_info->dram_offset; in sst_platform_get_resources()
184 ctx->shim_phy_add = rsrc->start + ctx->pdata->res_info->shim_offset; in sst_platform_get_resources()
197 ctx->mailbox_add = rsrc->start + ctx->pdata->res_info->mbox_offset; in sst_platform_get_resources()
209 rsrc = platform_get_resource(pdev, IORESOURCE_MEM, in sst_platform_get_resources()
[all …]
/sound/ppc/
Dpmac.c842 release_mem_region(chip->rsrc[i].start, in snd_pmac_free()
843 resource_size(&chip->rsrc[i])); in snd_pmac_free()
1181 &chip->rsrc[i])) { in snd_pmac_new()
1187 if (request_mem_region(chip->rsrc[i].start, in snd_pmac_new()
1188 resource_size(&chip->rsrc[i]), in snd_pmac_new()
1192 i, rnames[i], &chip->rsrc[i]); in snd_pmac_new()
1198 ctrl_addr = chip->rsrc[0].start; in snd_pmac_new()
1199 txdma_addr = chip->rsrc[1].start; in snd_pmac_new()
1206 &chip->rsrc[i])) { in snd_pmac_new()
1212 if (request_mem_region(chip->rsrc[i].start, in snd_pmac_new()
[all …]
Dpmac.h104 struct resource rsrc[3]; member
/sound/pci/ctxfi/
Dctsrc.h90 const struct src_desc *desc, struct src **rsrc);
Dctsrc.c412 get_src_rsc(struct src_mgr *mgr, const struct src_desc *desc, struct src **rsrc) in get_src_rsc() argument
419 *rsrc = NULL; in get_src_rsc()
450 *rsrc = src; in get_src_rsc()