Lines Matching full:nodename

49                                const char *nodename, uint32_t irq)  in dt_add_microvm_irq()  argument
58 qemu_fdt_setprop_cell(mms->fdt, nodename, "interrupt-parent", in dt_add_microvm_irq()
60 qemu_fdt_setprop_cells(mms->fdt, nodename, "interrupts", irq, 0); in dt_add_microvm_irq()
68 char *nodename; in dt_add_virtio() local
79 nodename = g_strdup_printf("/virtio_mmio@%" PRIx64, base); in dt_add_virtio()
80 qemu_fdt_add_subnode(mms->fdt, nodename); in dt_add_virtio()
81 qemu_fdt_setprop_string(mms->fdt, nodename, "compatible", "virtio,mmio"); in dt_add_virtio()
82 qemu_fdt_setprop_sized_cells(mms->fdt, nodename, "reg", 2, base, 2, size); in dt_add_virtio()
83 qemu_fdt_setprop(mms->fdt, nodename, "dma-coherent", NULL, 0); in dt_add_virtio()
84 dt_add_microvm_irq(mms, nodename, irq); in dt_add_virtio()
85 g_free(nodename); in dt_add_virtio()
94 char *nodename; in dt_add_xhci() local
96 nodename = g_strdup_printf("/usb@%" PRIx64, base); in dt_add_xhci()
97 qemu_fdt_add_subnode(mms->fdt, nodename); in dt_add_xhci()
98 qemu_fdt_setprop(mms->fdt, nodename, "compatible", compat, sizeof(compat)); in dt_add_xhci()
99 qemu_fdt_setprop_sized_cells(mms->fdt, nodename, "reg", 2, base, 2, size); in dt_add_xhci()
100 qemu_fdt_setprop(mms->fdt, nodename, "dma-coherent", NULL, 0); in dt_add_xhci()
101 dt_add_microvm_irq(mms, nodename, irq); in dt_add_xhci()
102 g_free(nodename); in dt_add_xhci()
109 char *nodename; in dt_add_pcie() local
111 nodename = g_strdup_printf("/pcie@%" PRIx64, base); in dt_add_pcie()
112 qemu_fdt_add_subnode(mms->fdt, nodename); in dt_add_pcie()
113 qemu_fdt_setprop_string(mms->fdt, nodename, in dt_add_pcie()
115 qemu_fdt_setprop_string(mms->fdt, nodename, "device_type", "pci"); in dt_add_pcie()
116 qemu_fdt_setprop_cell(mms->fdt, nodename, "#address-cells", 3); in dt_add_pcie()
117 qemu_fdt_setprop_cell(mms->fdt, nodename, "#size-cells", 2); in dt_add_pcie()
118 qemu_fdt_setprop_cell(mms->fdt, nodename, "linux,pci-domain", 0); in dt_add_pcie()
119 qemu_fdt_setprop(mms->fdt, nodename, "dma-coherent", NULL, 0); in dt_add_pcie()
121 qemu_fdt_setprop_sized_cells(mms->fdt, nodename, "reg", in dt_add_pcie()
124 qemu_fdt_setprop_sized_cells(mms->fdt, nodename, "ranges", in dt_add_pcie()
136 qemu_fdt_setprop_sized_cells(mms->fdt, nodename, "ranges", in dt_add_pcie()
145 qemu_fdt_setprop_cells(mms->fdt, nodename, "bus-range", 0, in dt_add_pcie()
148 g_free(nodename); in dt_add_pcie()
154 char *nodename; in dt_add_ioapic() local
170 nodename = g_strdup_printf("/ioapic%d@%" PRIx64, index + 1, base); in dt_add_ioapic()
171 qemu_fdt_add_subnode(mms->fdt, nodename); in dt_add_ioapic()
172 qemu_fdt_setprop_string(mms->fdt, nodename, in dt_add_ioapic()
174 qemu_fdt_setprop(mms->fdt, nodename, "interrupt-controller", NULL, 0); in dt_add_ioapic()
175 qemu_fdt_setprop_cell(mms->fdt, nodename, "#interrupt-cells", 0x2); in dt_add_ioapic()
176 qemu_fdt_setprop_cell(mms->fdt, nodename, "#address-cells", 0x2); in dt_add_ioapic()
177 qemu_fdt_setprop_sized_cells(mms->fdt, nodename, "reg", in dt_add_ioapic()
181 qemu_fdt_setprop_cell(mms->fdt, nodename, "phandle", ph); in dt_add_ioapic()
182 qemu_fdt_setprop_cell(mms->fdt, nodename, "linux,phandle", ph); in dt_add_ioapic()
185 g_free(nodename); in dt_add_ioapic()
194 char *nodename; in dt_add_isa_serial() local
196 nodename = g_strdup_printf("/serial@%" PRIx64, base); in dt_add_isa_serial()
197 qemu_fdt_add_subnode(mms->fdt, nodename); in dt_add_isa_serial()
198 qemu_fdt_setprop(mms->fdt, nodename, "compatible", compat, sizeof(compat)); in dt_add_isa_serial()
199 qemu_fdt_setprop_sized_cells(mms->fdt, nodename, "reg", 2, base, 2, size); in dt_add_isa_serial()
200 dt_add_microvm_irq(mms, nodename, irq); in dt_add_isa_serial()
203 qemu_fdt_setprop_string(mms->fdt, "/chosen", "stdout-path", nodename); in dt_add_isa_serial()
206 g_free(nodename); in dt_add_isa_serial()
215 char *nodename; in dt_add_isa_rtc() local
217 nodename = g_strdup_printf("/rtc@%" PRIx64, base); in dt_add_isa_rtc()
218 qemu_fdt_add_subnode(mms->fdt, nodename); in dt_add_isa_rtc()
219 qemu_fdt_setprop(mms->fdt, nodename, "compatible", compat, sizeof(compat)); in dt_add_isa_rtc()
220 qemu_fdt_setprop_sized_cells(mms->fdt, nodename, "reg", 2, base, 2, size); in dt_add_isa_rtc()
221 dt_add_microvm_irq(mms, nodename, irq); in dt_add_isa_rtc()
222 g_free(nodename); in dt_add_isa_rtc()