Home
last modified time | relevance | path

Searched refs:imux (Results 1 – 5 of 5) sorted by relevance

/sound/pci/hda/
Dhda_generic.c2855 struct hda_input_mux *imux = &spec->input_mux; in check_dyn_adc_switch() local
2862 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch()
2866 if (i >= imux->num_items) { in check_dyn_adc_switch()
2874 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch()
2893 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch()
2905 if (imux->num_items == 1 || in check_dyn_adc_switch()
2906 (imux->num_items == 2 && spec->hp_mic)) { in check_dyn_adc_switch()
2924 struct hda_input_mux *imux = &spec->input_mux; in parse_capture_source() local
2925 int imux_idx = imux->num_items; in parse_capture_source()
2944 spec->hp_mic_mux_idx = imux->num_items; in parse_capture_source()
[all …]
Dhda_codec.c5028 int snd_hda_input_mux_info(const struct hda_input_mux *imux, in snd_hda_input_mux_info() argument
5035 uinfo->value.enumerated.items = imux->num_items; in snd_hda_input_mux_info()
5036 if (!imux->num_items) in snd_hda_input_mux_info()
5039 if (index >= imux->num_items) in snd_hda_input_mux_info()
5040 index = imux->num_items - 1; in snd_hda_input_mux_info()
5041 strcpy(uinfo->value.enumerated.name, imux->items[index].label); in snd_hda_input_mux_info()
5050 const struct hda_input_mux *imux, in snd_hda_input_mux_put() argument
5057 if (!imux->num_items) in snd_hda_input_mux_put()
5060 if (idx >= imux->num_items) in snd_hda_input_mux_put()
5061 idx = imux->num_items - 1; in snd_hda_input_mux_put()
[all …]
Dhda_local.h265 int snd_hda_input_mux_info(const struct hda_input_mux *imux,
268 const struct hda_input_mux *imux,
271 int snd_hda_add_imux_item(struct hda_input_mux *imux, const char *label,
Dpatch_conexant.c2332 const struct hda_input_mux *imux = &cxt5066_analog_mic_boost; in cxt5066_mic_boost_mux_enum_put() local
2335 if (idx >= imux->num_items) in cxt5066_mic_boost_mux_enum_put()
2336 idx = imux->num_items - 1; in cxt5066_mic_boost_mux_enum_put()
2416 const struct hda_input_mux *imux = &cxt5066_analog_mic_boost; in cxt5066_olpc_dc_bias_enum_put() local
2420 if (idx >= imux->num_items) in cxt5066_olpc_dc_bias_enum_put()
2421 idx = imux->num_items - 1; in cxt5066_olpc_dc_bias_enum_put()
Dpatch_realtek.c620 struct hda_input_mux *imux = &spec->gen.input_mux; in alc_inv_dmic_sync_adc() local
626 for (i = 0; i < imux->num_items; i++) { in alc_inv_dmic_sync_adc()
630 if (i >= imux->num_items) in alc_inv_dmic_sync_adc()