Home
last modified time | relevance | path

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

/system/libufdt/tests/src/
Dextract_dtb.c55 const char *fdt_ptr = buf + tag_pos; in find_and_write_dtb() local
56 if (fdt_check_header(fdt_ptr) != 0) { in find_and_write_dtb()
62 size_t fdt_size = fdt_totalsize(fdt_ptr); in find_and_write_dtb()
71 int root_node_off = fdt_path_offset(fdt_ptr, "/"); in find_and_write_dtb()
78 (const char *)fdt_getprop(fdt_ptr, root_node_off, "model", NULL); in find_and_write_dtb()
81 (const char *)fdt_getprop(fdt_ptr, root_node_off, "compatible", NULL); in find_and_write_dtb()
85 if (write_fdt_to_file(filename, fdt_ptr) != 0) { in find_and_write_dtb()