Lines Matching refs:per_cvt

782 	struct hdmi_spec_per_cvt *per_cvt = NULL;
793 per_cvt = get_cvt(spec, cvt_idx);
794 if (per_cvt->assigned && !silent)
803 per_cvt = get_cvt(spec, cvt_idx);
806 if (per_cvt->assigned || per_cvt->silent_stream)
812 if (per_pin->mux_nids[mux_idx] == per_cvt->cvt_nid)
852 struct hdmi_spec_per_cvt *per_cvt = NULL;
863 per_cvt = get_cvt(spec, cvt_idx);
864 per_cvt->assigned = true;
865 hinfo->nid = per_cvt->cvt_nid;
867 pin_cvt_fixup(codec, NULL, per_cvt->cvt_nid);
873 hinfo->channels_min = per_cvt->channels_min;
874 hinfo->channels_max = per_cvt->channels_max;
875 hinfo->rates = per_cvt->rates;
876 hinfo->formats = per_cvt->formats;
877 hinfo->maxbps = per_cvt->maxbps;
902 struct hdmi_spec_per_cvt *per_cvt = NULL;
924 per_cvt = get_cvt(spec, cvt_idx);
926 per_cvt->assigned = true;
930 per_pin->cvt_nid = per_cvt->cvt_nid;
931 hinfo->nid = per_cvt->cvt_nid;
934 if (get_wcaps(codec, per_cvt->cvt_nid) & AC_WCAP_STRIPE)
945 snd_hda_spdif_ctls_assign(codec, pcm_idx, per_cvt->cvt_nid);
948 hinfo->channels_min = per_cvt->channels_min;
949 hinfo->channels_max = per_cvt->channels_max;
950 hinfo->rates = per_cvt->rates;
951 hinfo->formats = per_cvt->formats;
952 hinfo->maxbps = per_cvt->maxbps;
960 per_cvt->assigned = false;
1313 struct hdmi_spec_per_cvt *per_cvt;
1344 per_cvt = get_cvt(spec, cvt_idx);
1345 per_cvt->silent_stream = true;
1346 per_pin->cvt_nid = per_cvt->cvt_nid;
1350 per_pin->pin_nid, per_cvt->cvt_nid);
1372 struct hdmi_spec_per_cvt *per_cvt;
1393 per_cvt = get_cvt(spec, cvt_idx);
1394 per_cvt->silent_stream = false;
1548 struct hdmi_spec_per_cvt *per_cvt;
1555 per_cvt = snd_array_new(&spec->cvts);
1556 if (!per_cvt)
1559 per_cvt->cvt_nid = cvt_nid;
1560 per_cvt->channels_min = 2;
1562 per_cvt->channels_max = chans;
1568 &per_cvt->rates,
1569 &per_cvt->formats,
1571 &per_cvt->maxbps);
1771 struct hdmi_spec_per_cvt *per_cvt;
1788 per_cvt = get_cvt(spec, cvt_idx);
1789 per_cvt->assigned = false;
1900 struct hdmi_spec_per_cvt *per_cvt;
1917 per_cvt = get_cvt(spec, 0);
1918 pstr->channels_min = per_cvt->channels_min;
1919 pstr->channels_max = per_cvt->channels_max;