Searched refs:cpun (Results 1 – 2 of 2) sorted by relevance
/drivers/of/ |
D | base.c | 344 static bool __of_find_n_match_cpu_property(struct device_node *cpun, in __of_find_n_match_cpu_property() argument 351 ac = of_n_addr_cells(cpun); in __of_find_n_match_cpu_property() 352 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property() 374 bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun, in arch_find_n_match_cpu_physical_id() argument 382 __of_find_n_match_cpu_property(cpun, in arch_find_n_match_cpu_physical_id() 387 return __of_find_n_match_cpu_property(cpun, "reg", cpu, thread); in arch_find_n_match_cpu_physical_id() 411 struct device_node *cpun; in of_get_cpu_node() local 413 for_each_node_by_type(cpun, "cpu") { in of_get_cpu_node() 414 if (arch_find_n_match_cpu_physical_id(cpun, cpu, thread)) in of_get_cpu_node() 415 return cpun; in of_get_cpu_node()
|
/drivers/bus/ |
D | arm-cci.c | 1917 struct device_node *cpun; in cci_ace_init_ports() local 1928 cpun = of_get_cpu_node(cpu, NULL); in cci_ace_init_ports() 1930 if (WARN(!cpun, "Missing cpu device node\n")) in cci_ace_init_ports() 1933 port = __cci_ace_get_port(cpun, ACE_PORT); in cci_ace_init_ports()
|