Lines Matching refs:cvt_idx
313 int cvt_idx;
315 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++)
316 if (get_cvt(spec, cvt_idx)->cvt_nid == cvt_nid)
317 return cvt_idx;
987 int cvt_idx, mux_idx = 0;
996 cvt_idx = cvt_nid_to_cvt_index(codec, per_pin->cvt_nid);
998 *cvt_id = cvt_idx;
1003 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) {
1004 per_cvt = get_cvt(spec, cvt_idx);
1022 if (cvt_idx == spec->num_cvts)
1029 *cvt_id = cvt_idx;
1079 int cvt_idx, curr;
1132 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) {
1133 per_cvt = get_cvt(spec, cvt_idx);
1137 cvt_idx, nid);
1140 cvt_idx);
1185 int cvt_idx, pcm_idx;
1193 err = hdmi_choose_cvt(codec, -1, &cvt_idx);
1197 per_cvt = get_cvt(spec, cvt_idx);
1233 int pin_idx, cvt_idx, pcm_idx;
1261 err = hdmi_choose_cvt(codec, pin_idx, &cvt_idx);
1265 per_cvt = get_cvt(spec, cvt_idx);
1690 int cvt_idx, pin_idx, err;
1701 err = hdmi_choose_cvt(codec, pin_idx, &cvt_idx);
1707 per_cvt = get_cvt(spec, cvt_idx);
1746 int cvt_idx;
1755 cvt_idx = cvt_nid_to_cvt_index(codec, per_pin->cvt_nid);
1756 if (cvt_idx >= 0 && cvt_idx < spec->num_cvts) {
1757 per_cvt = get_cvt(spec, cvt_idx);
2150 int cvt_idx, pin_idx, pcm_idx;
2163 cvt_idx = cvt_nid_to_cvt_index(codec, hinfo->nid);
2164 if (snd_BUG_ON(cvt_idx < 0)) {
2168 per_cvt = get_cvt(spec, cvt_idx);
4236 int err, cvt_idx;
4265 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) {
4266 per_cvt = get_cvt(spec, cvt_idx);