Home
last modified time | relevance | path

Searched refs:phandle (Results 1 – 3 of 3) sorted by relevance

/DragonStub/apps/lib/libfdt/
H A Dfdt_overlay.c46 uint32_t phandle; in fdt_overlay_target_offset() local
51 phandle = overlay_get_target_phandle(fdto, fragment_offset); in fdt_overlay_target_offset()
52 if (phandle == (uint32_t)-1) in fdt_overlay_target_offset()
56 if (!phandle) { in fdt_overlay_target_offset()
64 ret = fdt_node_offset_by_phandle(fdt, phandle); in fdt_overlay_target_offset()
360 uint32_t phandle; in overlay_fixup_one_phandle() local
377 phandle = fdt_get_phandle(fdt, symbol_off); in overlay_fixup_one_phandle()
378 if (!phandle) in overlay_fixup_one_phandle()
387 phandle_prop = cpu_to_fdt32(phandle); in overlay_fixup_one_phandle()
H A Dfdt_ro.c114 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle) in fdt_find_max_phandle() argument
136 if (phandle) in fdt_find_max_phandle()
137 *phandle = max; in fdt_find_max_phandle()
142 int fdt_generate_phandle(const void *fdt, uint32_t *phandle) in fdt_generate_phandle() argument
154 if (phandle) in fdt_generate_phandle()
155 *phandle = max + 1; in fdt_generate_phandle()
681 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument
685 if ((phandle == 0) || (phandle == ~0U)) in fdt_node_offset_by_phandle()
699 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
H A Dlibfdt.h381 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle);
400 uint32_t phandle; in fdt_get_max_phandle() local
403 err = fdt_find_max_phandle(fdt, &phandle); in fdt_get_max_phandle()
407 return phandle; in fdt_get_max_phandle()
422 int fdt_generate_phandle(const void *fdt, uint32_t *phandle);
1037 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle);