Lines Matching defs:to_nid
257 hda_nid_t from_nid, hda_nid_t to_nid,
268 (!to_nid || path->path[path->depth - 1] == to_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,
392 if (to_nid == anchor_nid)
394 else if (to_nid == (hda_nid_t)(-anchor_nid))
397 nums = snd_hda_get_conn_list(codec, to_nid, &conn);
429 if (nums > 1 && get_wcaps_type(get_wcaps(codec, to_nid)) != AC_WID_AUD_MIX)
440 * @to_nid: the NID where the path ends at
455 hda_nid_t to_nid, int anchor_nid,
458 if (__parse_nid_path(codec, from_nid, to_nid, anchor_nid, path, 1)) {
459 path->path[path->depth] = to_nid;
471 * @to_nid: the NID where the path ends at
478 hda_nid_t to_nid, int anchor_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))