Lines Matching refs:acp_base
72 writel(val, adata->acp_base + i2s_clk_reg); in acp_set_i2s_clk()
264 val = readl(adata->acp_base + reg_val); in acp_i2s_hwparams()
267 writel(val, adata->acp_base + reg_val); in acp_i2s_hwparams()
270 val = readl(adata->acp_base + reg_val); in acp_i2s_hwparams()
271 writel(val | BIT(1), adata->acp_base + reg_val); in acp_i2s_hwparams()
276 writel(tdm_fmt, adata->acp_base + fmt_reg); in acp_i2s_hwparams()
451 writel(period_bytes, adata->acp_base + water_val); in acp_i2s_trigger()
452 writel(buf_size, adata->acp_base + buf_reg); in acp_i2s_trigger()
455 val = readl(adata->acp_base + reg_val); in acp_i2s_trigger()
457 writel(val, adata->acp_base + reg_val); in acp_i2s_trigger()
458 writel(1, adata->acp_base + ier_val); in acp_i2s_trigger()
495 val = readl(adata->acp_base + reg_val); in acp_i2s_trigger()
497 writel(val, adata->acp_base + reg_val); in acp_i2s_trigger()
499 if (!(readl(adata->acp_base + ACP_BTTDM_ITER) & BIT(0)) && in acp_i2s_trigger()
500 !(readl(adata->acp_base + ACP_BTTDM_IRER) & BIT(0))) in acp_i2s_trigger()
501 writel(0, adata->acp_base + ACP_BTTDM_IER); in acp_i2s_trigger()
502 if (!(readl(adata->acp_base + ACP_I2STDM_ITER) & BIT(0)) && in acp_i2s_trigger()
503 !(readl(adata->acp_base + ACP_I2STDM_IRER) & BIT(0))) in acp_i2s_trigger()
504 writel(0, adata->acp_base + ACP_I2STDM_IER); in acp_i2s_trigger()
505 if (!(readl(adata->acp_base + ACP_HSTDM_ITER) & BIT(0)) && in acp_i2s_trigger()
506 !(readl(adata->acp_base + ACP_HSTDM_IRER) & BIT(0))) in acp_i2s_trigger()
507 writel(0, adata->acp_base + ACP_HSTDM_IER); in acp_i2s_trigger()
541 writel(phy_addr, adata->acp_base + ACP_I2S_TX_RINGBUFADDR(adata)); in acp_i2s_prepare()
553 writel(phy_addr, adata->acp_base + ACP_I2S_RX_RINGBUFADDR(adata)); in acp_i2s_prepare()
568 writel(phy_addr, adata->acp_base + ACP_BT_TX_RINGBUFADDR(adata)); in acp_i2s_prepare()
580 writel(phy_addr, adata->acp_base + ACP_BT_RX_RINGBUFADDR(adata)); in acp_i2s_prepare()
595 writel(phy_addr, adata->acp_base + ACP_HS_TX_RINGBUFADDR); in acp_i2s_prepare()
607 writel(phy_addr, adata->acp_base + ACP_HS_RX_RINGBUFADDR); in acp_i2s_prepare()
615 writel(DMA_SIZE, adata->acp_base + reg_dma_size); in acp_i2s_prepare()
616 writel(acp_fifo_addr, adata->acp_base + reg_fifo_addr); in acp_i2s_prepare()
617 writel(FIFO_SIZE, adata->acp_base + reg_fifo_size); in acp_i2s_prepare()