Lines Matching full:chs
205 hda_nid_t cvt_nid, int chs) in hdmi_set_channel_count() argument
207 if (chs != hdmi_get_channel_count(codec, cvt_nid)) in hdmi_set_channel_count()
209 AC_VERB_SET_CVT_CHAN_COUNT, chs - 1); in hdmi_set_channel_count()
481 static int hdmi_manual_channel_allocation(int chs, unsigned char *map) in hdmi_manual_channel_allocation() argument
485 for (i = 0; i < chs; i++) { in hdmi_manual_channel_allocation()
495 if ((chs == channel_allocations[i].channels || in hdmi_manual_channel_allocation()
507 int chs, unsigned char *map, in hdmi_manual_setup_channel_mapping() argument
514 for (alsa_pos = 0; alsa_pos < chs; alsa_pos++) { in hdmi_manual_setup_channel_mapping()
671 int chs, count = 0; in hdmi_chmap_ctl_tlv() local
688 for (chs = 2; chs <= max_chs; chs++) { in hdmi_chmap_ctl_tlv()
694 int chs_bytes = chs * 4; in hdmi_chmap_ctl_tlv()
697 if (cap->channels != chs) in hdmi_chmap_ctl_tlv()
704 chmap, cap, chs); in hdmi_chmap_ctl_tlv()
724 tlv_chmap, chs); in hdmi_chmap_ctl_tlv()
728 dst += chs; in hdmi_chmap_ctl_tlv()