Lines Matching defs:anchor_nid
258 int anchor_nid)
269 if (!anchor_nid ||
270 (anchor_nid > 0 && is_nid_contained(path, anchor_nid)) ||
271 (anchor_nid < 0 && !is_nid_contained(path, anchor_nid)))
386 int anchor_nid, struct nid_path *path,
392 if (to_nid == anchor_nid)
393 anchor_nid = 0; /* anchor passed */
394 else if (to_nid == (hda_nid_t)(-anchor_nid))
409 if (anchor_nid <= 0)
421 anchor_nid, path, depth + 1))
441 * @anchor_nid: the anchor indication
448 * when @anchor_nid is set to a positive value, only paths through the widget
450 * when @anchor_nid is set to a negative value, paths through the widget
452 * when @anchor_nid is zero, no special handling about path selection.
455 hda_nid_t to_nid, int anchor_nid,
458 if (__parse_nid_path(codec, from_nid, to_nid, anchor_nid, path, 1)) {
472 * @anchor_nid: the anchor indication, see snd_hda_parse_nid_path()
478 hda_nid_t to_nid, int anchor_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))