Searched refs:adc_idx (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/sound/pci/hda/ |
H A D | hda_generic.c | 3360 static struct nid_path *get_input_path(struct hda_codec *codec, int adc_idx, int imux_idx) get_input_path() argument 3368 adc_idx = spec->dyn_adc_idx[imux_idx]; get_input_path() 3369 if (adc_idx < 0 || adc_idx >= AUTO_CFG_MAX_INS) { get_input_path() 3373 return snd_hda_get_path_from_idx(codec, spec->input_paths[imux_idx][adc_idx]); get_input_path() 3376 static int mux_select(struct hda_codec *codec, unsigned int adc_idx, 3393 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); mux_enum_get() local 3395 ucontrol->value.enumerated.item[0] = spec->cur_mux[adc_idx]; mux_enum_get() 3403 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); mux_enum_put() local 3404 return mux_select(codec, adc_idx, mux_enum_put() 3432 int i, adc_idx, err = 0; cap_put_caller() local 3435 adc_idx = kcontrol->id.index; cap_put_caller() 3438 path = get_input_path(codec, adc_idx, i); cap_put_caller() 3938 static int mux_select(struct hda_codec *codec, unsigned int adc_idx, mux_select() argument 3951 if (spec->cur_mux[adc_idx] == idx) mux_select() 3954 old_path = get_input_path(codec, adc_idx, spec->cur_mux[adc_idx]); mux_select() 3960 spec->cur_mux[adc_idx] = idx; mux_select() 3963 update_hp_mic(codec, adc_idx, false); mux_select() 3968 path = get_input_path(codec, adc_idx, idx); mux_select()
|
Completed in 71 milliseconds