Lines Matching refs:num_conns
457 int num_conns = snd_hda_get_num_conns(codec, dig_out); 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 = snd_hda_get_num_conns(codec, dig_out); 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()
736 int num_conns = snd_hda_get_num_conns(codec, 0x0b) + 1; in ad1988_auto_smux_enum_info() local
737 if (num_conns > 4) in ad1988_auto_smux_enum_info()
738 num_conns = 4; in ad1988_auto_smux_enum_info()
739 return snd_hda_enum_helper_info(kcontrol, uinfo, num_conns, texts); in ad1988_auto_smux_enum_info()
759 int num_conns = snd_hda_get_num_conns(codec, 0x0b) + 1; in ad1988_auto_smux_enum_put() local
761 if (val >= num_conns) in ad1988_auto_smux_enum_put()
811 int i, num_conns; in ad1988_add_spdif_mux_ctl() local
847 num_conns = snd_hda_get_num_conns(codec, 0x0b) + 1; in ad1988_add_spdif_mux_ctl()
848 if (num_conns != 3 && num_conns != 4) in ad1988_add_spdif_mux_ctl()
851 for (i = 0; i < num_conns; i++) { in ad1988_add_spdif_mux_ctl()