Lines Matching refs:acp3x_base

72 	val = rv_readl(rv_i2s_data->acp3x_base + mmACP_EXTERNAL_INTR_STAT);  in i2s_irq_handler()
74 rv_writel(BIT(BT_TX_THRESHOLD), rv_i2s_data->acp3x_base + in i2s_irq_handler()
82 rv_i2s_data->acp3x_base + mmACP_EXTERNAL_INTR_STAT); in i2s_irq_handler()
88 rv_writel(BIT(BT_RX_THRESHOLD), rv_i2s_data->acp3x_base + in i2s_irq_handler()
96 rv_i2s_data->acp3x_base + mmACP_EXTERNAL_INTR_STAT); in i2s_irq_handler()
136 rv_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp3x_base + in config_acp3x_dma()
138 rv_writel(PAGE_SIZE_4K_ENABLE, rtd->acp3x_base + in config_acp3x_dma()
146 rv_writel(low, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val); in config_acp3x_dma()
148 rv_writel(high, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val in config_acp3x_dma()
164 rtd->acp3x_base + mmACP_BT_TX_RINGBUFADDR); in config_acp3x_dma()
175 rtd->acp3x_base + mmACP_I2S_TX_RINGBUFADDR); in config_acp3x_dma()
186 rtd->acp3x_base + mmACP_BT_RX_RINGBUFADDR); in config_acp3x_dma()
197 rtd->acp3x_base + mmACP_I2S_RX_RINGBUFADDR); in config_acp3x_dma()
200 rv_writel(DMA_SIZE, rtd->acp3x_base + reg_dma_size); in config_acp3x_dma()
201 rv_writel(acp_fifo_addr, rtd->acp3x_base + reg_fifo_addr); in config_acp3x_dma()
202 rv_writel(FIFO_SIZE, rtd->acp3x_base + reg_fifo_size); in config_acp3x_dma()
205 rtd->acp3x_base + mmACP_EXTERNAL_INTR_CNTL); in config_acp3x_dma()
238 i2s_data->acp3x_base = adata->acp3x_base; in acp3x_dma_open()
392 adata->acp3x_base = devm_ioremap(&pdev->dev, res->start, in acp3x_audio_probe()
394 if (!adata->acp3x_base) in acp3x_audio_probe()
454 rtd->acp3x_base + reg_val); in acp3x_resume()
471 rtd->acp3x_base + reg_val); in acp3x_resume()
474 rv_writel(adata->tdm_fmt, adata->acp3x_base + frmt_val); in acp3x_resume()
475 val = rv_readl(adata->acp3x_base + reg_val); in acp3x_resume()
476 rv_writel(val | 0x2, adata->acp3x_base + reg_val); in acp3x_resume()
478 rv_writel(1, adata->acp3x_base + mmACP_EXTERNAL_INTR_ENB); in acp3x_resume()
489 rv_writel(0, adata->acp3x_base + mmACP_EXTERNAL_INTR_ENB); in acp3x_pcm_runtime_suspend()
500 rv_writel(1, adata->acp3x_base + mmACP_EXTERNAL_INTR_ENB); in acp3x_pcm_runtime_resume()