Lines Matching refs:cpun
297 u64 of_get_cpu_hwid(struct device_node *cpun, unsigned int thread) in of_get_cpu_hwid() argument
302 ac = of_n_addr_cells(cpun); in of_get_cpu_hwid()
303 cell = of_get_property(cpun, "reg", &len); in of_get_cpu_hwid()
335 static bool __of_find_n_match_cpu_property(struct device_node *cpun, in __of_find_n_match_cpu_property() argument
342 ac = of_n_addr_cells(cpun); in __of_find_n_match_cpu_property()
343 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
367 bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun, in arch_find_n_match_cpu_physical_id() argument
375 __of_find_n_match_cpu_property(cpun, in arch_find_n_match_cpu_physical_id()
380 return __of_find_n_match_cpu_property(cpun, "reg", cpu, thread); in arch_find_n_match_cpu_physical_id()
404 struct device_node *cpun; in of_get_cpu_node() local
406 for_each_of_cpu_node(cpun) { in of_get_cpu_node()
407 if (arch_find_n_match_cpu_physical_id(cpun, cpu, thread)) in of_get_cpu_node()
408 return cpun; in of_get_cpu_node()