i2s_path           40 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		struct mt2701_i2s_path *i2s_path = &afe_priv->i2s_path[i];
i2s_path           45 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		i2s_path->sel_ck = devm_clk_get(afe->dev, name);
i2s_path           46 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		if (IS_ERR(i2s_path->sel_ck)) {
i2s_path           48 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 			return PTR_ERR(i2s_path->sel_ck);
i2s_path           52 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		i2s_path->div_ck = devm_clk_get(afe->dev, name);
i2s_path           53 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		if (IS_ERR(i2s_path->div_ck)) {
i2s_path           55 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 			return PTR_ERR(i2s_path->div_ck);
i2s_path           59 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		i2s_path->mclk_ck = devm_clk_get(afe->dev, name);
i2s_path           60 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		if (IS_ERR(i2s_path->mclk_ck)) {
i2s_path           62 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 			return PTR_ERR(i2s_path->mclk_ck);
i2s_path           71 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		i2s_path->hop_ck[SNDRV_PCM_STREAM_PLAYBACK] = i2s_ck;
i2s_path           79 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		i2s_path->hop_ck[SNDRV_PCM_STREAM_CAPTURE] = i2s_ck;
i2s_path           82 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		i2s_path->asrco_ck = devm_clk_get(afe->dev, name);
i2s_path           83 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		if (IS_ERR(i2s_path->asrco_ck)) {
i2s_path           85 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 			return PTR_ERR(i2s_path->asrco_ck);
i2s_path          102 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 			  struct mt2701_i2s_path *i2s_path,
i2s_path          107 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	ret = clk_prepare_enable(i2s_path->asrco_ck);
i2s_path          113 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	ret = clk_prepare_enable(i2s_path->hop_ck[dir]);
i2s_path          122 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	clk_disable_unprepare(i2s_path->asrco_ck);
i2s_path          128 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 			    struct mt2701_i2s_path *i2s_path,
i2s_path          131 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	clk_disable_unprepare(i2s_path->hop_ck[dir]);
i2s_path          132 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	clk_disable_unprepare(i2s_path->asrco_ck);
i2s_path          138 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	struct mt2701_i2s_path *i2s_path = &afe_priv->i2s_path[id];
i2s_path          140 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	return clk_prepare_enable(i2s_path->mclk_ck);
i2s_path          146 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	struct mt2701_i2s_path *i2s_path = &afe_priv->i2s_path[id];
i2s_path          148 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	clk_disable_unprepare(i2s_path->mclk_ck);
i2s_path          274 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	struct mt2701_i2s_path *i2s_path = &priv->i2s_path[id];
i2s_path          278 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	if (!(MT2701_PLL_DOMAIN_0_RATE % i2s_path->mclk_rate))
i2s_path          279 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		ret = clk_set_parent(i2s_path->sel_ck,
i2s_path          281 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	else if (!(MT2701_PLL_DOMAIN_1_RATE % i2s_path->mclk_rate))
i2s_path          282 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 		ret = clk_set_parent(i2s_path->sel_ck,
i2s_path          291 sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c 	ret = clk_set_rate(i2s_path->div_ck, i2s_path->mclk_rate);
i2s_path           90 sound/soc/mediatek/mt2701/mt2701-afe-common.h 	struct mt2701_i2s_path *i2s_path;
i2s_path          123 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 				       struct mt2701_i2s_path *i2s_path,
i2s_path          126 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	const struct mt2701_i2s_data *i2s_data = i2s_path->i2s_data[stream_dir];
i2s_path          128 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	if (--i2s_path->on[stream_dir] < 0)
i2s_path          129 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		i2s_path->on[stream_dir] = 0;
i2s_path          131 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	if (i2s_path->on[stream_dir])
i2s_path          138 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	mt2701_afe_disable_i2s(afe, i2s_path, stream_dir);
i2s_path          149 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	struct mt2701_i2s_path *i2s_path;
i2s_path          155 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	i2s_path = &afe_priv->i2s_path[i2s_num];
i2s_path          157 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	if (i2s_path->occupied[substream->stream])
i2s_path          158 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		i2s_path->occupied[substream->stream] = 0;
i2s_path          162 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	mt2701_afe_i2s_path_disable(afe, i2s_path, substream->stream);
i2s_path          166 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		mt2701_afe_i2s_path_disable(afe, i2s_path, !substream->stream);
i2s_path          174 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 				  struct mt2701_i2s_path *i2s_path,
i2s_path          177 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	const struct mt2701_i2s_data *i2s_data = i2s_path->i2s_data[stream_dir];
i2s_path          183 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	if (++i2s_path->on[stream_dir] != 1)
i2s_path          217 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	mt2701_afe_enable_i2s(afe, i2s_path, stream_dir);
i2s_path          237 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	struct mt2701_i2s_path *i2s_path;
i2s_path          243 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	i2s_path = &afe_priv->i2s_path[i2s_num];
i2s_path          245 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	if (i2s_path->occupied[substream->stream])
i2s_path          252 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	i2s_path->occupied[substream->stream] = 1;
i2s_path          256 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		mt2701_i2s_path_enable(afe, i2s_path, !substream->stream,
i2s_path          259 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	mt2701_i2s_path_enable(afe, i2s_path, substream->stream,
i2s_path          282 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	afe_priv->i2s_path[mode ? 1 : i2s_num].mclk_rate = freq;
i2s_path         1345 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	afe_priv->i2s_path = devm_kcalloc(dev,
i2s_path         1349 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	if (!afe_priv->i2s_path)
i2s_path         1395 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		afe_priv->i2s_path[i].i2s_data[SNDRV_PCM_STREAM_PLAYBACK] =
i2s_path         1397 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		afe_priv->i2s_path[i].i2s_data[SNDRV_PCM_STREAM_CAPTURE] =