Lines Matching defs:path

65  * @path: path of node
72 u32 fdt_getprop_u32_default(const void *fdt, const char *path,
77 off = fdt_path_offset(fdt, path);
88 * @node: path of node
94 * Convenience function to directly set a property given the path to the node.
141 const void *path;
153 path = fdt_getprop(fdt, aliasoff, sername, &len);
154 if (!path) {
159 /* fdt_setprop may break "path" so we copy it to tmp buffer */
160 memcpy(tmp, path, len);
162 err = fdt_setprop(fdt, chosenoff, "linux,stdout-path", tmp, len);
164 printf("WARNING: could not set linux,stdout-path %s.\n",
339 void do_fixup_by_path(void *fdt, const char *path, const char *prop,
344 debug("Updating property '%s/%s' = ", path, prop);
349 int rc = fdt_find_and_setprop(fdt, path, prop, val, len, create);
352 path, prop, fdt_strerror(rc));
355 void do_fixup_by_path_u32(void *fdt, const char *path, const char *prop,
359 do_fixup_by_path(fdt, path, prop, &tmp, sizeof(tmp), create);
565 const char *path;
590 path = fdt_getprop_by_offset(fdt, offset, &name, NULL);
612 nodeoff = fdt_path_offset(fdt, path);
630 do_fixup_by_path(fdt, path, "mac-address",
632 do_fixup_by_path(fdt, path, "local-mac-address",
1061 char path[256];
1071 res = ofnode_get_path(ofnode_get_parent(node), path, sizeof(path));
1075 off = fdt_path_offset(blob, path);
1589 char path[512];
1592 len = vsnprintf(path, sizeof(path), fmt, ap);
1593 if (len < 0 || len + 1 > sizeof(path))
1596 return fdt_path_offset(blob, path);
1600 * fdt_node_offset_by_pathf: Find node offset by sprintf formatted path
1603 * @fmt: path format
1705 * sprintf-formatted path
1708 * @fmt, ...: path format string and arguments to pass to sprintf
1720 printf("Can't find node by given path: %s\n",
1797 * path
1801 * @fmt, ...: path format string and arguments to pass to sprintf
1830 const char *path;
1835 path = fdt_getprop(fdt, anode, alias, NULL);
1836 if (!path) {
1841 node = fdt_path_offset(fdt, path);
1844 "node %s.\n", alias, path);
1851 path);
2069 * The node to update are specified by path.
2071 int fdt_fixup_display(void *blob, const char *path, const char *display)
2075 if (!display || !path)
2078 toff = fdt_path_offset(blob, path);