Home
last modified time | relevance | path

Searched refs:acp6x_base (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/sound/soc/amd/yc/
Dacp6x-pdm-dma.c163 acp6x_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp6x_base + in acp6x_config_dma()
165 acp6x_writel(PAGE_SIZE_4K_ENABLE, rtd->acp6x_base + in acp6x_config_dma()
172 acp6x_writel(low, rtd->acp6x_base + ACP_SCRATCH_REG_0 + val); in acp6x_config_dma()
174 acp6x_writel(high, rtd->acp6x_base + ACP_SCRATCH_REG_0 + val + 4); in acp6x_config_dma()
205 acp6x_enable_pdm_interrupts(adata->acp6x_base); in acp6x_pdm_dma_open()
210 pdm_data->acp6x_base = adata->acp6x_base; in acp6x_pdm_dma_open()
231 period_bytes, rtd->acp6x_base); in acp6x_pdm_dma_hw_params()
241 acp6x_readl(rtd->acp6x_base + ACP_WOV_RX_LINEARPOSITIONCNTR_HIGH); in acp6x_pdm_get_byte_count()
243 acp6x_readl(rtd->acp6x_base + ACP_WOV_RX_LINEARPOSITIONCNTR_LOW); in acp6x_pdm_get_byte_count()
279 acp6x_disable_pdm_interrupts(adata->acp6x_base); in acp6x_pdm_dma_close()
[all …]
Dpci-acp6x.c20 void __iomem *acp6x_base; member
133 val = acp6x_readl(adata->acp6x_base + ACP_EXTERNAL_INTR_STAT); in acp6x_irq_handler()
136 acp6x_writel(BIT(PDM_DMA_STAT), adata->acp6x_base + ACP_EXTERNAL_INTR_STAT); in acp6x_irq_handler()
190 adata->acp6x_base = devm_ioremap(&pci->dev, addr, in snd_acp6x_probe()
192 if (!adata->acp6x_base) { in snd_acp6x_probe()
198 ret = acp6x_init(adata->acp6x_base); in snd_acp6x_probe()
201 val = acp6x_readl(adata->acp6x_base + ACP_PIN_CONFIG); in snd_acp6x_probe()
270 if (acp6x_deinit(adata->acp6x_base)) in snd_acp6x_probe()
286 ret = acp6x_deinit(adata->acp6x_base); in snd_acp6x_suspend()
298 ret = acp6x_init(adata->acp6x_base); in snd_acp6x_resume()
[all …]
Dacp6x.h79 void __iomem *acp6x_base; member
88 void __iomem *acp6x_base; member
/linux-6.6.21/sound/soc/amd/rpl/
Drpl-pci-acp6x.c18 void __iomem *acp6x_base; member
137 adata->acp6x_base = devm_ioremap(&pci->dev, addr, in snd_rpl_probe()
139 if (!adata->acp6x_base) { in snd_rpl_probe()
145 ret = rpl_init(adata->acp6x_base); in snd_rpl_probe()
168 ret = rpl_deinit(adata->acp6x_base); in snd_rpl_suspend()
180 ret = rpl_init(adata->acp6x_base); in snd_rpl_resume()
197 ret = rpl_deinit(adata->acp6x_base); in snd_rpl_remove()