Searched refs:from_nid (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/base/
H A Dcpu.c36 unsigned int from_nid, unsigned int to_nid) change_cpu_under_node()
39 unregister_cpu_under_node(cpuid, from_nid); change_cpu_under_node()
48 int from_nid, to_nid; cpu_subsys_online() local
51 from_nid = cpu_to_node(cpuid); cpu_subsys_online()
52 if (from_nid == NUMA_NO_NODE) cpu_subsys_online()
61 if (from_nid != to_nid) cpu_subsys_online()
62 change_cpu_under_node(cpu, from_nid, to_nid); cpu_subsys_online()
35 change_cpu_under_node(struct cpu *cpu, unsigned int from_nid, unsigned int to_nid) change_cpu_under_node() argument
/linux-4.4.14/sound/pci/hda/
H A Dhda_generic.h310 hda_nid_t from_nid, hda_nid_t to_nid);
313 bool snd_hda_parse_nid_path(struct hda_codec *codec, hda_nid_t from_nid,
317 snd_hda_add_new_path(struct hda_codec *codec, hda_nid_t from_nid,
H A Dhda_generic.c260 hda_nid_t from_nid, hda_nid_t to_nid, get_nid_path()
270 if ((!from_nid || path->path[0] == from_nid) && get_nid_path()
284 * @from_nid: the NID where the path start from
288 * Passing 0 to either @from_nid or @to_nid behaves as a wildcard.
291 hda_nid_t from_nid, hda_nid_t to_nid) snd_hda_get_nid_path()
293 return get_nid_path(codec, from_nid, to_nid, 0); snd_hda_get_nid_path()
353 hda_nid_t from_nid, hda_nid_t to_nid) is_reachable_path()
355 if (!from_nid || !to_nid) is_reachable_path()
357 return snd_hda_get_conn_index(codec, to_nid, from_nid, true) >= 0; is_reachable_path()
404 hda_nid_t from_nid, hda_nid_t to_nid, __parse_nid_path()
418 if (conn[i] != from_nid) { __parse_nid_path()
419 /* special case: when from_nid is 0, __parse_nid_path()
422 if (from_nid || __parse_nid_path()
439 if (__parse_nid_path(codec, from_nid, conn[i], __parse_nid_path()
458 * @from_nid: the NID where the path start from
466 * when @from_nid is 0, try to find an empty DAC;
473 bool snd_hda_parse_nid_path(struct hda_codec *codec, hda_nid_t from_nid, snd_hda_parse_nid_path() argument
477 if (__parse_nid_path(codec, from_nid, to_nid, anchor_nid, path, 1)) { snd_hda_parse_nid_path()
490 * @from_nid: the NID where the path start from
497 snd_hda_add_new_path(struct hda_codec *codec, hda_nid_t from_nid, snd_hda_add_new_path() argument
503 if (from_nid && to_nid && !is_reachable_path(codec, from_nid, to_nid)) snd_hda_add_new_path()
507 path = get_nid_path(codec, from_nid, to_nid, anchor_nid); snd_hda_add_new_path()
515 if (snd_hda_parse_nid_path(codec, from_nid, to_nid, anchor_nid, path)) snd_hda_add_new_path()
259 get_nid_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid, int anchor_nid) get_nid_path() argument
290 snd_hda_get_nid_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid) snd_hda_get_nid_path() argument
352 is_reachable_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid) is_reachable_path() argument
403 __parse_nid_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid, int anchor_nid, struct nid_path *path, int depth) __parse_nid_path() argument
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
H A Dlib-move.c1710 lnet_parse(lnet_ni_t *ni, lnet_hdr_t *hdr, lnet_nid_t from_nid, lnet_parse() argument
1732 cpt = lnet_cpt_of_nid(from_nid); lnet_parse()
1739 libcfs_nid2str(from_nid), lnet_parse()
1751 libcfs_nid2str(from_nid), lnet_parse()
1762 libcfs_nid2str(from_nid), lnet_parse()
1787 libcfs_nid2str(from_nid), lnet_parse()
1797 libcfs_nid2str(from_nid), lnet_parse()
1805 libcfs_nid2str(from_nid), lnet_parse()
1813 libcfs_nid2str(from_nid), lnet_parse()
1826 libcfs_nid2str(from_nid), libcfs_nid2str(src_nid), lnet_parse()
1834 libcfs_nid2str(from_nid), libcfs_nid2str(src_nid), lnet_parse()
1850 msg->msg_from = from_nid; lnet_parse()
1867 rc = lnet_nid2peer_locked(&msg->msg_rxpeer, from_nid, cpt); lnet_parse()
1871 libcfs_nid2str(from_nid), libcfs_nid2str(src_nid), lnet_parse()
1880 LNET_NIDNET(src_nid) != LNET_NIDNET(from_nid)) { lnet_parse()

Completed in 261 milliseconds