Lines Matching refs:acp3x_base
137 val = rv_readl(rtd->acp3x_base + reg_val); in acp3x_i2s_hwparams()
138 rv_writel(val | 0x2, rtd->acp3x_base + reg_val); in acp3x_i2s_hwparams()
139 rv_writel(adata->tdm_fmt, rtd->acp3x_base + frmt_reg); in acp3x_i2s_hwparams()
141 val = rv_readl(rtd->acp3x_base + reg_val); in acp3x_i2s_hwparams()
144 rv_writel(val, rtd->acp3x_base + reg_val); in acp3x_i2s_hwparams()
201 rv_writel(period_bytes, rtd->acp3x_base + water_val); in acp3x_i2s_trigger()
202 rv_writel(buf_size, rtd->acp3x_base + buf_reg); in acp3x_i2s_trigger()
203 val = rv_readl(rtd->acp3x_base + reg_val); in acp3x_i2s_trigger()
205 rv_writel(val, rtd->acp3x_base + reg_val); in acp3x_i2s_trigger()
206 rv_writel(1, rtd->acp3x_base + ier_val); in acp3x_i2s_trigger()
232 val = rv_readl(rtd->acp3x_base + reg_val); in acp3x_i2s_trigger()
234 rv_writel(val, rtd->acp3x_base + reg_val); in acp3x_i2s_trigger()
236 if (!(rv_readl(rtd->acp3x_base + mmACP_BTTDM_ITER) & BIT(0)) && in acp3x_i2s_trigger()
237 !(rv_readl(rtd->acp3x_base + mmACP_BTTDM_IRER) & BIT(0))) in acp3x_i2s_trigger()
238 rv_writel(0, rtd->acp3x_base + mmACP_BTTDM_IER); in acp3x_i2s_trigger()
239 if (!(rv_readl(rtd->acp3x_base + mmACP_I2STDM_ITER) & BIT(0)) && in acp3x_i2s_trigger()
240 !(rv_readl(rtd->acp3x_base + mmACP_I2STDM_IRER) & BIT(0))) in acp3x_i2s_trigger()
241 rv_writel(0, rtd->acp3x_base + mmACP_I2STDM_IER); in acp3x_i2s_trigger()
302 adata->acp3x_base = devm_ioremap(&pdev->dev, res->start, in acp3x_dai_probe()
304 if (!adata->acp3x_base) in acp3x_dai_probe()