Lines Matching refs:cvt_idx

395 	int cvt_idx;  in cvt_nid_to_cvt_index()  local
397 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) in cvt_nid_to_cvt_index()
398 if (get_cvt(spec, cvt_idx)->cvt_nid == cvt_nid) in cvt_nid_to_cvt_index()
399 return cvt_idx; in cvt_nid_to_cvt_index()
1337 int cvt_idx, mux_idx = 0; in hdmi_choose_cvt() local
1342 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) { in hdmi_choose_cvt()
1343 per_cvt = get_cvt(spec, cvt_idx); in hdmi_choose_cvt()
1359 if (cvt_idx == spec->num_cvts) in hdmi_choose_cvt()
1365 *cvt_id = cvt_idx; in hdmi_choose_cvt()
1402 int cvt_idx, curr; in intel_not_share_assigned_cvt() local
1424 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) { in intel_not_share_assigned_cvt()
1425 per_cvt = get_cvt(spec, cvt_idx); in intel_not_share_assigned_cvt()
1429 cvt_idx, nid); in intel_not_share_assigned_cvt()
1432 cvt_idx); in intel_not_share_assigned_cvt()
1448 int pin_idx, cvt_idx, mux_idx = 0; in hdmi_pcm_open() local
1461 err = hdmi_choose_cvt(codec, pin_idx, &cvt_idx, &mux_idx); in hdmi_pcm_open()
1465 per_cvt = get_cvt(spec, cvt_idx); in hdmi_pcm_open()
1863 int cvt_idx, pin_idx; in hdmi_pcm_close() local
1869 cvt_idx = cvt_nid_to_cvt_index(codec, hinfo->nid); in hdmi_pcm_close()
1870 if (snd_BUG_ON(cvt_idx < 0)) in hdmi_pcm_close()
1872 per_cvt = get_cvt(spec, cvt_idx); in hdmi_pcm_close()
3473 int err, cvt_idx; in patch_atihdmi() local
3500 for (cvt_idx = 0; cvt_idx < spec->num_cvts; cvt_idx++) { in patch_atihdmi()
3501 per_cvt = get_cvt(spec, cvt_idx); in patch_atihdmi()