Lines Matching refs:i2s_num
87 if (val < 0 || val >= afe_priv->soc->i2s_num) { in mt2701_dai_num_to_i2s()
111 int i2s_num = mt2701_dai_num_to_i2s(afe, dai->id); in mt2701_afe_i2s_startup() local
114 if (i2s_num < 0) in mt2701_afe_i2s_startup()
115 return i2s_num; in mt2701_afe_i2s_startup()
117 return mt2701_afe_enable_mclk(afe, mode ? 1 : i2s_num); in mt2701_afe_i2s_startup()
146 int i2s_num = mt2701_dai_num_to_i2s(afe, dai->id); in mt2701_afe_i2s_shutdown() local
150 if (i2s_num < 0) in mt2701_afe_i2s_shutdown()
153 i2s_path = &afe_priv->i2s_path[i2s_num]; in mt2701_afe_i2s_shutdown()
168 mt2701_afe_disable_mclk(afe, mode ? 1 : i2s_num); in mt2701_afe_i2s_shutdown()
234 int ret, i2s_num = mt2701_dai_num_to_i2s(afe, dai->id); in mt2701_afe_i2s_prepare() local
238 if (i2s_num < 0) in mt2701_afe_i2s_prepare()
239 return i2s_num; in mt2701_afe_i2s_prepare()
241 i2s_path = &afe_priv->i2s_path[i2s_num]; in mt2701_afe_i2s_prepare()
246 ret = mt2701_mclk_configuration(afe, mode ? 1 : i2s_num); in mt2701_afe_i2s_prepare()
268 int i2s_num = mt2701_dai_num_to_i2s(afe, dai->id); in mt2701_afe_i2s_set_sysclk() local
271 if (i2s_num < 0) in mt2701_afe_i2s_set_sysclk()
272 return i2s_num; in mt2701_afe_i2s_set_sysclk()
280 afe_priv->i2s_path[mode ? 1 : i2s_num].mclk_rate = freq; in mt2701_afe_i2s_set_sysclk()
1334 afe_priv->soc->i2s_num, in mt2701_afe_pcm_dev_probe()
1382 for (i = 0; i < afe_priv->soc->i2s_num; i++) { in mt2701_afe_pcm_dev_probe()
1449 .i2s_num = 4,
1454 .i2s_num = 4,