Home
last modified time | relevance | path

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

/scripts/dtc/libfdt/
A Dfdt.c246 if (depth) in fdt_next_node()
247 (*depth)++; in fdt_next_node()
251 if (depth && ((--(*depth)) < 0)) in fdt_next_node()
257 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
269 int depth = 0; in fdt_first_subnode() local
271 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode()
272 if (offset < 0 || depth != 1) in fdt_first_subnode()
280 int depth = 1; in fdt_next_subnode() local
287 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode()
288 if (offset < 0 || depth < 1) in fdt_next_subnode()
[all …]
A Dfdt_ro.c228 int depth; in fdt_subnode_offset_namelen() local
232 for (depth = 0; in fdt_subnode_offset_namelen()
235 if ((depth == 1) in fdt_subnode_offset_namelen()
239 if (depth < 0) in fdt_subnode_offset_namelen()
595 int offset, depth; in fdt_supernode_atdepth_offset() local
865 unsigned depth = 0; in fdt_check_full() local
898 if (depth != 0) in fdt_check_full()
903 depth++; in fdt_check_full()
919 if (depth == 0) in fdt_check_full()
921 depth--; in fdt_check_full()
[all …]
A Dfdt_wip.c75 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_()
A Dlibfdt.h148 int fdt_next_node(const void *fdt, int offset, int *depth);
/scripts/
A Dmake_pip.sh99 find ${dest} -depth -name __pycache__ -exec rmdir 112 \;
/scripts/dtc/
A Dlivetree.c986 int i, depth; in add_local_fixup_entry() local
989 depth = 0; in add_local_fixup_entry()
991 depth++; in add_local_fixup_entry()
994 compp = xmalloc(sizeof(*compp) * depth); in add_local_fixup_entry()
997 for (wn = node, i = depth - 1; wn; wn = wn->parent, i--) in add_local_fixup_entry()
1001 for (wn = lfn, i = 1; i < depth; i++, wn = nwn) { in add_local_fixup_entry()
/scripts/dtc/pylibfdt/
A Dlibfdt.i_shipped156 def next_node(self, nodeoffset, depth, quiet=()):
161 depth: The depth of the node at nodeoffset. This is used to
162 calculate the depth of the returned node
173 return check_err(fdt_next_node(self._fdt, nodeoffset, depth), quiet)
1072 %typemap(in, numinputs=1) int *depth (int depth) {
1073 depth = (int) PyInt_AsLong($input);
1074 $1 = &depth;
1077 %typemap(argout) int *depth {
1082 %apply int *depth { int *depth };

Completed in 14 milliseconds