snd_hda_get_conn_index
int snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux,
idx = snd_hda_get_conn_index(codec, mix_nid, pin, true);
return snd_hda_get_conn_index(codec, to_nid, from_nid, true) >= 0;
if (snd_hda_get_conn_index(codec, conn[i], nid, recursive) >= 0)
EXPORT_SYMBOL_GPL(snd_hda_get_conn_index);