Lines Matching full: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) in of_get_cpu_hwid() argument
19 ac = of_n_addr_cells(cpun); in of_get_cpu_hwid()
20 cell = of_get_property(cpun, "reg", &len); in of_get_cpu_hwid()
52 static bool __of_find_n_match_cpu_property(struct device_node *cpun, in __of_find_n_match_cpu_property() argument
59 ac = of_n_addr_cells(cpun); in __of_find_n_match_cpu_property()
60 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
84 bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun, in arch_find_n_match_cpu_physical_id() argument
92 __of_find_n_match_cpu_property(cpun, in arch_find_n_match_cpu_physical_id()
97 return __of_find_n_match_cpu_property(cpun, "reg", cpu, thread); in arch_find_n_match_cpu_physical_id()
121 struct device_node *cpun; in of_get_cpu_node() local
123 for_each_of_cpu_node(cpun) { in of_get_cpu_node()
124 if (arch_find_n_match_cpu_physical_id(cpun, cpu, thread)) in of_get_cpu_node()
125 return cpun; in of_get_cpu_node()