Home
last modified time | relevance | path

Searched refs:micb_num (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/sound/soc/codecs/
Dwcd-mbhc-v2.h242 bool (*micbias_enable_status)(struct snd_soc_component *component, int micb_num);
250 int micb_num, int req);
255 int micb_num, bool req_en);
Dwcd937x.c1027 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
[all …]
Dwcd939x.c1264 int micb_num, int req, bool is_dapm) in wcd939x_micbias_control() argument
1267 int micb_index = micb_num - 1; in wcd939x_micbias_control()
1270 switch (micb_num) { in wcd939x_micbias_control()
1285 __func__, micb_num); in wcd939x_micbias_control()
1345 if (micb_num == MIC_BIAS_2) in wcd939x_micbias_control()
1349 if (micb_num == MIC_BIAS_2 && is_dapm) in wcd939x_micbias_control()
1364 if (micb_num == MIC_BIAS_2) in wcd939x_micbias_control()
1371 if (micb_num == MIC_BIAS_2) in wcd939x_micbias_control()
1375 if (is_dapm && micb_num == MIC_BIAS_2) in wcd939x_micbias_control()
1389 int micb_num = w->shift; in wcd939x_codec_enable_micbias() local
[all …]
Dwcd938x.c1339 int micb_num, int req, bool is_dapm) in wcd938x_micbias_control() argument
1342 int micb_index = micb_num - 1; in wcd938x_micbias_control()
1345 switch (micb_num) { in wcd938x_micbias_control()
1360 __func__, micb_num); in wcd938x_micbias_control()
1398 if (micb_num == MIC_BIAS_2) in wcd938x_micbias_control()
1402 if (micb_num == MIC_BIAS_2 && is_dapm) in wcd938x_micbias_control()
1419 if (micb_num == MIC_BIAS_2) in wcd938x_micbias_control()
1425 if (micb_num == MIC_BIAS_2) in wcd938x_micbias_control()
1429 if (is_dapm && micb_num == MIC_BIAS_2) in wcd938x_micbias_control()
1443 int micb_num = w->shift; in wcd938x_codec_enable_micbias() local
[all …]
Dwcd934x.c2383 static bool wcd934x_mbhc_micb_en_status(struct snd_soc_component *component, int micb_num) in wcd934x_mbhc_micb_en_status() argument
2387 if (micb_num == MIC_BIAS_2) { in wcd934x_mbhc_micb_en_status()
2410 int micb_num, int req, bool is_dapm) in wcd934x_micbias_control() argument
2413 int micb_index = micb_num - 1; in wcd934x_micbias_control()
2416 switch (micb_num) { in wcd934x_micbias_control()
2431 __func__, micb_num); in wcd934x_micbias_control()
2460 if (micb_num == MIC_BIAS_2) in wcd934x_micbias_control()
2465 if (micb_num == MIC_BIAS_2 && is_dapm) in wcd934x_micbias_control()
2480 if (micb_num == MIC_BIAS_2) in wcd934x_micbias_control()
2486 if (micb_num == MIC_BIAS_2) in wcd934x_micbias_control()
[all …]
Dwcd9335.c2494 int micb_num, int req, bool is_dapm) in wcd9335_micbias_control() argument
2497 int micb_index = micb_num - 1; in wcd9335_micbias_control()
2506 switch (micb_num) { in wcd9335_micbias_control()
2521 __func__, micb_num); in wcd9335_micbias_control()
2567 int micb_num; in __wcd9335_codec_enable_micbias() local
2570 micb_num = MIC_BIAS_1; in __wcd9335_codec_enable_micbias()
2572 micb_num = MIC_BIAS_2; in __wcd9335_codec_enable_micbias()
2574 micb_num = MIC_BIAS_3; in __wcd9335_codec_enable_micbias()
2576 micb_num = MIC_BIAS_4; in __wcd9335_codec_enable_micbias()
2587 wcd9335_micbias_control(comp, micb_num, MICB_ENABLE, true); in __wcd9335_codec_enable_micbias()
[all …]