Home
last modified time | relevance | path

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

/external/dtc/tests/
Dsupernode_atdepth_offset.c59 int pdepth = path_depth(path); in check_supernode_atdepth() local
70 path, pdepth, depth, superpath); in check_supernode_atdepth()
90 if (nodedepth != pdepth) in check_supernode_atdepth()
92 "instead of %d", nodedepth, pdepth); in check_supernode_atdepth()
97 int pdepth = path_depth(path); in check_supernode_overdepth() local
104 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, pdepth + 1, NULL); in check_supernode_overdepth()
107 "of FDT_ERR_NOTFOUND", path, pdepth+1, err); in check_supernode_overdepth()
/external/dtc/libfdt/
Dfdt_ro.c542 int pdepth = 0, p = 0; in fdt_get_path() local
554 while (pdepth > depth) { in fdt_get_path()
558 pdepth--; in fdt_get_path()
561 if (pdepth >= depth) { in fdt_get_path()
569 pdepth++; in fdt_get_path()
574 if (pdepth < (depth + 1)) in fdt_get_path()