Lines Matching refs:acp5x_base
70 val = acp_readl(vg_i2s_data->acp5x_base + ACP_EXTERNAL_INTR_STAT); in i2s_irq_handler()
72 acp_writel(BIT(HS_TX_THRESHOLD), vg_i2s_data->acp5x_base + in i2s_irq_handler()
79 vg_i2s_data->acp5x_base + ACP_EXTERNAL_INTR_STAT); in i2s_irq_handler()
85 acp_writel(BIT(HS_RX_THRESHOLD), vg_i2s_data->acp5x_base + in i2s_irq_handler()
92 vg_i2s_data->acp5x_base + ACP_EXTERNAL_INTR_STAT); in i2s_irq_handler()
131 acp_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp5x_base + in config_acp5x_dma()
133 acp_writel(PAGE_SIZE_4K_ENABLE, rtd->acp5x_base + in config_acp5x_dma()
141 acp_writel(low, rtd->acp5x_base + ACP_SCRATCH_REG_0 + val); in config_acp5x_dma()
143 acp_writel(high, rtd->acp5x_base + ACP_SCRATCH_REG_0 + val + 4); in config_acp5x_dma()
158 rtd->acp5x_base + ACP_HS_TX_RINGBUFADDR); in config_acp5x_dma()
169 rtd->acp5x_base + ACP_I2S_TX_RINGBUFADDR); in config_acp5x_dma()
180 rtd->acp5x_base + ACP_HS_RX_RINGBUFADDR); in config_acp5x_dma()
191 rtd->acp5x_base + ACP_I2S_RX_RINGBUFADDR); in config_acp5x_dma()
194 acp_writel(DMA_SIZE, rtd->acp5x_base + reg_dma_size); in config_acp5x_dma()
195 acp_writel(acp_fifo_addr, rtd->acp5x_base + reg_fifo_addr); in config_acp5x_dma()
196 acp_writel(FIFO_SIZE, rtd->acp5x_base + reg_fifo_size); in config_acp5x_dma()
199 rtd->acp5x_base + ACP_EXTERNAL_INTR_CNTL); in config_acp5x_dma()
232 i2s_data->acp5x_base = adata->acp5x_base; in acp5x_dma_open()
386 adata->acp5x_base = devm_ioremap(&pdev->dev, res->start, in acp5x_audio_probe()
388 if (!adata->acp5x_base) in acp5x_audio_probe()
434 acp_writel((rtd->xfer_resolution << 3), rtd->acp5x_base + ACP_HSTDM_ITER); in acp5x_pcm_resume()
436 acp_writel(adata->tdm_fmt, adata->acp5x_base + ACP_HSTDM_TXFRMT); in acp5x_pcm_resume()
437 val = acp_readl(adata->acp5x_base + ACP_HSTDM_ITER); in acp5x_pcm_resume()
438 acp_writel(val | 0x2, adata->acp5x_base + ACP_HSTDM_ITER); in acp5x_pcm_resume()
444 acp_writel((rtd->xfer_resolution << 3), rtd->acp5x_base + ACP_I2STDM_ITER); in acp5x_pcm_resume()
446 acp_writel(adata->tdm_fmt, adata->acp5x_base + ACP_I2STDM_TXFRMT); in acp5x_pcm_resume()
447 val = acp_readl(adata->acp5x_base + ACP_I2STDM_ITER); in acp5x_pcm_resume()
448 acp_writel(val | 0x2, adata->acp5x_base + ACP_I2STDM_ITER); in acp5x_pcm_resume()
455 acp_writel((rtd->xfer_resolution << 3), rtd->acp5x_base + ACP_HSTDM_IRER); in acp5x_pcm_resume()
457 acp_writel(adata->tdm_fmt, adata->acp5x_base + ACP_HSTDM_RXFRMT); in acp5x_pcm_resume()
458 val = acp_readl(adata->acp5x_base + ACP_HSTDM_IRER); in acp5x_pcm_resume()
459 acp_writel(val | 0x2, adata->acp5x_base + ACP_HSTDM_IRER); in acp5x_pcm_resume()
465 acp_writel((rtd->xfer_resolution << 3), rtd->acp5x_base + ACP_I2STDM_IRER); in acp5x_pcm_resume()
467 acp_writel(adata->tdm_fmt, adata->acp5x_base + ACP_I2STDM_RXFRMT); in acp5x_pcm_resume()
468 val = acp_readl(adata->acp5x_base + ACP_I2STDM_IRER); in acp5x_pcm_resume()
469 acp_writel(val | 0x2, adata->acp5x_base + ACP_I2STDM_IRER); in acp5x_pcm_resume()
472 acp_writel(1, adata->acp5x_base + ACP_EXTERNAL_INTR_ENB); in acp5x_pcm_resume()
481 acp_writel(0, adata->acp5x_base + ACP_EXTERNAL_INTR_ENB); in acp5x_pcm_suspend()
490 acp_writel(1, adata->acp5x_base + ACP_EXTERNAL_INTR_ENB); in acp5x_pcm_runtime_resume()