Searched refs:depth (Results 1 – 8 of 8) sorted by relevance
/scripts/dtc/libfdt/ |
D | fdt.c | 239 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument 258 if (depth) in fdt_next_node() 259 (*depth)++; in fdt_next_node() 263 if (depth && ((--(*depth)) < 0)) in fdt_next_node() 269 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node() 281 int depth = 0; in fdt_first_subnode() local 283 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode() 284 if (offset < 0 || depth != 1) in fdt_first_subnode() 292 int depth = 1; in fdt_next_subnode() local 299 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode() [all …]
|
D | fdt_ro.c | 228 int depth; in fdt_subnode_offset_namelen() local 232 for (depth = 0; in fdt_subnode_offset_namelen() 233 (offset >= 0) && (depth >= 0); in fdt_subnode_offset_namelen() 234 offset = fdt_next_node(fdt, offset, &depth)) in fdt_subnode_offset_namelen() 235 if ((depth == 1) in fdt_subnode_offset_namelen() 239 if (depth < 0) in fdt_subnode_offset_namelen() 545 int offset, depth, namelen; in fdt_get_path() local 553 for (offset = 0, depth = 0; in fdt_get_path() 555 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_get_path() 556 while (pdepth > depth) { in fdt_get_path() [all …]
|
D | fdt_wip.c | 75 int depth = 0; in fdt_node_end_offset_() local 77 while ((offset >= 0) && (depth >= 0)) in fdt_node_end_offset_() 78 offset = fdt_next_node(fdt, offset, &depth); in fdt_node_end_offset_()
|
D | libfdt.h | 186 int fdt_next_node(const void *fdt, int offset, int *depth);
|
/scripts/ |
D | unifdef.c | 202 static int depth; /* current #if nesting */ variable 510 if (depth == 0) in ignoreoff() 512 ignoring[depth] = ignoring[depth-1]; in ignoreoff() 517 ignoring[depth] = true; in ignoreon() 529 if (depth > MAXDEPTH-1) in nest() 531 if (depth == MAXDEPTH-1) in nest() 533 depth += 1; in nest() 534 stifline[depth] = linenum; in nest() 539 if (depth == 0) in unnest() 541 depth -= 1; in unnest() [all …]
|
/scripts/gdb/linux/ |
D | proc.py | 55 def get_resources(resource, depth): argument 57 yield resource, depth 61 for res, deep in get_resources(child, depth + 1): 71 for res, depth in get_resources(resource['child'], 0): 74 gdb.write(" " * depth * 2 +
|
/scripts/dtc/ |
D | fdtget.c | 142 int depth = 1; /* the assumed depth of this node */ in list_subnodes() local 149 if (level <= depth) { in list_subnodes() 173 if (level <= depth) in list_subnodes()
|
D | livetree.c | 959 int i, depth; in add_local_fixup_entry() local 962 depth = 0; in add_local_fixup_entry() 964 depth++; in add_local_fixup_entry() 967 compp = xmalloc(sizeof(*compp) * depth); in add_local_fixup_entry() 970 for (wn = node, i = depth - 1; wn; wn = wn->parent, i--) in add_local_fixup_entry() 974 for (wn = lfn, i = 1; i < depth; i++, wn = nwn) { in add_local_fixup_entry()
|