Home
last modified time | relevance | path

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

/Linux-v5.4/sound/pci/hda/
Dhda_generic.c3379 static struct nid_path *get_input_path(struct hda_codec *codec, int adc_idx, int imux_idx) in get_input_path() argument
3387 adc_idx = spec->dyn_adc_idx[imux_idx]; in get_input_path()
3388 if (adc_idx < 0 || adc_idx >= AUTO_CFG_MAX_INS) { in get_input_path()
3392 return snd_hda_get_path_from_idx(codec, spec->input_paths[imux_idx][adc_idx]); in get_input_path()
3395 static int mux_select(struct hda_codec *codec, unsigned int adc_idx,
3412 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in mux_enum_get() local
3414 ucontrol->value.enumerated.item[0] = spec->cur_mux[adc_idx]; in mux_enum_get()
3422 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in mux_enum_put() local
3423 return mux_select(codec, adc_idx, in mux_enum_put()
3451 int i, adc_idx, err = 0; in cap_put_caller() local
[all …]