Home
last modified time | relevance | path

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

/openbmc/qemu/include/sysemu/
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/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/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/linux/arch/arm/boot/compressed/
H A Datags_to_fdt.c15 static int node_offset(void *fdt, const char *node_path) in node_offset() argument
17 int offset = fdt_path_offset(fdt, node_path); in node_offset()
20 offset = fdt_add_subnode(fdt, 0, node_path + 1); in node_offset()
24 static int setprop(void *fdt, const char *node_path, const char *property, in setprop() argument
27 int offset = node_offset(fdt, node_path); in setprop()
33 static int setprop_string(void *fdt, const char *node_path, in setprop_string() argument
36 int offset = node_offset(fdt, node_path); in setprop_string()
42 static int setprop_cell(void *fdt, const char *node_path, in setprop_cell() argument
45 int offset = node_offset(fdt, node_path); in setprop_cell()
51 static const void *getprop(const void *fdt, const char *node_path, in getprop() argument
[all …]
H A Dfdt_check_mem_start.c8 static const void *get_prop(const void *fdt, const char *node_path, in get_prop() argument
14 offset = fdt_path_offset(fdt, node_path); in get_prop()
/openbmc/qemu/hw/core/
H A Dsysbus-fdt.c86 char *node_path, char *nodename) in copy_properties_from_host() argument
93 r = qemu_fdt_getprop(host_fdt, node_path, in copy_properties_from_host()
140 char *node_path = NULL; in fdt_build_clock_node() local
151 node_path = g_malloc(path_len); in fdt_build_clock_node()
152 while ((ret = fdt_get_path(host_fdt, node_offset, node_path, path_len)) in fdt_build_clock_node()
155 node_path = g_realloc(node_path, path_len); in fdt_build_clock_node()
163 r = qemu_fdt_getprop(host_fdt, node_path, "compatible", &prop_len, in fdt_build_clock_node()
170 nodename = strrchr(node_path, '/'); in fdt_build_clock_node()
176 node_path, nodename); in fdt_build_clock_node()
180 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.c522 char **node_path; in arm_load_dtb() local
576 node_path = qemu_fdt_node_unit_path(fdt, "memory", &err); in arm_load_dtb()
581 while (node_path[n]) { in arm_load_dtb()
582 if (g_str_has_prefix(node_path[n], "/memory")) { in arm_load_dtb()
583 qemu_fdt_nop_node(fdt, node_path[n]); in arm_load_dtb()
587 g_strfreev(node_path); in arm_load_dtb()
/openbmc/linux/drivers/of/
H A Dresolver.c77 char *value, *cur, *end, *node_path, *prop_name, *s; in update_usages_of_a_phandle_reference() local
90 node_path = cur; in update_usages_of_a_phandle_reference()
110 refnode = __of_find_node_by_full_path(of_node_get(overlay), node_path); in update_usages_of_a_phandle_reference()
/openbmc/u-boot/tools/binman/
H A Dentry.py84 def Lookup(section, node_path, etype): argument
116 (etype, node_path, module_name, e))