Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/mediatek/mt2701/
H A Dmt2701-afe-clock-ctrl.c40 struct mt2701_i2s_path *i2s_path = &afe_priv->i2s_path[i]; in mt2701_init_clock() local
46 if (IS_ERR(i2s_path->sel_ck)) { in mt2701_init_clock()
48 return PTR_ERR(i2s_path->sel_ck); 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()
60 if (IS_ERR(i2s_path->mclk_ck)) { in mt2701_init_clock()
83 if (IS_ERR(i2s_path->asrco_ck)) { in mt2701_init_clock()
138 struct mt2701_i2s_path *i2s_path = &afe_priv->i2s_path[id]; in mt2701_afe_enable_mclk() local
146 struct mt2701_i2s_path *i2s_path = &afe_priv->i2s_path[id]; in mt2701_afe_disable_mclk() local
274 struct mt2701_i2s_path *i2s_path = &priv->i2s_path[id]; in mt2701_mclk_configuration() local
[all …]
H A Dmt2701-afe-pcm.c128 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()
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()
174 struct mt2701_i2s_path *i2s_path, in mt2701_i2s_path_enable() argument
183 if (++i2s_path->on[stream_dir] != 1) in mt2701_i2s_path_enable()
237 struct mt2701_i2s_path *i2s_path; in mt2701_afe_i2s_prepare() local
243 i2s_path = &afe_priv->i2s_path[i2s_num]; in mt2701_afe_i2s_prepare()
1335 afe_priv->i2s_path = devm_kcalloc(dev, in mt2701_afe_pcm_dev_probe()
[all …]
H A Dmt2701-afe-clock-ctrl.h21 struct mt2701_i2s_path *i2s_path,
24 struct mt2701_i2s_path *i2s_path,
H A Dmt2701-afe-common.h90 struct mt2701_i2s_path *i2s_path; member