Lines Matching refs:node_path
231 static int findnode_nofail(void *fdt, const char *node_path)
235 offset = fdt_path_offset(fdt, node_path);
237 error_report("%s Couldn't find node %s: %s", __func__, node_path,
354 int qemu_fdt_setprop(void *fdt, const char *node_path,
359 r = fdt_setprop(fdt, findnode_nofail(fdt, node_path), property, val, size);
361 error_report("%s: Couldn't set %s/%s: %s", __func__, node_path,
369 int qemu_fdt_setprop_cell(void *fdt, const char *node_path,
374 r = fdt_setprop_cell(fdt, findnode_nofail(fdt, node_path), property, val);
377 node_path, property, val, fdt_strerror(r));
384 int qemu_fdt_setprop_u64(void *fdt, const char *node_path,
388 return qemu_fdt_setprop(fdt, node_path, property, &val, sizeof(val));
391 int qemu_fdt_setprop_string(void *fdt, const char *node_path,
396 r = fdt_setprop_string(fdt, findnode_nofail(fdt, node_path), property, string);
399 node_path, property, string, fdt_strerror(r));
411 int qemu_fdt_setprop_string_array(void *fdt, const char *node_path,
426 ret = qemu_fdt_setprop(fdt, node_path, prop, str, total_len);
431 const void *qemu_fdt_getprop(void *fdt, const char *node_path,
440 r = fdt_getprop(fdt, findnode_nofail(fdt, node_path), property, lenp);
443 node_path, property, fdt_strerror(*lenp));
448 uint32_t qemu_fdt_getprop_cell(void *fdt, const char *node_path,
457 p = qemu_fdt_getprop(fdt, node_path, property, lenp, errp);
462 __func__, node_path, property);
483 int qemu_fdt_setprop_phandle(void *fdt, const char *node_path,
488 return qemu_fdt_setprop_cell(fdt, node_path, property, phandle);
514 int qemu_fdt_nop_node(void *fdt, const char *node_path)
518 r = fdt_nop_node(fdt, findnode_nofail(fdt, node_path));
520 error_report("%s: Couldn't nop node %s: %s", __func__, node_path,
598 const char *node_path,
629 ret = qemu_fdt_setprop(fdt, node_path, property, propcells,