Lines Matching refs:target_node
104 struct ufdt_node *target_node = sorted_table.data[i].node; in ufdt_try_increase_phandle() local
106 ufdt_node_try_increase_phandle(target_node, offset); in ufdt_try_increase_phandle()
170 struct ufdt_node *target_node; in ufdt_get_fixup_location() local
171 target_node = ufdt_get_node_by_path(tree, path); in ufdt_get_fixup_location()
172 if (target_node == NULL) { in ufdt_get_fixup_location()
178 ufdt_node_get_fdt_prop_data_by_name(target_node, prop_ptr, &prop_len); in ufdt_get_fixup_location()
315 static int ufdt_overlay_node(struct ufdt_node *target_node, in ufdt_overlay_node() argument
318 return ufdt_node_merge_into(target_node, overlay_node, pool); in ufdt_overlay_node()
323 struct ufdt_node **target_node) { in ufdt_overlay_get_target() argument
327 *target_node = NULL; in ufdt_overlay_get_target()
333 *target_node = ufdt_get_node_by_phandle(tree, target); in ufdt_overlay_get_target()
334 if (*target_node == NULL) { in ufdt_overlay_get_target()
340 if (*target_node == NULL) { in ufdt_overlay_get_target()
347 *target_node = ufdt_get_node_by_path(tree, target_path); in ufdt_overlay_get_target()
348 if (*target_node == NULL) { in ufdt_overlay_get_target()
363 struct ufdt_node *target_node = NULL; in ufdt_apply_fragment() local
367 ufdt_overlay_get_target(tree, frag_node, &target_node); in ufdt_apply_fragment()
368 if (target_node == NULL) { in ufdt_apply_fragment()
378 int err = ufdt_overlay_node(target_node, overlay_node, pool); in ufdt_apply_fragment()
382 ufdt_node_name(overlay_node), ufdt_node_name(target_node)); in ufdt_apply_fragment()
465 static int ufdt_local_fixup_node(struct ufdt_node *target_node, in ufdt_local_fixup_node() argument
475 target_node, ufdt_node_name(*it_local_fixups)); in ufdt_local_fixup_node()
488 target_node, ufdt_node_name(*it_local_fixups)); in ufdt_local_fixup_node()