HomeSort by: relevance | last modified time | path
    Searched refs:nodeoffset (Results 1 - 16 of 16) sorted by relevancy

  /src/sys/external/bsd/libfdt/dist/
fdt_wip.c 15 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset,
23 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen,
35 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name,
41 propval = fdt_getprop(fdt, nodeoffset, name, &proplen);
48 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name,
61 int fdt_nop_property(void *fdt, int nodeoffset, const char *name)
66 prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
85 int fdt_nop_node(void *fdt, int nodeoffset)
89 endoffset = fdt_node_end_offset_(fdt, nodeoffset);
93 fdt_nop_region_(fdt_offset_ptr_w(fdt, nodeoffset, 0)
    [all...]
libfdt.h 522 * @nodeoffset: structure block offset of the starting node
526 * device tree node at structure block offset nodeoffset. If lenp is
536 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE
542 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
547 * @nodeoffset: structure block offset of a node
555 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag
562 int fdt_first_property_offset(const void *fdt, int nodeoffset);
576 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag
632 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag
646 * @nodeoffset: offset of the node whose property to fin
    [all...]
fdt_addresses.c 16 static int fdt_cells(const void *fdt, int nodeoffset, const char *name)
22 c = fdt_getprop(fdt, nodeoffset, name, &len);
36 int fdt_address_cells(const void *fdt, int nodeoffset)
40 val = fdt_cells(fdt, nodeoffset, "#address-cells");
48 int fdt_size_cells(const void *fdt, int nodeoffset)
52 val = fdt_cells(fdt, nodeoffset, "#size-cells");
59 int fdt_appendprop_addrrange(void *fdt, int parent, int nodeoffset,
101 return fdt_appendprop(fdt, nodeoffset, name, data,
fdt_ro.c 288 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len)
290 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset);
295 || ((err = fdt_check_node_offset_(fdt, nodeoffset)) < 0))
326 int fdt_first_property_offset(const void *fdt, int nodeoffset)
330 if ((offset = fdt_check_node_offset_(fdt, nodeoffset)) < 0)
430 int nodeoffset,
433 return fdt_get_property_namelen(fdt, nodeoffset, name,
437 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset,
443 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp,
483 const void *fdt_getprop(const void *fdt, int nodeoffset,
    [all...]
fdt_rw.c 172 static int fdt_resize_property_(void *fdt, int nodeoffset, const char *name,
178 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
190 static int fdt_add_property_(void *fdt, int nodeoffset, const char *name,
199 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0)
222 int fdt_set_name(void *fdt, int nodeoffset, const char *name)
230 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen);
245 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name,
253 err = fdt_resize_property_(fdt, nodeoffset, name, len, &prop);
255 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop);
263 int fdt_setprop(void *fdt, int nodeoffset, const char *name
    [all...]
libfdt_internal.h 26 int fdt_node_end_offset_(void *fdt, int nodeoffset);
fdt_overlay.c 652 static int get_path_len(const void *fdt, int nodeoffset)
660 name = fdt_get_name(fdt, nodeoffset, &namelen);
668 nodeoffset = fdt_parent_offset(fdt, nodeoffset);
669 if (nodeoffset < 0)
670 return nodeoffset;
  /src/external/gpl2/dtc/dist/tests/
tests.h 87 void check_property(void *fdt, int nodeoffset, const char *name,
89 #define check_property_cell(fdt, nodeoffset, name, val) \
92 check_property(fdt, nodeoffset, name, sizeof(x), &x); \
96 const void *check_getprop(void *fdt, int nodeoffset, const char *name,
98 #define check_getprop_cell(fdt, nodeoffset, name, val) \
101 check_getprop(fdt, nodeoffset, name, sizeof(x), &x); \
103 #define check_getprop_64(fdt, nodeoffset, name, val) \
106 check_getprop(fdt, nodeoffset, name, sizeof(x), &x); \
108 #define check_getprop_string(fdt, nodeoffset, name, s) \
109 check_getprop((fdt), (nodeoffset), (name), strlen(s)+1, (s)
    [all...]
supernode_atdepth_offset.c 63 int nodeoffset, supernodeoffset, superpathoffset, pathprefixlen; local
74 nodeoffset = fdt_path_offset(fdt, path);
75 if (nodeoffset < 0)
76 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(nodeoffset));
82 supernodeoffset = fdt_supernode_atdepth_offset(fdt, nodeoffset,
100 int nodeoffset, err; local
102 nodeoffset = fdt_path_offset(fdt, path);
103 if (nodeoffset < 0)
104 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(nodeoffset));
106 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, pdepth + 1, NULL)
    [all...]
parent_offset.c 34 int nodeoffset, parentoffset, parentpathoffset, pathparentlen; local
43 nodeoffset = fdt_path_offset(fdt, path);
44 if (nodeoffset < 0)
45 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(nodeoffset));
52 parentoffset = fdt_parent_offset(fdt, nodeoffset);
dtb_reverse.c 69 static void reverse_node(void *in, void *out, int nodeoffset);
93 static void reverse_node(void *in, void *out, int nodeoffset)
95 const char *name = fdt_get_name(in, nodeoffset, NULL);
101 CHECK(fdt_get_path(in, nodeoffset, path, sizeof(path)));
102 verbose_printf("reverse_node(): nodeoffset=%d [%s]\n",
103 nodeoffset, path);
107 offset = fdt_first_property_offset(in, nodeoffset);
113 offset = fdt_next_node(in, nodeoffset, &depth);
testutils.c 92 void check_property(void *fdt, int nodeoffset, const char *name,
101 prop = fdt_get_property(fdt, nodeoffset, name, &retlen);
134 const void *check_getprop(void *fdt, int nodeoffset, const char *name,
140 propval = fdt_getprop(fdt, nodeoffset, name, &proplen);
177 const void *check_getprop_addrrange(void *fdt, int parent, int nodeoffset,
227 propval = check_getprop(fdt, nodeoffset, name, buf_size,
  /src/external/gpl2/dtc/dist/pylibfdt/
libfdt.i 152 def next_node(self, nodeoffset, depth, quiet=()):
156 nodeoffset: Node offset of previous node
157 depth: The depth of the node at nodeoffset. This is used to
169 return check_err(fdt_next_node(self._fdt, nodeoffset, depth), quiet)
171 def first_subnode(self, nodeoffset, quiet=()):
175 nodeoffset: Node offset of parent node
184 return check_err(fdt_first_subnode(self._fdt, nodeoffset), quiet)
186 def next_subnode(self, nodeoffset, quiet=()):
190 nodeoffset: Node offset of previous subnode
199 return check_err(fdt_next_subnode(self._fdt, nodeoffset), quiet
    [all...]
  /src/external/gpl2/dtc/dist/
fdtput.c 138 static char *realloc_property(char *fdt, int nodeoffset,
144 if (!fdt_get_property(fdt, nodeoffset, name, &oldlen))
  /src/external/cddl/osnet/dist/lib/libuutil/common/
uu_avl.c 66 uu_avl_pool_create(const char *name, size_t objsize, size_t nodeoffset,
73 nodeoffset + sizeof (uu_avl_node_t) > objsize ||
91 pp->uap_nodeoffset = nodeoffset;
uu_list.c 64 size_t nodeoffset, uu_compare_fn_t *compare_func, uint32_t flags)
70 nodeoffset + sizeof (uu_list_node_t) > objsize) {
87 pp->ulp_nodeoffset = nodeoffset;

Completed in 27 milliseconds