Lines Matching refs:num_conns
457 int num_conns = spec->num_smux_conns; in ad1983_auto_smux_enum_info() local
459 if (num_conns == 2) in ad1983_auto_smux_enum_info()
461 else if (num_conns == 3) in ad1983_auto_smux_enum_info()
484 int num_conns = spec->num_smux_conns; in ad1983_auto_smux_enum_put() local
486 if (val >= num_conns) in ad1983_auto_smux_enum_put()
508 int num_conns; in ad1983_add_spdif_mux_ctl() local
512 num_conns = snd_hda_get_num_conns(codec, dig_out); in ad1983_add_spdif_mux_ctl()
513 if (num_conns != 2 && num_conns != 3) in ad1983_add_spdif_mux_ctl()
515 spec->num_smux_conns = num_conns; in ad1983_add_spdif_mux_ctl()
738 int num_conns = spec->num_smux_conns; in ad1988_auto_smux_enum_info() local
740 if (num_conns > 4) in ad1988_auto_smux_enum_info()
741 num_conns = 4; in ad1988_auto_smux_enum_info()
742 return snd_hda_enum_helper_info(kcontrol, uinfo, num_conns, texts); in ad1988_auto_smux_enum_info()
762 int num_conns = spec->num_smux_conns; in ad1988_auto_smux_enum_put() local
764 if (val >= num_conns) in ad1988_auto_smux_enum_put()
814 int i, num_conns; in ad1988_add_spdif_mux_ctl() local
850 num_conns = snd_hda_get_num_conns(codec, 0x0b) + 1; in ad1988_add_spdif_mux_ctl()
851 if (num_conns != 3 && num_conns != 4) in ad1988_add_spdif_mux_ctl()
853 spec->num_smux_conns = num_conns; in ad1988_add_spdif_mux_ctl()
855 for (i = 0; i < num_conns; i++) { in ad1988_add_spdif_mux_ctl()