Searched refs:cpun (Results 1 – 3 of 3) sorted by relevance
/arch/openrisc/kernel/ |
D | setup.c | 154 struct device_node *cpun; in setup_find_cpu_node() local 156 for_each_of_cpu_node(cpun) { in setup_find_cpu_node() 157 if (of_property_read_u32(cpun, "reg", &hwid)) in setup_find_cpu_node() 160 return cpun; in setup_find_cpu_node()
|
/arch/powerpc/kernel/ |
D | mce.c | 584 struct device_node *cpun; in init_debug_trig_function() local 590 cpun = of_get_cpu_node(smp_processor_id(), NULL); in init_debug_trig_function() 591 if (cpun) { in init_debug_trig_function() 592 of_property_for_each_string(cpun, "ibm,hmi-special-triggers", in init_debug_trig_function() 599 of_node_put(cpun); in init_debug_trig_function()
|
/arch/sparc/kernel/ |
D | prom_64.c | 381 bool arch_find_n_match_cpu_physical_id(struct device_node *cpun, in arch_find_n_match_cpu_physical_id() argument 393 struct property *prop = of_find_property(cpun, "reg", NULL); in arch_find_n_match_cpu_physical_id() 403 this_cpu_id = of_getintprop_default(cpun, mid_prop, -1); in arch_find_n_match_cpu_physical_id() 407 this_cpu_id = of_getintprop_default(cpun, mid_prop, -1); in arch_find_n_match_cpu_physical_id()
|