Lines Matching refs:num_conns
450 int num_conns = spec->num_smux_conns; in ad1983_auto_smux_enum_info() local
452 if (num_conns == 2) in ad1983_auto_smux_enum_info()
454 else if (num_conns == 3) in ad1983_auto_smux_enum_info()
477 int num_conns = spec->num_smux_conns; in ad1983_auto_smux_enum_put() local
479 if (val >= num_conns) in ad1983_auto_smux_enum_put()
501 int num_conns; in ad1983_add_spdif_mux_ctl() local
505 num_conns = snd_hda_get_num_conns(codec, dig_out); in ad1983_add_spdif_mux_ctl()
506 if (num_conns != 2 && num_conns != 3) in ad1983_add_spdif_mux_ctl()
508 spec->num_smux_conns = num_conns; in ad1983_add_spdif_mux_ctl()
731 int num_conns = spec->num_smux_conns; in ad1988_auto_smux_enum_info() local
733 if (num_conns > 4) in ad1988_auto_smux_enum_info()
734 num_conns = 4; in ad1988_auto_smux_enum_info()
735 return snd_hda_enum_helper_info(kcontrol, uinfo, num_conns, texts); in ad1988_auto_smux_enum_info()
755 int num_conns = spec->num_smux_conns; in ad1988_auto_smux_enum_put() local
757 if (val >= num_conns) in ad1988_auto_smux_enum_put()
807 int i, num_conns; in ad1988_add_spdif_mux_ctl() local
843 num_conns = snd_hda_get_num_conns(codec, 0x0b) + 1; in ad1988_add_spdif_mux_ctl()
844 if (num_conns != 3 && num_conns != 4) in ad1988_add_spdif_mux_ctl()
846 spec->num_smux_conns = num_conns; in ad1988_add_spdif_mux_ctl()
848 for (i = 0; i < num_conns; i++) { in ad1988_add_spdif_mux_ctl()