Lines Matching refs:from_nid
257 hda_nid_t from_nid, hda_nid_t to_nid,
267 if ((!from_nid || path->path[0] == from_nid) &&
334 hda_nid_t from_nid, hda_nid_t to_nid)
336 if (!from_nid || !to_nid)
338 return snd_hda_get_conn_index(codec, to_nid, from_nid, true) >= 0;
385 hda_nid_t from_nid, hda_nid_t to_nid,
399 if (conn[i] != from_nid) {
400 /* special case: when from_nid is 0,
403 if (from_nid ||
420 if (__parse_nid_path(codec, from_nid, conn[i],
439 * @from_nid: the NID where the path start from
447 * when @from_nid is 0, try to find an empty DAC;
454 static bool snd_hda_parse_nid_path(struct hda_codec *codec, hda_nid_t from_nid,
458 if (__parse_nid_path(codec, from_nid, to_nid, anchor_nid, path, 1)) {
470 * @from_nid: the NID where the path start from
477 snd_hda_add_new_path(struct hda_codec *codec, hda_nid_t from_nid,
483 if (from_nid && to_nid && !is_reachable_path(codec, from_nid, to_nid))
487 path = get_nid_path(codec, from_nid, to_nid, anchor_nid);
495 if (snd_hda_parse_nid_path(codec, from_nid, to_nid, anchor_nid, path))