Lines Matching refs:cvt_idx

390 	int cvt_idx;  in cvt_nid_to_cvt_index()  local
392 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) in cvt_nid_to_cvt_index()
393 if (get_cvt(spec, cvt_idx)->cvt_nid == cvt_nid) in cvt_nid_to_cvt_index()
394 return cvt_idx; in cvt_nid_to_cvt_index()
1332 int cvt_idx, mux_idx = 0; in hdmi_choose_cvt() local
1337 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) { in hdmi_choose_cvt()
1338 per_cvt = get_cvt(spec, cvt_idx); in hdmi_choose_cvt()
1354 if (cvt_idx == spec->num_cvts) in hdmi_choose_cvt()
1360 *cvt_id = cvt_idx; in hdmi_choose_cvt()
1397 int cvt_idx, curr; in intel_not_share_assigned_cvt() local
1419 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) { in intel_not_share_assigned_cvt()
1420 per_cvt = get_cvt(spec, cvt_idx); in intel_not_share_assigned_cvt()
1424 cvt_idx, nid); in intel_not_share_assigned_cvt()
1427 cvt_idx); in intel_not_share_assigned_cvt()
1443 int pin_idx, cvt_idx, mux_idx = 0; in hdmi_pcm_open() local
1456 err = hdmi_choose_cvt(codec, pin_idx, &cvt_idx, &mux_idx); in hdmi_pcm_open()
1460 per_cvt = get_cvt(spec, cvt_idx); in hdmi_pcm_open()
1842 int cvt_idx, pin_idx; in hdmi_pcm_close() local
1848 cvt_idx = cvt_nid_to_cvt_index(codec, hinfo->nid); in hdmi_pcm_close()
1849 if (snd_BUG_ON(cvt_idx < 0)) in hdmi_pcm_close()
1851 per_cvt = get_cvt(spec, cvt_idx); in hdmi_pcm_close()
3247 int err, cvt_idx; in patch_atihdmi() local
3274 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) { in patch_atihdmi()
3275 per_cvt = get_cvt(spec, cvt_idx); in patch_atihdmi()