Lines Matching refs:acp62_base
157 acp62_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp62_base + in acp62_config_dma()
159 acp62_writel(PAGE_SIZE_4K_ENABLE, rtd->acp62_base + in acp62_config_dma()
166 acp62_writel(low, rtd->acp62_base + ACP_SCRATCH_REG_0 + val); in acp62_config_dma()
168 acp62_writel(high, rtd->acp62_base + ACP_SCRATCH_REG_0 + val + 4); in acp62_config_dma()
199 acp62_enable_pdm_interrupts(adata->acp62_base); in acp62_pdm_dma_open()
204 pdm_data->acp62_base = adata->acp62_base; in acp62_pdm_dma_open()
225 period_bytes, rtd->acp62_base); in acp62_pdm_dma_hw_params()
235 high = acp62_readl(rtd->acp62_base + ACP_WOV_RX_LINEARPOSITIONCNTR_HIGH); in acp62_pdm_get_byte_count()
237 low = acp62_readl(rtd->acp62_base + ACP_WOV_RX_LINEARPOSITIONCNTR_LOW); in acp62_pdm_get_byte_count()
275 acp62_disable_pdm_interrupts(adata->acp62_base); in acp62_pdm_dma_close()
302 acp62_writel(ch_mask, rtd->acp62_base + ACP_WOV_PDM_NO_OF_CHANNELS); in acp62_pdm_dai_trigger()
303 acp62_writel(PDM_DECIMATION_FACTOR, rtd->acp62_base + in acp62_pdm_dai_trigger()
306 pdm_status = acp62_check_pdm_dma_status(rtd->acp62_base); in acp62_pdm_dai_trigger()
308 ret = acp62_start_pdm_dma(rtd->acp62_base); in acp62_pdm_dai_trigger()
313 pdm_status = acp62_check_pdm_dma_status(rtd->acp62_base); in acp62_pdm_dai_trigger()
315 ret = acp62_stop_pdm_dma(rtd->acp62_base); in acp62_pdm_dai_trigger()
366 adata->acp62_base = devm_ioremap(&pdev->dev, res->start, resource_size(res)); in acp62_pdm_audio_probe()
367 if (!adata->acp62_base) in acp62_pdm_audio_probe()
409 period_bytes, adata->acp62_base); in acp62_pdm_resume()
411 acp62_enable_pdm_interrupts(adata->acp62_base); in acp62_pdm_resume()
420 acp62_disable_pdm_interrupts(adata->acp62_base); in acp62_pdm_suspend()
429 acp62_enable_pdm_interrupts(adata->acp62_base); in acp62_pdm_runtime_resume()