Home
last modified time | relevance | path

Searched refs:i2s_path (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/sound/soc/mediatek/mt2701/
Dmt2701-afe-clock-ctrl.c40 struct mt2701_i2s_path *i2s_path = &afe_priv->i2s_path[i]; in mt2701_init_clock() local
45 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 …]
Dmt2701-afe-pcm.c123 struct mt2701_i2s_path *i2s_path, in mt2701_afe_i2s_path_disable() argument
126 const struct mt2701_i2s_data *i2s_data = i2s_path->i2s_data[stream_dir]; in mt2701_afe_i2s_path_disable()
128 if (--i2s_path->on[stream_dir] < 0) in mt2701_afe_i2s_path_disable()
129 i2s_path->on[stream_dir] = 0; in mt2701_afe_i2s_path_disable()
131 if (i2s_path->on[stream_dir]) in mt2701_afe_i2s_path_disable()
138 mt2701_afe_disable_i2s(afe, i2s_path, stream_dir); in mt2701_afe_i2s_path_disable()
149 struct mt2701_i2s_path *i2s_path; in mt2701_afe_i2s_shutdown() local
155 i2s_path = &afe_priv->i2s_path[i2s_num]; in mt2701_afe_i2s_shutdown()
157 if (i2s_path->occupied[substream->stream]) in mt2701_afe_i2s_shutdown()
158 i2s_path->occupied[substream->stream] = 0; in mt2701_afe_i2s_shutdown()
[all …]
Dmt2701-afe-clock-ctrl.h21 struct mt2701_i2s_path *i2s_path,
24 struct mt2701_i2s_path *i2s_path,
Dmt2701-afe-common.h90 struct mt2701_i2s_path *i2s_path; member