Searched refs:imux (Results 1 – 5 of 5) sorted by relevance
3498 int snd_hda_input_mux_info(const struct hda_input_mux *imux, in snd_hda_input_mux_info() argument3505 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() argument3532 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 …]
3183 struct hda_input_mux *imux = &spec->input_mux; in check_dyn_adc_switch() local3190 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() local3254 int imux_idx = imux->num_items; in parse_capture_source()3273 spec->hp_mic_mux_idx = imux->num_items; in parse_capture_source()[all …]
193 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,
504 const struct hda_input_mux *imux = &olpc_xo_dc_bias; in olpc_xo_dc_bias_enum_put() local508 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()
5990 struct hda_input_mux *imux = &spec->gen.input_mux; in alc_fixup_dell_xps13() local6003 for (i = 0; i < imux->num_items; i++) { in alc_fixup_dell_xps13()