Home
last modified time | relevance | path

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

/netbsd-src/external/gpl2/dtc/dist/tests/
H A Dsupernode_atdepth_offset.c61 int pdepth = path_depth(path); in check_supernode_atdepth() local
72 path, pdepth, depth, superpath); in check_supernode_atdepth()
92 if (nodedepth != pdepth) in check_supernode_atdepth()
94 "instead of %d", nodedepth, pdepth); in check_supernode_atdepth()
99 int pdepth = path_depth(path); in check_supernode_overdepth() local
106 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, pdepth + 1, NULL); in check_supernode_overdepth()
109 "of FDT_ERR_NOTFOUND", path, pdepth+1, err); in check_supernode_overdepth()
/netbsd-src/sys/external/bsd/libfdt/dist/
H A Dfdt_ro.c525 int pdepth = 0, p = 0; in fdt_get_path() local
537 while (pdepth > depth) { in fdt_get_path()
541 pdepth--; in fdt_get_path()
544 if (pdepth >= depth) { in fdt_get_path()
552 pdepth++; in fdt_get_path()
557 if (pdepth < (depth + 1)) in fdt_get_path()