Lines Matching refs:afe_priv
148 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_adda_ul_event() local
156 if (afe_priv->mtkaif_dmic) { in mtk_adda_ul_event()
202 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_adda_dmic_get() local
204 ucontrol->value.integer.value[0] = afe_priv->mtkaif_dmic; in mt8183_adda_dmic_get()
214 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_adda_dmic_set() local
220 afe_priv->mtkaif_dmic = ucontrol->value.integer.value[0]; in mt8183_adda_dmic_set()
223 __func__, kcontrol->id.name, afe_priv->mtkaif_dmic); in mt8183_adda_dmic_set()
303 struct mt8183_afe_private *afe_priv = afe->platform_priv; in set_mtkaif_rx() local
307 switch (afe_priv->mtkaif_protocol) { in set_mtkaif_rx()
315 if (afe_priv->mtkaif_phase_cycle[0] >= in set_mtkaif_rx()
316 afe_priv->mtkaif_phase_cycle[1]) { in set_mtkaif_rx()
318 delay_cycle = afe_priv->mtkaif_phase_cycle[0] - in set_mtkaif_rx()
319 afe_priv->mtkaif_phase_cycle[1]; in set_mtkaif_rx()
322 delay_cycle = afe_priv->mtkaif_phase_cycle[1] - in set_mtkaif_rx()
323 afe_priv->mtkaif_phase_cycle[0]; in set_mtkaif_rx()