Lines Matching refs:from_nid
251 hda_nid_t from_nid, hda_nid_t to_nid, in get_nid_path() argument
261 if ((!from_nid || path->path[0] == from_nid) && in get_nid_path()
328 hda_nid_t from_nid, hda_nid_t to_nid) in is_reachable_path() argument
330 if (!from_nid || !to_nid) in is_reachable_path()
332 return snd_hda_get_conn_index(codec, to_nid, from_nid, true) >= 0; in is_reachable_path()
379 hda_nid_t from_nid, hda_nid_t to_nid, in __parse_nid_path() argument
393 if (conn[i] != from_nid) { in __parse_nid_path()
397 if (from_nid || in __parse_nid_path()
414 if (__parse_nid_path(codec, from_nid, conn[i], in __parse_nid_path()
448 static bool snd_hda_parse_nid_path(struct hda_codec *codec, hda_nid_t from_nid, in snd_hda_parse_nid_path() argument
452 if (__parse_nid_path(codec, from_nid, to_nid, anchor_nid, path, 1)) { in snd_hda_parse_nid_path()
471 snd_hda_add_new_path(struct hda_codec *codec, hda_nid_t from_nid, in snd_hda_add_new_path() argument
477 if (from_nid && to_nid && !is_reachable_path(codec, from_nid, to_nid)) in snd_hda_add_new_path()
481 path = get_nid_path(codec, from_nid, to_nid, anchor_nid); in snd_hda_add_new_path()
489 if (snd_hda_parse_nid_path(codec, from_nid, to_nid, anchor_nid, path)) in snd_hda_add_new_path()