Lines Matching defs: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);
44 * overlay_get_target - retrieves the offset of a fragment's target
48 * @pathp: pointer which receives the path of the target (or NULL)
50 * overlay_get_target() retrieves the target offset in the base
73 path = fdt_getprop(fdto, fragment, "target-path", &path_len);
82 * If we haven't found either a target or a
83 * target-path property in a node that contains a
541 * @target: Node offset in the base device tree to apply the fragment to
545 * overlay_apply_node() merges a node into a target base device tree
557 static int overlay_apply_node(void *fdt, int target,
576 ret = fdt_setprop(fdt, target, name, prop, prop_len);
586 nnode = fdt_add_subnode(fdt, target, name);
588 nnode = fdt_subnode_offset(fdt, target, name);
625 int target;
639 target = overlay_get_target(fdt, fdto, fragment, NULL);
640 if (target < 0)
641 return target;
643 ret = overlay_apply_node(fdt, target, fdto, overlay);
697 int root_sym, ov_sym, prop, path_len, fragment, target;
744 * up in the target tree */
764 * up in the target tree */
781 /* get the target of the fragment */
785 target = ret;
787 /* if we have a target path use */
789 ret = get_path_len(fdt, target);
807 target = ret;
811 if (len > 1) { /* target is not root */
813 ret = fdt_get_path(fdt, target, buf, len + 1);