Searched refs:i2s_path (Results 1 – 4 of 4) sorted by relevance
40 struct mt2701_i2s_path *i2s_path = &afe_priv->i2s_path[i]; in mt2701_init_clock() local45 i2s_path->sel_ck = devm_clk_get(afe->dev, name); in mt2701_init_clock()46 if (IS_ERR(i2s_path->sel_ck)) { in mt2701_init_clock()48 return PTR_ERR(i2s_path->sel_ck); in mt2701_init_clock()52 i2s_path->div_ck = devm_clk_get(afe->dev, name); in mt2701_init_clock()53 if (IS_ERR(i2s_path->div_ck)) { in mt2701_init_clock()55 return PTR_ERR(i2s_path->div_ck); in mt2701_init_clock()59 i2s_path->mclk_ck = devm_clk_get(afe->dev, name); in mt2701_init_clock()60 if (IS_ERR(i2s_path->mclk_ck)) { in mt2701_init_clock()62 return PTR_ERR(i2s_path->mclk_ck); in mt2701_init_clock()[all …]
121 struct mt2701_i2s_path *i2s_path, in mt2701_afe_i2s_path_disable() argument124 const struct mt2701_i2s_data *i2s_data = i2s_path->i2s_data[stream_dir]; in mt2701_afe_i2s_path_disable()126 if (--i2s_path->on[stream_dir] < 0) in mt2701_afe_i2s_path_disable()127 i2s_path->on[stream_dir] = 0; in mt2701_afe_i2s_path_disable()129 if (i2s_path->on[stream_dir]) in mt2701_afe_i2s_path_disable()136 mt2701_afe_disable_i2s(afe, i2s_path, stream_dir); in mt2701_afe_i2s_path_disable()147 struct mt2701_i2s_path *i2s_path; in mt2701_afe_i2s_shutdown() local153 i2s_path = &afe_priv->i2s_path[i2s_num]; in mt2701_afe_i2s_shutdown()155 if (i2s_path->occupied[substream->stream]) in mt2701_afe_i2s_shutdown()156 i2s_path->occupied[substream->stream] = 0; in mt2701_afe_i2s_shutdown()[all …]
21 struct mt2701_i2s_path *i2s_path,24 struct mt2701_i2s_path *i2s_path,
90 struct mt2701_i2s_path *i2s_path; member