Lines Matching refs:anchor_nid
258 int anchor_nid) in get_nid_path() argument
269 if (!anchor_nid || in get_nid_path()
270 (anchor_nid > 0 && is_nid_contained(path, anchor_nid)) || in get_nid_path()
271 (anchor_nid < 0 && !is_nid_contained(path, anchor_nid))) in get_nid_path()
386 int anchor_nid, struct nid_path *path, in __parse_nid_path() argument
392 if (to_nid == anchor_nid) in __parse_nid_path()
393 anchor_nid = 0; /* anchor passed */ in __parse_nid_path()
394 else if (to_nid == (hda_nid_t)(-anchor_nid)) in __parse_nid_path()
409 if (anchor_nid <= 0) in __parse_nid_path()
421 anchor_nid, path, depth + 1)) 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()
478 hda_nid_t to_nid, int anchor_nid) in snd_hda_add_new_path() argument
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()