fdto               28 scripts/dtc/libfdt/fdt_overlay.c static uint32_t overlay_get_target_phandle(const void *fdto, int fragment)
fdto               33 scripts/dtc/libfdt/fdt_overlay.c 	val = fdt_getprop(fdto, fragment, "target", &len);
fdto               58 scripts/dtc/libfdt/fdt_overlay.c static int overlay_get_target(const void *fdt, const void *fdto,
fdto               66 scripts/dtc/libfdt/fdt_overlay.c 	phandle = overlay_get_target_phandle(fdto, fragment);
fdto               73 scripts/dtc/libfdt/fdt_overlay.c 		path = fdt_getprop(fdto, fragment, "target-path", &path_len);
fdto              156 scripts/dtc/libfdt/fdt_overlay.c static int overlay_adjust_node_phandles(void *fdto, int node,
fdto              162 scripts/dtc/libfdt/fdt_overlay.c 	ret = overlay_phandle_add_offset(fdto, node, "phandle", delta);
fdto              166 scripts/dtc/libfdt/fdt_overlay.c 	ret = overlay_phandle_add_offset(fdto, node, "linux,phandle", delta);
fdto              170 scripts/dtc/libfdt/fdt_overlay.c 	fdt_for_each_subnode(child, fdto, node) {
fdto              171 scripts/dtc/libfdt/fdt_overlay.c 		ret = overlay_adjust_node_phandles(fdto, child, delta);
fdto              193 scripts/dtc/libfdt/fdt_overlay.c static int overlay_adjust_local_phandles(void *fdto, uint32_t delta)
fdto              198 scripts/dtc/libfdt/fdt_overlay.c 	return overlay_adjust_node_phandles(fdto, 0, delta);
fdto              220 scripts/dtc/libfdt/fdt_overlay.c static int overlay_update_local_node_references(void *fdto,
fdto              229 scripts/dtc/libfdt/fdt_overlay.c 	fdt_for_each_property_offset(fixup_prop, fdto, fixup_node) {
fdto              237 scripts/dtc/libfdt/fdt_overlay.c 		fixup_val = fdt_getprop_by_offset(fdto, fixup_prop,
fdto              245 scripts/dtc/libfdt/fdt_overlay.c 		tree_val = fdt_getprop(fdto, tree_node, name, &tree_len);
fdto              269 scripts/dtc/libfdt/fdt_overlay.c 			ret = fdt_setprop_inplace_namelen_partial(fdto,
fdto              284 scripts/dtc/libfdt/fdt_overlay.c 	fdt_for_each_subnode(fixup_child, fdto, fixup_node) {
fdto              285 scripts/dtc/libfdt/fdt_overlay.c 		const char *fixup_child_name = fdt_get_name(fdto, fixup_child,
fdto              289 scripts/dtc/libfdt/fdt_overlay.c 		tree_child = fdt_subnode_offset(fdto, tree_node,
fdto              296 scripts/dtc/libfdt/fdt_overlay.c 		ret = overlay_update_local_node_references(fdto,
fdto              324 scripts/dtc/libfdt/fdt_overlay.c static int overlay_update_local_references(void *fdto, uint32_t delta)
fdto              328 scripts/dtc/libfdt/fdt_overlay.c 	fixups = fdt_path_offset(fdto, "/__local_fixups__");
fdto              340 scripts/dtc/libfdt/fdt_overlay.c 	return overlay_update_local_node_references(fdto, 0, fixups,
fdto              367 scripts/dtc/libfdt/fdt_overlay.c static int overlay_fixup_one_phandle(void *fdt, void *fdto,
fdto              395 scripts/dtc/libfdt/fdt_overlay.c 	fixup_off = fdt_path_offset_namelen(fdto, path, path_len);
fdto              402 scripts/dtc/libfdt/fdt_overlay.c 	return fdt_setprop_inplace_namelen_partial(fdto, fixup_off,
fdto              427 scripts/dtc/libfdt/fdt_overlay.c static int overlay_fixup_phandle(void *fdt, void *fdto, int symbols_off,
fdto              434 scripts/dtc/libfdt/fdt_overlay.c 	value = fdt_getprop_by_offset(fdto, property,
fdto              482 scripts/dtc/libfdt/fdt_overlay.c 		ret = overlay_fixup_one_phandle(fdt, fdto, symbols_off,
fdto              509 scripts/dtc/libfdt/fdt_overlay.c static int overlay_fixup_phandles(void *fdt, void *fdto)
fdto              515 scripts/dtc/libfdt/fdt_overlay.c 	fixups_off = fdt_path_offset(fdto, "/__fixups__");
fdto              526 scripts/dtc/libfdt/fdt_overlay.c 	fdt_for_each_property_offset(property, fdto, fixups_off) {
fdto              529 scripts/dtc/libfdt/fdt_overlay.c 		ret = overlay_fixup_phandle(fdt, fdto, symbols_off, property);
fdto              557 scripts/dtc/libfdt/fdt_overlay.c 			      void *fdto, int node)
fdto              562 scripts/dtc/libfdt/fdt_overlay.c 	fdt_for_each_property_offset(property, fdto, node) {
fdto              568 scripts/dtc/libfdt/fdt_overlay.c 		prop = fdt_getprop_by_offset(fdto, property, &name,
fdto              580 scripts/dtc/libfdt/fdt_overlay.c 	fdt_for_each_subnode(subnode, fdto, node) {
fdto              581 scripts/dtc/libfdt/fdt_overlay.c 		const char *name = fdt_get_name(fdto, subnode, NULL);
fdto              595 scripts/dtc/libfdt/fdt_overlay.c 		ret = overlay_apply_node(fdt, nnode, fdto, subnode);
fdto              618 scripts/dtc/libfdt/fdt_overlay.c static int overlay_merge(void *fdt, void *fdto)
fdto              622 scripts/dtc/libfdt/fdt_overlay.c 	fdt_for_each_subnode(fragment, fdto, 0) {
fdto              631 scripts/dtc/libfdt/fdt_overlay.c 		overlay = fdt_subnode_offset(fdto, fragment, "__overlay__");
fdto              638 scripts/dtc/libfdt/fdt_overlay.c 		target = overlay_get_target(fdt, fdto, fragment, NULL);
fdto              642 scripts/dtc/libfdt/fdt_overlay.c 		ret = overlay_apply_node(fdt, target, fdto, overlay);
fdto              694 scripts/dtc/libfdt/fdt_overlay.c static int overlay_symbol_update(void *fdt, void *fdto)
fdto              707 scripts/dtc/libfdt/fdt_overlay.c 	ov_sym = fdt_subnode_offset(fdto, 0, "__symbols__");
fdto              724 scripts/dtc/libfdt/fdt_overlay.c 	fdt_for_each_property_offset(prop, fdto, ov_sym) {
fdto              725 scripts/dtc/libfdt/fdt_overlay.c 		path = fdt_getprop_by_offset(fdto, prop, &name, &path_len);
fdto              758 scripts/dtc/libfdt/fdt_overlay.c 		ret = fdt_subnode_offset_namelen(fdto, 0, frag_name,
fdto              766 scripts/dtc/libfdt/fdt_overlay.c 		ret = fdt_subnode_offset(fdto, fragment, "__overlay__");
fdto              771 scripts/dtc/libfdt/fdt_overlay.c 		ret = overlay_get_target(fdt, fdto, fragment, &target_path);
fdto              793 scripts/dtc/libfdt/fdt_overlay.c 			ret = overlay_get_target(fdt, fdto, fragment, &target_path);
fdto              819 scripts/dtc/libfdt/fdt_overlay.c int fdt_overlay_apply(void *fdt, void *fdto)
fdto              825 scripts/dtc/libfdt/fdt_overlay.c 	FDT_RO_PROBE(fdto);
fdto              831 scripts/dtc/libfdt/fdt_overlay.c 	ret = overlay_adjust_local_phandles(fdto, delta);
fdto              835 scripts/dtc/libfdt/fdt_overlay.c 	ret = overlay_update_local_references(fdto, delta);
fdto              839 scripts/dtc/libfdt/fdt_overlay.c 	ret = overlay_fixup_phandles(fdt, fdto);
fdto              843 scripts/dtc/libfdt/fdt_overlay.c 	ret = overlay_merge(fdt, fdto);
fdto              847 scripts/dtc/libfdt/fdt_overlay.c 	ret = overlay_symbol_update(fdt, fdto);
fdto              854 scripts/dtc/libfdt/fdt_overlay.c 	fdt_set_magic(fdto, ~0);
fdto              862 scripts/dtc/libfdt/fdt_overlay.c 	fdt_set_magic(fdto, ~0);
fdto             2063 scripts/dtc/libfdt/libfdt.h int fdt_overlay_apply(void *fdt, void *fdto);