Searched refs:fdto (Results 1 – 2 of 2) sorted by relevance
/linux/scripts/dtc/libfdt/ |
H A D | fdt_overlay.c | 28 static uint32_t overlay_get_target_phandle(const void *fdto, int fragment) in overlay_get_target_phandle() argument 33 val = fdt_getprop(fdto, fragment, "target", &len); in overlay_get_target_phandle() 43 int fdt_overlay_target_offset(const void *fdt, const void *fdto, in fdt_overlay_target_offset() argument 51 phandle = overlay_get_target_phandle(fdto, fragment_offset); in fdt_overlay_target_offset() 58 path = fdt_getprop(fdto, fragment_offset, "target-path", &path_len); in fdt_overlay_target_offset() 137 static int overlay_adjust_node_phandles(void *fdto, int node, in overlay_adjust_node_phandles() argument 143 ret = overlay_phandle_add_offset(fdto, node, "phandle", delta); in overlay_adjust_node_phandles() 147 ret = overlay_phandle_add_offset(fdto, node, "linux,phandle", delta); in overlay_adjust_node_phandles() 151 fdt_for_each_subnode(child, fdto, node) { in overlay_adjust_node_phandles() 152 ret = overlay_adjust_node_phandles(fdto, child, delta); in overlay_adjust_node_phandles() [all …]
|
H A D | libfdt.h | 2185 int fdt_overlay_apply(void *fdt, void *fdto); 2202 int fdt_overlay_target_offset(const void *fdt, const void *fdto,
|