Home
last modified time | relevance | path

Searched refs:cpun (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/bus/
Darm-cci.c185 struct device_node *cpun; in cci_ace_init_ports() local
196 cpun = of_get_cpu_node(cpu, NULL); in cci_ace_init_ports()
198 if (WARN(!cpun, "Missing cpu device node\n")) in cci_ace_init_ports()
201 port = __cci_ace_get_port(cpun, ACE_PORT); in cci_ace_init_ports()
/kernel/linux/linux-5.10/arch/openrisc/kernel/
Dsetup.c158 struct device_node *cpun; in setup_find_cpu_node() local
160 for_each_of_cpu_node(cpun) { in setup_find_cpu_node()
161 if (of_property_read_u32(cpun, "reg", &hwid)) in setup_find_cpu_node()
164 return cpun; in setup_find_cpu_node()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dmce.c627 struct device_node *cpun; in init_debug_trig_function() local
633 cpun = of_get_cpu_node(smp_processor_id(), NULL); in init_debug_trig_function()
634 if (cpun) { in init_debug_trig_function()
635 of_property_for_each_string(cpun, "ibm,hmi-special-triggers", in init_debug_trig_function()
642 of_node_put(cpun); in init_debug_trig_function()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dprom_64.c381 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()
/kernel/linux/linux-5.10/drivers/of/
Dbase.c313 static bool __of_find_n_match_cpu_property(struct device_node *cpun, in __of_find_n_match_cpu_property() argument
320 ac = of_n_addr_cells(cpun); in __of_find_n_match_cpu_property()
321 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
345 bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun, in arch_find_n_match_cpu_physical_id() argument
353 __of_find_n_match_cpu_property(cpun, in arch_find_n_match_cpu_physical_id()
358 return __of_find_n_match_cpu_property(cpun, "reg", cpu, thread); in arch_find_n_match_cpu_physical_id()
382 struct device_node *cpun; in of_get_cpu_node() local
384 for_each_of_cpu_node(cpun) { in of_get_cpu_node()
385 if (arch_find_n_match_cpu_physical_id(cpun, cpu, thread)) in of_get_cpu_node()
386 return cpun; in of_get_cpu_node()
/kernel/linux/linux-5.10/include/linux/
Dcpu.h41 extern bool arch_find_n_match_cpu_physical_id(struct device_node *cpun,
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch58237 extern bool arch_find_n_match_cpu_physical_id(struct device_node *cpun,
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch362604 extern bool arch_find_n_match_cpu_physical_id(struct device_node *cpun,