Home
last modified time | relevance | path

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

/sound/pci/hda/
Dhda_codec.c3498 int snd_hda_input_mux_info(const struct hda_input_mux *imux, in snd_hda_input_mux_info() argument
3505 uinfo->value.enumerated.items = imux->num_items; in snd_hda_input_mux_info()
3506 if (!imux->num_items) in snd_hda_input_mux_info()
3509 if (index >= imux->num_items) in snd_hda_input_mux_info()
3510 index = imux->num_items - 1; in snd_hda_input_mux_info()
3511 strcpy(uinfo->value.enumerated.name, imux->items[index].label); in snd_hda_input_mux_info()
3525 const struct hda_input_mux *imux, in snd_hda_input_mux_put() argument
3532 if (!imux->num_items) in snd_hda_input_mux_put()
3535 if (idx >= imux->num_items) in snd_hda_input_mux_put()
3536 idx = imux->num_items - 1; in snd_hda_input_mux_put()
[all …]
Dhda_generic.c3183 struct hda_input_mux *imux = &spec->input_mux; in check_dyn_adc_switch() local
3190 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch()
3194 if (i >= imux->num_items) { in check_dyn_adc_switch()
3202 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch()
3221 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch()
3234 if (imux->num_items == 1 || in check_dyn_adc_switch()
3235 (imux->num_items == 2 && spec->hp_mic)) { in check_dyn_adc_switch()
3253 struct hda_input_mux *imux = &spec->input_mux; in parse_capture_source() local
3254 int imux_idx = imux->num_items; in parse_capture_source()
3273 spec->hp_mic_mux_idx = imux->num_items; in parse_capture_source()
[all …]
Dhda_local.h193 int snd_hda_input_mux_info(const struct hda_input_mux *imux,
196 const struct hda_input_mux *imux,
200 struct hda_input_mux *imux, const char *label,
Dpatch_conexant.c504 const struct hda_input_mux *imux = &olpc_xo_dc_bias; in olpc_xo_dc_bias_enum_put() local
508 if (idx >= imux->num_items) in olpc_xo_dc_bias_enum_put()
509 idx = imux->num_items - 1; in olpc_xo_dc_bias_enum_put()
Dpatch_realtek.c5990 struct hda_input_mux *imux = &spec->gen.input_mux; in alc_fixup_dell_xps13() local
6003 for (i = 0; i < imux->num_items; i++) { in alc_fixup_dell_xps13()