Lines Matching refs:target
15 * overlay_get_target_phandle - retrieves the target phandle of a fragment
19 * overlay_get_target_phandle() retrieves the target phandle of an
20 * overlay fragment when that fragment uses a phandle (target
21 * property) instead of a path (target-path property).
24 * the phandle pointed by the target property
33 val = fdt_getprop(fdto, fragment, "target", &len);
58 path = fdt_getprop(fdto, fragment_offset, "target-path", &path_len);
67 * If we haven't found either a target or a
68 * target-path property in a node that contains a
526 * @target: Node offset in the base device tree to apply the fragment to
530 * overlay_apply_node() merges a node into a target base device tree
542 static int overlay_apply_node(void *fdt, int target,
561 ret = fdt_setprop(fdt, target, name, prop, prop_len);
571 nnode = fdt_add_subnode(fdt, target, name);
573 nnode = fdt_subnode_offset(fdt, target, name);
610 int target;
624 target = fdt_overlay_target_offset(fdt, fdto, fragment, NULL);
625 if (target < 0)
626 return target;
628 ret = overlay_apply_node(fdt, target, fdto, overlay);
682 int root_sym, ov_sym, prop, path_len, fragment, target;
729 * up in the target tree */
749 * up in the target tree */
766 /* get the target of the fragment */
770 target = ret;
772 /* if we have a target path use */
774 ret = get_path_len(fdt, target);
792 target = ret;
796 if (len > 1) { /* target is not root */
798 ret = fdt_get_path(fdt, target, buf, len + 1);