Lines Matching refs:cvt_idx
326 int cvt_idx;
328 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++)
329 if (get_cvt(spec, cvt_idx)->cvt_nid == cvt_nid)
330 return cvt_idx;
999 int cvt_idx, mux_idx = 0;
1008 cvt_idx = cvt_nid_to_cvt_index(codec, per_pin->cvt_nid);
1009 per_cvt = get_cvt(spec, cvt_idx);
1013 *cvt_id = cvt_idx;
1018 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) {
1019 per_cvt = get_cvt(spec, cvt_idx);
1037 if (cvt_idx == spec->num_cvts)
1044 *cvt_id = cvt_idx;
1094 int cvt_idx, curr;
1147 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) {
1148 per_cvt = get_cvt(spec, cvt_idx);
1152 cvt_idx, nid);
1155 cvt_idx);
1198 int cvt_idx, pcm_idx;
1206 err = hdmi_choose_cvt(codec, -1, &cvt_idx, false);
1210 per_cvt = get_cvt(spec, cvt_idx);
1246 int pin_idx, cvt_idx, pcm_idx;
1267 err = hdmi_choose_cvt(codec, pin_idx, &cvt_idx, false);
1271 per_cvt = get_cvt(spec, cvt_idx);
1706 int cvt_idx, pin_idx, err;
1731 err = hdmi_choose_cvt(codec, pin_idx, &cvt_idx, true);
1737 per_cvt = get_cvt(spec, cvt_idx);
1778 int cvt_idx, err;
1796 cvt_idx = cvt_nid_to_cvt_index(codec, per_pin->cvt_nid);
1797 if (cvt_idx >= 0 && cvt_idx < spec->num_cvts) {
1798 per_cvt = get_cvt(spec, cvt_idx);
2174 int cvt_idx, pin_idx, pcm_idx;
2187 cvt_idx = cvt_nid_to_cvt_index(codec, hinfo->nid);
2188 if (snd_BUG_ON(cvt_idx < 0)) {
2192 per_cvt = get_cvt(spec, cvt_idx);
4437 int err, cvt_idx;
4468 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) {
4469 per_cvt = get_cvt(spec, cvt_idx);