Lines Matching refs:cpun
298 u64 of_get_cpu_hwid(struct device_node *cpun, unsigned int thread) in of_get_cpu_hwid() argument
303 ac = of_n_addr_cells(cpun); in of_get_cpu_hwid()
304 cell = of_get_property(cpun, "reg", &len); in of_get_cpu_hwid()
336 static bool __of_find_n_match_cpu_property(struct device_node *cpun, in __of_find_n_match_cpu_property() argument
343 ac = of_n_addr_cells(cpun); in __of_find_n_match_cpu_property()
344 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
368 bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun, in arch_find_n_match_cpu_physical_id() argument
376 __of_find_n_match_cpu_property(cpun, in arch_find_n_match_cpu_physical_id()
381 return __of_find_n_match_cpu_property(cpun, "reg", cpu, thread); in arch_find_n_match_cpu_physical_id()
405 struct device_node *cpun; in of_get_cpu_node() local
407 for_each_of_cpu_node(cpun) { in of_get_cpu_node()
408 if (arch_find_n_match_cpu_physical_id(cpun, cpu, thread)) in of_get_cpu_node()
409 return cpun; in of_get_cpu_node()