Lines Matching refs:mux_idx
281 unsigned char mux_idx;
440 unsigned int mux_idx = snd_ctl_get_ioffidx(kcontrol, &uinfo->id);
441 if (mux_idx >= spec->num_mux_defs)
442 mux_idx = 0;
443 if (!spec->input_mux[mux_idx].num_items && mux_idx > 0)
444 mux_idx = 0;
445 return snd_hda_input_mux_info(&spec->input_mux[mux_idx], uinfo);
466 unsigned int mux_idx;
471 mux_idx = adc_idx >= spec->num_mux_defs ? 0 : adc_idx;
472 imux = &spec->input_mux[mux_idx];
473 if (!imux->num_items && mux_idx > 0)
1082 alive->mux_idx,
1085 dead->mux_idx,
1091 alive->mux_idx);
1287 spec->ext_mic.mux_idx = MUX_IDX_UNDEF; /* set later */
1288 spec->int_mic.mux_idx = MUX_IDX_UNDEF; /* set later */
5053 unsigned int mux_idx;
5055 mux_idx = c >= spec->num_mux_defs ? 0 : c;
5056 imux = &spec->input_mux[mux_idx];
5057 if (!imux->num_items && mux_idx > 0)
5151 spec->int_mic.mux_idx = iidx;
5152 spec->ext_mic.mux_idx = eidx;
9345 spec->ext_mic.mux_idx = 0;
9346 spec->int_mic.mux_idx = 1;
10502 unsigned int mux_idx;
10510 mux_idx = c >= spec->num_mux_defs ? 0 : c;
10511 imux = &spec->input_mux[mux_idx];
10512 if (!imux->num_items && mux_idx > 0)
11322 spec->ext_mic.mux_idx = 0;
11324 spec->int_mic.mux_idx = 9;
12846 spec->ext_mic.mux_idx = 0;
12848 spec->int_mic.mux_idx = 6;
12885 spec->ext_mic.mux_idx = 0;
12887 spec->int_mic.mux_idx = 1;
12915 spec->ext_mic.mux_idx = 0;
12917 spec->int_mic.mux_idx = 1;
13947 spec->ext_mic.mux_idx = 0;
13949 spec->int_mic.mux_idx = 1;
14058 spec->ext_mic.mux_idx = 0;
14060 spec->int_mic.mux_idx = 1;
14070 spec->ext_mic.mux_idx = 0;
14072 spec->int_mic.mux_idx = 5;
14082 spec->ext_mic.mux_idx = 0;
14084 spec->int_mic.mux_idx = 1;
14094 spec->ext_mic.mux_idx = 0;
14096 spec->int_mic.mux_idx = 6;
17570 spec->ext_mic.mux_idx = 0;
17572 spec->int_mic.mux_idx = 1;
17751 spec->ext_mic.mux_idx = 0;
17753 spec->int_mic.mux_idx = 9;
17770 spec->ext_mic.mux_idx = 0;
17772 spec->int_mic.mux_idx = 1;