Searched refs:acp6x_base (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/sound/soc/amd/yc/ |
D | acp6x-pdm-dma.c | 157 acp6x_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp6x_base + in acp6x_config_dma() 159 acp6x_writel(PAGE_SIZE_4K_ENABLE, rtd->acp6x_base + in acp6x_config_dma() 166 acp6x_writel(low, rtd->acp6x_base + ACP_SCRATCH_REG_0 + val); in acp6x_config_dma() 168 acp6x_writel(high, rtd->acp6x_base + ACP_SCRATCH_REG_0 + val + 4); in acp6x_config_dma() 199 acp6x_enable_pdm_interrupts(adata->acp6x_base); in acp6x_pdm_dma_open() 204 pdm_data->acp6x_base = adata->acp6x_base; in acp6x_pdm_dma_open() 225 period_bytes, rtd->acp6x_base); in acp6x_pdm_dma_hw_params() 235 acp6x_readl(rtd->acp6x_base + ACP_WOV_RX_LINEARPOSITIONCNTR_HIGH); in acp6x_pdm_get_byte_count() 237 acp6x_readl(rtd->acp6x_base + ACP_WOV_RX_LINEARPOSITIONCNTR_LOW); in acp6x_pdm_get_byte_count() 273 acp6x_disable_pdm_interrupts(adata->acp6x_base); in acp6x_pdm_dma_close() [all …]
|
D | pci-acp6x.c | 20 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() 184 adata->acp6x_base = devm_ioremap(&pci->dev, addr, in snd_acp6x_probe() 186 if (!adata->acp6x_base) { in snd_acp6x_probe() 192 ret = acp6x_init(adata->acp6x_base); in snd_acp6x_probe() 195 val = acp6x_readl(adata->acp6x_base + ACP_PIN_CONFIG); in snd_acp6x_probe() 264 if (acp6x_deinit(adata->acp6x_base)) in snd_acp6x_probe() 280 ret = acp6x_deinit(adata->acp6x_base); in snd_acp6x_suspend() 292 ret = acp6x_init(adata->acp6x_base); in snd_acp6x_resume() [all …]
|
D | acp6x.h | 79 void __iomem *acp6x_base; member 88 void __iomem *acp6x_base; member
|
/Linux-v6.1/sound/soc/amd/rpl/ |
D | rpl-pci-acp6x.c | 18 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()
|