Lines Matching defs:cpu_node
974 static void __init riscv_fill_cpu_vendor_ext(struct device_node *cpu_node, int cpu)
986 if (of_property_match_string(cpu_node, "riscv,isa-extensions",
1040 struct device_node *cpu_node;
1042 cpu_node = of_cpu_device_node_get(cpu);
1043 if (!cpu_node) {
1048 if (of_property_read_u32(cpu_node, "thead,vlenb", &vlenb)) {
1049 of_node_put(cpu_node);
1057 of_node_put(cpu_node);
1062 of_node_put(cpu_node);
1076 struct device_node *cpu_node;
1080 cpu_node = of_cpu_device_node_get(cpu);
1081 if (!cpu_node) {
1086 if (!of_property_present(cpu_node, "riscv,isa-extensions")) {
1087 of_node_put(cpu_node);
1094 if (of_property_match_string(cpu_node, "riscv,isa-extensions",
1102 riscv_fill_cpu_vendor_ext(cpu_node, cpu);
1104 of_node_put(cpu_node);