Searched refs:mic_type (Results 1 – 3 of 3) sorted by relevance
| /linux/sound/soc/codecs/ |
| H A D | mt6359.c | 1346 unsigned int mic_type = priv->mux_select[MUX_MIC_TYPE_0]; in mt_mic_bias_0_event() local 1349 __func__, event, mic_type); in mt_mic_bias_0_event() 1353 switch (mic_type) { in mt_mic_bias_0_event() 1400 unsigned int mic_type = priv->mux_select[MUX_MIC_TYPE_1]; in mt_mic_bias_1_event() local 1403 __func__, event, mic_type); in mt_mic_bias_1_event() 1408 if (mic_type == MIC_TYPE_MUX_DCC_ECM_SINGLE) in mt_mic_bias_1_event() 1433 unsigned int mic_type = priv->mux_select[MUX_MIC_TYPE_2]; in mt_mic_bias_2_event() local 1436 __func__, event, mic_type); in mt_mic_bias_2_event() 1440 switch (mic_type) { in mt_mic_bias_2_event() 1681 unsigned int mic_type; in mt_pga_l_event() local [all …]
|
| H A D | mt6358.c | 1542 unsigned int mic_type = priv->mux_select[MUX_MIC_TYPE]; in mt6358_amic_enable() local 1547 __func__, mic_type, mux_pga_l, mux_pga_r); in mt6358_amic_enable() 1549 if (IS_DCC_BASE(mic_type)) { in mt6358_amic_enable() 1561 switch (mic_type) { in mt6358_amic_enable() 1583 if (mic_type == MIC_TYPE_MUX_DCC_ECM_SINGLE) in mt6358_amic_enable() 1591 if (IS_DCC_BASE(mic_type)) { in mt6358_amic_enable() 1616 if (IS_DCC_BASE(mic_type)) { in mt6358_amic_enable() 1644 if (IS_DCC_BASE(mic_type)) { in mt6358_amic_enable() 1661 if (IS_DCC_BASE(mic_type)) { in mt6358_amic_enable() 1689 unsigned int mic_type = priv->mux_select[MUX_MIC_TYPE]; in mt6358_amic_disable() local [all …]
|
| H A D | mt6357.c | 368 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()
|