Lines Matching refs:to_nid
257 hda_nid_t from_nid, hda_nid_t to_nid, in get_nid_path() argument
268 (!to_nid || path->path[path->depth - 1] == to_nid)) { in get_nid_path()
334 hda_nid_t from_nid, hda_nid_t to_nid) in is_reachable_path() argument
336 if (!from_nid || !to_nid) in is_reachable_path()
338 return snd_hda_get_conn_index(codec, to_nid, from_nid, true) >= 0; in is_reachable_path()
385 hda_nid_t from_nid, hda_nid_t to_nid, in __parse_nid_path() argument
392 if (to_nid == anchor_nid) in __parse_nid_path()
394 else if (to_nid == (hda_nid_t)(-anchor_nid)) in __parse_nid_path()
397 nums = snd_hda_get_conn_list(codec, to_nid, &conn); in __parse_nid_path()
429 if (nums > 1 && get_wcaps_type(get_wcaps(codec, to_nid)) != AC_WID_AUD_MIX) in __parse_nid_path()
455 hda_nid_t to_nid, int anchor_nid, in snd_hda_parse_nid_path() argument
458 if (__parse_nid_path(codec, from_nid, to_nid, anchor_nid, path, 1)) { in snd_hda_parse_nid_path()
459 path->path[path->depth] = to_nid; in snd_hda_parse_nid_path()
478 hda_nid_t to_nid, int anchor_nid) in snd_hda_add_new_path() argument
483 if (from_nid && to_nid && !is_reachable_path(codec, from_nid, to_nid)) in snd_hda_add_new_path()
487 path = get_nid_path(codec, from_nid, to_nid, anchor_nid); in snd_hda_add_new_path()
495 if (snd_hda_parse_nid_path(codec, from_nid, to_nid, anchor_nid, path)) in snd_hda_add_new_path()