Lines Matching full:rtd
152 static inline u64 acp_get_byte_count(struct i2s_stream_instance *rtd, in acp_get_byte_count() argument
158 switch (rtd->i2s_instance) { in acp_get_byte_count()
161 acp_readl(rtd->acp5x_base + in acp_get_byte_count()
164 acp_readl(rtd->acp5x_base + in acp_get_byte_count()
170 acp_readl(rtd->acp5x_base + in acp_get_byte_count()
173 acp_readl(rtd->acp5x_base + in acp_get_byte_count()
177 switch (rtd->i2s_instance) { in acp_get_byte_count()
180 acp_readl(rtd->acp5x_base + in acp_get_byte_count()
183 acp_readl(rtd->acp5x_base + in acp_get_byte_count()
189 acp_readl(rtd->acp5x_base + in acp_get_byte_count()
192 acp_readl(rtd->acp5x_base + in acp_get_byte_count()
200 struct i2s_stream_instance *rtd) in acp5x_set_i2s_clk() argument
205 switch (rtd->i2s_instance) { in acp5x_set_i2s_clk()
221 mclkgen.bits.i2stdm_bclk_div_val = rtd->bclk_div; in acp5x_set_i2s_clk()
222 mclkgen.bits.i2stdm_lrclk_div_val = rtd->lrclk_div; in acp5x_set_i2s_clk()
223 acp_writel(mclkgen.u32_all, rtd->acp5x_base + master_reg); in acp5x_set_i2s_clk()