Lines Matching refs:reg_val
94 u32 reg_val, frmt_reg, master_reg; in acp5x_i2s_hwparams() local
132 reg_val = ACP_HSTDM_ITER; in acp5x_i2s_hwparams()
137 reg_val = ACP_I2STDM_ITER; in acp5x_i2s_hwparams()
143 reg_val = ACP_HSTDM_IRER; in acp5x_i2s_hwparams()
148 reg_val = ACP_I2STDM_IRER; in acp5x_i2s_hwparams()
153 val = acp_readl(rtd->acp5x_base + reg_val); in acp5x_i2s_hwparams()
154 acp_writel(val | 0x2, rtd->acp5x_base + reg_val); in acp5x_i2s_hwparams()
157 val = acp_readl(rtd->acp5x_base + reg_val); in acp5x_i2s_hwparams()
160 acp_writel(val, rtd->acp5x_base + reg_val); in acp5x_i2s_hwparams()
252 u32 ret, val, period_bytes, reg_val, ier_val, water_val; in acp5x_i2s_trigger() local
271 reg_val = ACP_HSTDM_ITER; in acp5x_i2s_trigger()
279 reg_val = ACP_I2STDM_ITER; in acp5x_i2s_trigger()
288 reg_val = ACP_HSTDM_IRER; in acp5x_i2s_trigger()
296 reg_val = ACP_I2STDM_IRER; in acp5x_i2s_trigger()
303 val = acp_readl(rtd->acp5x_base + reg_val); in acp5x_i2s_trigger()
305 acp_writel(val, rtd->acp5x_base + reg_val); in acp5x_i2s_trigger()
315 reg_val = ACP_HSTDM_ITER; in acp5x_i2s_trigger()
319 reg_val = ACP_I2STDM_ITER; in acp5x_i2s_trigger()
325 reg_val = ACP_HSTDM_IRER; in acp5x_i2s_trigger()
329 reg_val = ACP_I2STDM_IRER; in acp5x_i2s_trigger()
332 val = acp_readl(rtd->acp5x_base + reg_val); in acp5x_i2s_trigger()
334 acp_writel(val, rtd->acp5x_base + reg_val); in acp5x_i2s_trigger()