Lines Matching refs:micb_num
1027 int micb_num, int req, bool is_dapm) in wcd937x_micbias_control() argument
1030 int micb_index = micb_num - 1; in wcd937x_micbias_control()
1037 switch (micb_num) { in wcd937x_micbias_control()
1048 dev_err(component->dev, "Invalid micbias number: %d\n", micb_num); in wcd937x_micbias_control()
1091 if (micb_num == MIC_BIAS_2) in wcd937x_micbias_control()
1095 if (micb_num == MIC_BIAS_2 && is_dapm) in wcd937x_micbias_control()
1110 if (micb_num == MIC_BIAS_2) in wcd937x_micbias_control()
1116 if (micb_num == MIC_BIAS_2) in wcd937x_micbias_control()
1121 if (is_dapm && micb_num == MIC_BIAS_2) in wcd937x_micbias_control()
1141 int micb_num = w->shift; in __wcd937x_codec_enable_micbias() local
1145 wcd937x_micbias_control(component, micb_num, in __wcd937x_codec_enable_micbias()
1152 wcd937x_micbias_control(component, micb_num, in __wcd937x_codec_enable_micbias()
1171 int micb_num = w->shift; in __wcd937x_codec_enable_micbias_pullup() local
1175 wcd937x_micbias_control(component, micb_num, MICB_PULLUP_ENABLE, true); in __wcd937x_codec_enable_micbias_pullup()
1181 wcd937x_micbias_control(component, micb_num, MICB_PULLUP_DISABLE, true); in __wcd937x_codec_enable_micbias_pullup()
1397 static bool wcd937x_mbhc_micb_en_status(struct snd_soc_component *component, int micb_num) in wcd937x_mbhc_micb_en_status() argument
1401 if (micb_num == MIC_BIAS_2) { in wcd937x_mbhc_micb_en_status()
1424 int micb_num, int req) in wcd937x_mbhc_request_micbias() argument
1426 return wcd937x_micbias_control(component, micb_num, req, false); in wcd937x_mbhc_request_micbias()
1446 int req_volt, int micb_num) in wcd937x_mbhc_micb_adjust_voltage() argument
1451 switch (micb_num) { in wcd937x_mbhc_micb_adjust_voltage()
1514 int micb_num, bool req_en) in wcd937x_mbhc_micb_ctrl_threshold_mic() argument
1519 if (micb_num != MIC_BIAS_2) in wcd937x_mbhc_micb_ctrl_threshold_mic()