Searched refs:cpun (Results 1 – 8 of 8) sorted by relevance
/linux/arch/openrisc/kernel/ |
A D | setup.c | 158 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()
|
/linux/drivers/bus/ |
A D | arm-cci.c | 185 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()
|
/linux/drivers/of/ |
A D | base.c | 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() 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() 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() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | mce.c | 627 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()
|
/linux/arch/sparc/kernel/ |
A 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()
|
/linux/include/linux/ |
A D | cpu.h | 41 extern bool arch_find_n_match_cpu_physical_id(struct device_node *cpun,
|
A D | of.h | 356 extern u64 of_get_cpu_hwid(struct device_node *cpun, unsigned int thread);
|
/linux/Documentation/devicetree/bindings/arm/hisilicon/controller/ |
A D | sysctrl.yaml | 60 If reg value is not zero, cpun exit wfi and go
|
Completed in 21 milliseconds