Lines Matching refs:afe_priv
79 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_sgen_get() local
81 ucontrol->value.integer.value[0] = afe_priv->sgen_mode; in mt8186_sgen_get()
91 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_sgen_set() local
105 if (mode == afe_priv->sgen_mode) in mt8186_sgen_set()
123 afe_priv->sgen_mode = mode; in mt8186_sgen_set()
133 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_sgen_rate_get() local
135 ucontrol->value.integer.value[0] = afe_priv->sgen_rate; in mt8186_sgen_rate_get()
145 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_sgen_rate_set() local
156 if (rate == afe_priv->sgen_rate) in mt8186_sgen_rate_set()
167 afe_priv->sgen_rate = rate; in mt8186_sgen_rate_set()
177 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_sgen_amplitude_get() local
179 ucontrol->value.integer.value[0] = afe_priv->sgen_amplitude; in mt8186_sgen_amplitude_get()
188 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_sgen_amplitude_set() local
204 if (amplitude == afe_priv->sgen_amplitude) in mt8186_sgen_amplitude_set()
214 afe_priv->sgen_amplitude = amplitude; in mt8186_sgen_amplitude_set()