Lines Matching refs:cpu_name
63 char *core_name, *cpu_name, *intc_name; in create_fdt() local
108 cpu_name = g_strdup_printf("/cpus/cpu@%d", in create_fdt()
110 qemu_fdt_add_subnode(fdt, cpu_name); in create_fdt()
112 qemu_fdt_setprop_string(fdt, cpu_name, "mmu-type", "riscv,sv32"); in create_fdt()
114 qemu_fdt_setprop_string(fdt, cpu_name, "mmu-type", "riscv,sv48"); in create_fdt()
116 riscv_isa_write_fdt(&s->soc[socket].harts[cpu], fdt, cpu_name); in create_fdt()
117 qemu_fdt_setprop_string(fdt, cpu_name, "compatible", "riscv"); in create_fdt()
118 qemu_fdt_setprop_string(fdt, cpu_name, "status", "okay"); in create_fdt()
119 qemu_fdt_setprop_cell(fdt, cpu_name, "reg", in create_fdt()
121 qemu_fdt_setprop_string(fdt, cpu_name, "device_type", "cpu"); in create_fdt()
122 riscv_socket_fdt_write_id(ms, cpu_name, socket); in create_fdt()
123 qemu_fdt_setprop_cell(fdt, cpu_name, "phandle", cpu_phandle); in create_fdt()
125 intc_name = g_strdup_printf("%s/interrupt-controller", cpu_name); in create_fdt()
145 g_free(cpu_name); in create_fdt()