Home
last modified time | relevance | path

Searched refs:mic_type (Results 1 – 2 of 2) sorted by relevance

/linux/sound/soc/codecs/
H A Dmt6358.c1541 unsigned int mic_type = priv->mux_select[MUX_MIC_TYPE]; in mt6358_amic_enable() local
1546 __func__, mic_type, mux_pga_l, mux_pga_r); in mt6358_amic_enable()
1548 if (IS_DCC_BASE(mic_type)) { in mt6358_amic_enable()
1560 switch (mic_type) { in mt6358_amic_enable()
1582 if (mic_type == MIC_TYPE_MUX_DCC_ECM_SINGLE) in mt6358_amic_enable()
1590 if (IS_DCC_BASE(mic_type)) { in mt6358_amic_enable()
1615 if (IS_DCC_BASE(mic_type)) { in mt6358_amic_enable()
1643 if (IS_DCC_BASE(mic_type)) { in mt6358_amic_enable()
1660 if (IS_DCC_BASE(mic_type)) { in mt6358_amic_enable()
1688 unsigned int mic_type = priv->mux_select[MUX_MIC_TYPE]; in mt6358_amic_disable() local
[all …]
H A Dmt6357.c368 static int mt6357_set_amic(struct mt6357_priv *priv, bool enable, unsigned int mic_type) in mt6357_set_amic() argument
371 if (IS_DCC_BASE(mic_type)) { in mt6357_set_amic()
383 switch (mic_type) { in mt6357_set_amic()
402 if (mic_type == MIC_TYPE_MUX_DCC_ECM_SINGLE) in mt6357_set_amic()
449 if (IS_DCC_BASE(mic_type)) { in mt6357_set_amic()
600 unsigned int mic_type = snd_soc_dapm_kcontrol_get_value(w->kcontrols[0]); in mt_mic_type_event() local
604 switch (mic_type) { in mt_mic_type_event()
615 mt6357_set_amic(priv, true, mic_type); in mt_mic_type_event()
620 switch (mic_type) { in mt_mic_type_event()
631 mt6357_set_amic(priv, false, mic_type); in mt_mic_type_event()
[all...]