Home
last modified time | relevance | path

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

/scripts/dtc/
Dfdtdump.c59 int depth, sz, shift; in dump_blob() local
63 depth = 0; in dump_blob()
109 printf("%*s%s {\n", depth * shift, "", s); in dump_blob()
111 depth++; in dump_blob()
116 depth--; in dump_blob()
118 printf("%*s};\n", depth * shift, ""); in dump_blob()
123 printf("%*s// [NOP]\n", depth * shift, ""); in dump_blob()
128 fprintf(stderr, "%*s ** Unknown tag 0x%08x\n", depth * shift, "", tag); in dump_blob()
139 printf("%*s%s", depth * shift, "", s); in dump_blob()
Dfdtget.c156 int depth = 1; /* the assumed depth of this node */ in list_subnodes() local
163 if (level <= depth) { in list_subnodes()
187 if (level <= depth) in list_subnodes()
/scripts/dtc/libfdt/
Dfdt_ro.c135 int depth; in fdt_subnode_offset_namelen() local
139 for (depth = 0; in fdt_subnode_offset_namelen()
140 (offset >= 0) && (depth >= 0); in fdt_subnode_offset_namelen()
141 offset = fdt_next_node(fdt, offset, &depth)) in fdt_subnode_offset_namelen()
142 if ((depth == 1) in fdt_subnode_offset_namelen()
146 if (depth < 0) in fdt_subnode_offset_namelen()
360 int offset, depth, namelen; in fdt_get_path() local
368 for (offset = 0, depth = 0; in fdt_get_path()
370 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_get_path()
371 while (pdepth > depth) { in fdt_get_path()
[all …]
Dfdt.c161 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument
180 if (depth) in fdt_next_node()
181 (*depth)++; in fdt_next_node()
185 if (depth && ((--(*depth)) < 0)) in fdt_next_node()
191 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
Dfdt_wip.c99 int depth = 0; in _fdt_node_end_offset() local
101 while ((offset >= 0) && (depth >= 0)) in _fdt_node_end_offset()
102 offset = fdt_next_node(fdt, offset, &depth); in _fdt_node_end_offset()
Dlibfdt.h137 int fdt_next_node(const void *fdt, int offset, int *depth);
/scripts/
Dunifdef.c202 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/kconfig/
Dqconf.cc739 treeStepSize() * (item->depth() + (rootIsDecorated() ? 1 : 0)); in contentsMouseReleaseEvent()