Home
last modified time | relevance | path

Searched refs:node_path (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/include/system/
H A Ddevice_tree.h65 int qemu_fdt_setprop(void *fdt, const char *node_path,
67 int qemu_fdt_setprop_cell(void *fdt, const char *node_path,
69 int qemu_fdt_setprop_u64(void *fdt, const char *node_path,
71 int qemu_fdt_setprop_string(void *fdt, const char *node_path,
87 int qemu_fdt_setprop_string_array(void *fdt, const char *node_path,
90 int qemu_fdt_setprop_phandle(void *fdt, const char *node_path,
103 const void *qemu_fdt_getprop(void *fdt, const char *node_path,
117 uint32_t qemu_fdt_getprop_cell(void *fdt, const char *node_path,
122 int qemu_fdt_nop_node(void *fdt, const char *node_path);
126 #define qemu_fdt_setprop_cells(fdt, node_path, property, ...) \ argument
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0035-corstone1000-purge-U-Boot-specific-DT-nodes.patch34 + { .node_path = "/fwu-mdata" },
35 + { .node_path = "/nvmxip-qspi@08000000" },
36 + { .node_path = "/soc/mailbox@1b820000" },
37 + { .node_path = "/soc/mailbox@1b830000" },
38 + { .node_path = "/soc/mhu@1b000000" },
39 + { .node_path = "/soc/mhu@1b010000" },
40 + { .node_path = "/soc/mhu@1b020000" },
41 + { .node_path = "/soc/mhu@1b030000" },
42 + { .node_path = "/soc/client" },
43 + { .node_path = "/soc/extsys@1A010310" },
H A D0051-corstone1000-purge-remoteproc-dts-node.patch23 { .node_path = "/soc/mhu@1b010000" },
24 { .node_path = "/soc/mhu@1b020000" },
25 { .node_path = "/soc/mhu@1b030000" },
26 - { .node_path = "/soc/client" },
27 - { .node_path = "/soc/extsys@1A010310" },
28 + { .node_path = "/soc/remoteproc@1a010310" },
H A D0033-dt-Provide-a-way-to-remove-non-compliant-nodes-and-p.patch35 + const char *node_path;
107 + nodeoff = fdt_path_offset(fdt, purge_entry->node_path);
110 + nodeoff, purge_entry->node_path);
125 + err, purge_entry->node_path);
/openbmc/qemu/system/
H A Ddevice_tree.c231 static int findnode_nofail(void *fdt, const char *node_path) in findnode_nofail() argument
235 offset = fdt_path_offset(fdt, node_path); in findnode_nofail()
237 error_report("%s Couldn't find node %s: %s", __func__, node_path, in findnode_nofail()
354 int qemu_fdt_setprop(void *fdt, const char *node_path, in qemu_fdt_setprop() argument
359 r = fdt_setprop(fdt, findnode_nofail(fdt, node_path), property, val, size); in qemu_fdt_setprop()
361 error_report("%s: Couldn't set %s/%s: %s", __func__, node_path, in qemu_fdt_setprop()
369 int qemu_fdt_setprop_cell(void *fdt, const char *node_path, in qemu_fdt_setprop_cell() argument
374 r = fdt_setprop_cell(fdt, findnode_nofail(fdt, node_path), property, val); in qemu_fdt_setprop_cell()
377 node_path, property, val, fdt_strerror(r)); in qemu_fdt_setprop_cell()
384 int qemu_fdt_setprop_u64(void *fdt, const char *node_path, in qemu_fdt_setprop_u64() argument
[all …]
/openbmc/qemu/hw/core/
H A Dsysbus-fdt.c88 char *node_path, char *nodename) in copy_properties_from_host() argument
95 r = qemu_fdt_getprop(host_fdt, node_path, in copy_properties_from_host()
142 char *node_path = NULL; in fdt_build_clock_node() local
153 node_path = g_malloc(path_len); in fdt_build_clock_node()
154 while ((ret = fdt_get_path(host_fdt, node_offset, node_path, path_len)) in fdt_build_clock_node()
157 node_path = g_realloc(node_path, path_len); in fdt_build_clock_node()
165 r = qemu_fdt_getprop(host_fdt, node_path, "compatible", &prop_len, in fdt_build_clock_node()
172 nodename = strrchr(node_path, '/'); in fdt_build_clock_node()
178 node_path, nodename); in fdt_build_clock_node()
182 g_free(node_path); in fdt_build_clock_node()
[all …]
/openbmc/qemu/hw/arm/
H A Dxlnx-zcu102.c79 char **node_path; in zcu102_modify_dtb() local
86 node_path = qemu_fdt_node_path(fdt, NULL, "xlnx,zynqmp-firmware", in zcu102_modify_dtb()
89 for (i = 0; node_path && node_path[i]; i++) { in zcu102_modify_dtb()
90 r = qemu_fdt_getprop(fdt, node_path[i], "method", &prop_len, NULL); in zcu102_modify_dtb()
97 qemu_fdt_setprop_string(fdt, node_path[i], "status", "disabled"); in zcu102_modify_dtb()
99 g_strfreev(node_path); in zcu102_modify_dtb()
H A Dxlnx-versal-virt.c456 char **node_path; in fdt_nop_memory_nodes() local
459 node_path = qemu_fdt_node_unit_path(fdt, "memory", &err); in fdt_nop_memory_nodes()
464 while (node_path[n]) { in fdt_nop_memory_nodes()
465 if (g_str_has_prefix(node_path[n], "/memory")) { in fdt_nop_memory_nodes()
466 qemu_fdt_nop_node(fdt, node_path[n]); in fdt_nop_memory_nodes()
470 g_strfreev(node_path); in fdt_nop_memory_nodes()
H A Dboot.c527 char **node_path; in arm_load_dtb() local
581 node_path = qemu_fdt_node_unit_path(fdt, "memory", &err); in arm_load_dtb()
586 while (node_path[n]) { in arm_load_dtb()
587 if (g_str_has_prefix(node_path[n], "/memory")) { in arm_load_dtb()
588 qemu_fdt_nop_node(fdt, node_path[n]); in arm_load_dtb()
592 g_strfreev(node_path); in arm_load_dtb()
/openbmc/u-boot/tools/binman/
H A Dentry.py84 def Lookup(section, node_path, etype): argument
116 (etype, node_path, module_name, e))
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dfitimage.py115 …def _verify_dtb_property(self, dtc_bindir, dtb_path, node_path, property_name, req_property, absen… argument
121 cmd = '%s %s %s %s' % (fdtget_path, dtb_path, node_path, property_name)