Home
last modified time | relevance | path

Searched refs:parentoffset (Results 1 – 5 of 5) sorted by relevance

/external/dtc/tests/
Dparent_offset.c32 int nodeoffset, parentoffset, parentpathoffset, pathparentlen; in check_path() local
50 parentoffset = fdt_parent_offset(fdt, nodeoffset); in check_path()
51 if (parentoffset < 0) in check_path()
52 FAIL("fdt_parent_offset(): %s", fdt_strerror(parentoffset)); in check_path()
54 if (parentoffset != parentpathoffset) in check_path()
56 parentoffset, parentpathoffset); in check_path()
/external/dtc/libfdt/
Dfdt_rw.c333 int fdt_add_subnode_namelen(void *fdt, int parentoffset, in fdt_add_subnode_namelen() argument
345 offset = fdt_subnode_offset_namelen(fdt, parentoffset, name, namelen); in fdt_add_subnode_namelen()
352 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */ in fdt_add_subnode_namelen()
374 int fdt_add_subnode(void *fdt, int parentoffset, const char *name) in fdt_add_subnode() argument
376 return fdt_add_subnode_namelen(fdt, parentoffset, name, strlen(name)); in fdt_add_subnode()
Dlibfdt.h455 int fdt_subnode_offset_namelen(const void *fdt, int parentoffset,
482 int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name);
1979 int fdt_add_subnode_namelen(void *fdt, int parentoffset,
2014 int fdt_add_subnode(void *fdt, int parentoffset, const char *name);
Dfdt_ro.c242 int fdt_subnode_offset(const void *fdt, int parentoffset, in fdt_subnode_offset() argument
245 return fdt_subnode_offset_namelen(fdt, parentoffset, name, strlen(name)); in fdt_subnode_offset()
/external/dtc/pylibfdt/
Dlibfdt.i300 def subnode_offset(self, parentoffset, name, quiet=()):
314 return check_err(fdt_subnode_offset(self._fdt, parentoffset, name),
659 def add_subnode(self, parentoffset, name, quiet=()):
672 return check_err(fdt_add_subnode(self._fdt, parentoffset, name), quiet)