Home
last modified time | relevance | path

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

/sound/soc/amd/acp/
Dacp-i2s.c92 struct acp_resource *rsrc; in acp_i2s_hwparams() local
99 rsrc = adata->rsrc; in acp_i2s_hwparams()
173 if (rsrc->soc_mclk) { in acp_i2s_hwparams()
249 struct acp_resource *rsrc = adata->rsrc; in acp_i2s_trigger() local
315 if (rsrc->soc_mclk) in acp_i2s_trigger()
378 struct acp_resource *rsrc = adata->rsrc; in acp_i2s_prepare() local
388 acp_fifo_addr = rsrc->sram_pte_offset + in acp_i2s_prepare()
397 acp_fifo_addr = rsrc->sram_pte_offset + in acp_i2s_prepare()
408 acp_fifo_addr = rsrc->sram_pte_offset + in acp_i2s_prepare()
417 acp_fifo_addr = rsrc->sram_pte_offset + in acp_i2s_prepare()
[all …]
Dacp-platform.c94 struct acp_resource *rsrc = adata->rsrc; in i2s_irq_handler() local
102 if (adata->rsrc->no_of_ctrls == 2) in i2s_irq_handler()
103 ext_intr_stat1 = readl(ACP_EXTERNAL_INTR_STAT(adata, (rsrc->irqp_used - 1))); in i2s_irq_handler()
105 ext_intr_stat = readl(ACP_EXTERNAL_INTR_STAT(adata, rsrc->irqp_used)); in i2s_irq_handler()
111 ACP_EXTERNAL_INTR_STAT(adata, rsrc->irqp_used)); in i2s_irq_handler()
115 if (adata->rsrc->no_of_ctrls == 2) { in i2s_irq_handler()
118 (rsrc->irqp_used - 1))); in i2s_irq_handler()
133 struct acp_resource *rsrc = adata->rsrc; in config_pte_for_stream() local
142 reg_val = rsrc->sram_pte_offset; in config_pte_for_stream()
151 struct acp_resource *rsrc = adata->rsrc; in config_acp_dma() local
[all …]
Dacp-renoir.c42 static struct acp_resource rsrc = { variable
202 struct acp_resource *rsrc = adata->rsrc; in acp3x_enable_interrupts() local
206 ext_intr_ctrl = readl(ACP_EXTERNAL_INTR_CNTL(adata, rsrc->irqp_used)); in acp3x_enable_interrupts()
208 writel(ext_intr_ctrl, ACP_EXTERNAL_INTR_CNTL(adata, rsrc->irqp_used)); in acp3x_enable_interrupts()
213 struct acp_resource *rsrc = adata->rsrc; in acp3x_disable_interrupts() local
216 ACP_EXTERNAL_INTR_STAT(adata, rsrc->irqp_used)); in acp3x_disable_interrupts()
304 adata->rsrc = &rsrc; in renoir_audio_probe()
Dacp-rembrandt.c47 static struct acp_resource rsrc = { variable
250 struct acp_resource *rsrc = adata->rsrc; in acp6x_enable_interrupts() local
254 ext_intr_ctrl = readl(ACP_EXTERNAL_INTR_CNTL(adata, rsrc->irqp_used)); in acp6x_enable_interrupts()
256 writel(ext_intr_ctrl, ACP_EXTERNAL_INTR_CNTL(adata, rsrc->irqp_used)); in acp6x_enable_interrupts()
261 struct acp_resource *rsrc = adata->rsrc; in acp6x_disable_interrupts() local
264 ACP_EXTERNAL_INTR_STAT(adata, rsrc->irqp_used)); in acp6x_disable_interrupts()
357 adata->rsrc = &rsrc; in rembrandt_audio_probe()
Dchip_offset_byte.h24 (adata->acp_base + adata->rsrc->irq_reg_offset + offset + (ctrl * 0x04))
29 (0x4 + (adata->rsrc->no_of_ctrls * 0x04)), ctrl)
Damd.h146 struct acp_resource *rsrc; member
/sound/soc/intel/atom/sst/
Dsst_acpi.c151 struct resource *rsrc; in sst_platform_get_resources() local
156 rsrc = platform_get_resource(pdev, IORESOURCE_MEM, in sst_platform_get_resources()
158 if (!rsrc) { in sst_platform_get_resources()
162 dev_info(ctx->dev, "LPE base: %#x size:%#x", (unsigned int) rsrc->start, in sst_platform_get_resources()
163 (unsigned int)resource_size(rsrc)); in sst_platform_get_resources()
165 ctx->iram_base = rsrc->start + ctx->pdata->res_info->iram_offset; in sst_platform_get_resources()
175 ctx->dram_base = rsrc->start + ctx->pdata->res_info->dram_offset; in sst_platform_get_resources()
185 ctx->shim_phy_add = rsrc->start + ctx->pdata->res_info->shim_offset; in sst_platform_get_resources()
198 ctx->mailbox_add = rsrc->start + ctx->pdata->res_info->mbox_offset; in sst_platform_get_resources()
210 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()
1182 &chip->rsrc[i])) { in snd_pmac_new()
1188 if (request_mem_region(chip->rsrc[i].start, in snd_pmac_new()
1189 resource_size(&chip->rsrc[i]), in snd_pmac_new()
1193 i, rnames[i], &chip->rsrc[i]); in snd_pmac_new()
1199 ctrl_addr = chip->rsrc[0].start; in snd_pmac_new()
1200 txdma_addr = chip->rsrc[1].start; in snd_pmac_new()
1207 &chip->rsrc[i])) { in snd_pmac_new()
1213 if (request_mem_region(chip->rsrc[i].start, in snd_pmac_new()
[all …]
Dpmac.h105 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()