Lines Matching refs:acp63_base
147 ext_intr_stat = readl(adata->acp63_base + ACP_EXTERNAL_INTR_STAT); in acp63_irq_handler()
149 writel(ACP_SDW0_STAT, adata->acp63_base + ACP_EXTERNAL_INTR_STAT); in acp63_irq_handler()
156 ext_intr_stat1 = readl(adata->acp63_base + ACP_EXTERNAL_INTR_STAT1); in acp63_irq_handler()
158 writel(ACP_SDW1_STAT, adata->acp63_base + ACP_EXTERNAL_INTR_STAT1); in acp63_irq_handler()
166 writel(ACP_ERROR_IRQ, adata->acp63_base + ACP_EXTERNAL_INTR_STAT); in acp63_irq_handler()
168 writel(0, adata->acp63_base + ACP_SW0_I2S_ERROR_REASON); in acp63_irq_handler()
169 writel(0, adata->acp63_base + ACP_SW1_I2S_ERROR_REASON); in acp63_irq_handler()
170 writel(0, adata->acp63_base + ACP_ERROR_STATUS); in acp63_irq_handler()
176 writel(BIT(PDM_DMA_STAT), adata->acp63_base + ACP_EXTERNAL_INTR_STAT); in acp63_irq_handler()
184 writel(BIT(index), adata->acp63_base + ACP_EXTERNAL_INTR_STAT); in acp63_irq_handler()
214 adata->acp63_base + ACP_EXTERNAL_INTR_STAT1); in acp63_irq_handler()
221 adata->acp63_base + ACP_EXTERNAL_INTR_STAT1); in acp63_irq_handler()
269 sdw_res.mmio_base = acp_data->acp63_base; in amd_sdw_probe()
383 config = readl(acp_data->acp63_base + ACP_PIN_CONFIG); in get_acp63_device_config()
525 if (acp63_deinit(adata->acp63_base, &pci->dev)) in create_acp63_platform_devs()
571 adata->acp63_base = devm_ioremap(&pci->dev, addr, in snd_acp63_probe()
573 if (!adata->acp63_base) { in snd_acp63_probe()
582 ret = acp63_init(adata->acp63_base, &pci->dev); in snd_acp63_probe()
615 if (acp63_deinit(adata->acp63_base, &pci->dev)) in snd_acp63_probe()
629 sdw0_en = readl(adata->acp63_base + ACP_SW0_EN); in check_acp_sdw_enable_status()
630 sdw1_en = readl(adata->acp63_base + ACP_SW1_EN); in check_acp_sdw_enable_status()
638 val = readl(adata->acp63_base + ACP_SW0_WAKE_EN); in handle_acp63_sdw_pme_event()
642 val = readl(adata->acp63_base + ACP_SW1_WAKE_EN); in handle_acp63_sdw_pme_event()
658 ret = acp63_deinit(adata->acp63_base, dev); in snd_acp63_suspend()
674 ret = acp63_init(adata->acp63_base, dev); in snd_acp63_runtime_resume()
694 ret = acp63_init(adata->acp63_base, dev); in snd_acp63_resume()
722 ret = acp63_deinit(adata->acp63_base, &pci->dev); in snd_acp63_remove()