Lines Matching defs:cpun
9 * @cpun: CPU number(logical index) for which device node is required
14 u64 of_get_cpu_hwid(struct device_node *cpun, unsigned int thread)
19 ac = of_n_addr_cells(cpun);
20 cell = of_get_property(cpun, "reg", &len);
52 static bool __of_find_n_match_cpu_property(struct device_node *cpun,
59 ac = of_n_addr_cells(cpun);
60 cell = of_get_property(cpun, prop_name, &prop_len);
84 bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun,
92 __of_find_n_match_cpu_property(cpun,
97 return __of_find_n_match_cpu_property(cpun, "reg", cpu, thread);
121 struct device_node *cpun;
123 for_each_of_cpu_node(cpun) {
124 if (arch_find_n_match_cpu_physical_id(cpun, cpu, thread))
125 return cpun;