Searched refs:imux (Results 1 – 5 of 5) sorted by relevance
2855 struct hda_input_mux *imux = &spec->input_mux; in check_dyn_adc_switch() local2862 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() local2925 int imux_idx = imux->num_items; in parse_capture_source()2944 spec->hp_mic_mux_idx = imux->num_items; in parse_capture_source()[all …]
5028 int snd_hda_input_mux_info(const struct hda_input_mux *imux, in snd_hda_input_mux_info() argument5035 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() argument5057 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 …]
265 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,
2332 const struct hda_input_mux *imux = &cxt5066_analog_mic_boost; in cxt5066_mic_boost_mux_enum_put() local2335 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() local2420 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()
620 struct hda_input_mux *imux = &spec->gen.input_mux; in alc_inv_dmic_sync_adc() local626 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()