Lines Matching refs:src_priv
174 struct mtk_afe_src_priv *src_priv = afe_priv->dai_priv[id]; in mtk_set_src_1_param() local
177 int rate_in = src_priv->dl_rate; in mtk_set_src_1_param()
178 int rate_out = src_priv->ul_rate; in mtk_set_src_1_param()
244 struct mtk_afe_src_priv *src_priv = afe_priv->dai_priv[id]; in mtk_set_src_2_param() local
247 int rate_in = src_priv->dl_rate; in mtk_set_src_2_param()
248 int rate_out = src_priv->ul_rate; in mtk_set_src_2_param()
322 struct mtk_afe_src_priv *src_priv; in mtk_hw_src_event() local
330 src_priv = afe_priv->dai_priv[id]; in mtk_hw_src_event()
334 __func__, w->name, event, id, src_priv, in mtk_hw_src_event()
335 src_priv->dl_rate, src_priv->ul_rate); in mtk_hw_src_event()
488 struct mtk_afe_src_priv *src_priv; in mtk_afe_src_en_connect() local
491 src_priv = afe_priv->dai_priv[MT8186_DAI_SRC_1]; in mtk_afe_src_en_connect()
493 src_priv = afe_priv->dai_priv[MT8186_DAI_SRC_2]; in mtk_afe_src_en_connect()
498 src_priv->dl_rate, src_priv->ul_rate); in mtk_afe_src_en_connect()
500 return (src_priv->dl_rate > 0 && src_priv->ul_rate > 0) ? 1 : 0; in mtk_afe_src_en_connect()
554 struct mtk_afe_src_priv *src_priv = afe_priv->dai_priv[id]; in mtk_dai_src_hw_params() local
564 src_priv->dl_rate = rate; in mtk_dai_src_hw_params()
573 src_priv->ul_rate = rate; in mtk_dai_src_hw_params()
594 struct mtk_afe_src_priv *src_priv = afe_priv->dai_priv[id]; in mtk_dai_src_hw_free() local
600 src_priv->dl_rate = 0; in mtk_dai_src_hw_free()
602 src_priv->ul_rate = 0; in mtk_dai_src_hw_free()