HomeSort by relevance Sort by last modified time
    Searched full:nodeoffset (Results 1 - 25 of 66) sorted by null

1 2 3

  /device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/
fdt_wip.c 58 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset,
66 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen,
78 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name,
84 propval = fdt_getprop(fdt, nodeoffset, name, &proplen);
91 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name,
104 int fdt_nop_property(void *fdt, int nodeoffset, const char *name)
109 prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
128 int fdt_nop_node(void *fdt, int nodeoffset)
132 endoffset = _fdt_node_end_offset(fdt, nodeoffset);
136 _fdt_nop_region(fdt_offset_ptr_w(fdt, nodeoffset, 0)
    [all...]
fdt_ro.c 233 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len)
235 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset);
239 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0))
253 int fdt_first_property_offset(const void *fdt, int nodeoffset)
257 if ((offset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
317 int nodeoffset,
320 return fdt_get_property_namelen(fdt, nodeoffset, name,
324 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset,
329 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp);
349 const void *fdt_getprop(const void *fdt, int nodeoffset,
    [all...]
fdt_rw.c 203 static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name,
209 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
221 static int _fdt_add_property(void *fdt, int nodeoffset, const char *name,
229 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
249 int fdt_set_name(void *fdt, int nodeoffset, const char *name)
257 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen);
272 int fdt_setprop(void *fdt, int nodeoffset, const char *name,
280 err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop);
282 err = _fdt_add_property(fdt, nodeoffset, name, len, &prop);
290 int fdt_appendprop(void *fdt, int nodeoffset, const char *name
    [all...]
fdt_addresses.c 58 int fdt_address_cells(const void *fdt, int nodeoffset)
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len);
78 int fdt_size_cells(const void *fdt, int nodeoffset)
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len);
libfdt_internal.h 68 int _fdt_node_end_offset(void *fdt, int nodeoffset);
  /external/dtc/libfdt/
fdt_wip.c 58 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset,
66 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen,
78 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name,
84 propval = fdt_getprop(fdt, nodeoffset, name, &proplen);
91 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name,
104 int fdt_nop_property(void *fdt, int nodeoffset, const char *name)
109 prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
128 int fdt_nop_node(void *fdt, int nodeoffset)
132 endoffset = _fdt_node_end_offset(fdt, nodeoffset);
136 _fdt_nop_region(fdt_offset_ptr_w(fdt, nodeoffset, 0)
    [all...]
libfdt.h 429 * @nodeoffset: structure block offset of the starting node
433 * device tree node at structure block offset nodeoffset. If lenp is
443 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE
449 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
454 * @nodeoffset: structure block offset of a node
462 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag
469 int fdt_first_property_offset(const void *fdt, int nodeoffset);
483 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag
536 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag
550 * @nodeoffset: offset of the node whose property to fin
    [all...]
fdt_ro.c 233 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len)
235 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset);
239 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0))
253 int fdt_first_property_offset(const void *fdt, int nodeoffset)
257 if ((offset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
317 int nodeoffset,
320 return fdt_get_property_namelen(fdt, nodeoffset, name,
324 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset,
329 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp);
349 const void *fdt_getprop(const void *fdt, int nodeoffset,
    [all...]
fdt_rw.c 203 static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name,
209 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
221 static int _fdt_add_property(void *fdt, int nodeoffset, const char *name,
229 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
249 int fdt_set_name(void *fdt, int nodeoffset, const char *name)
257 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen);
272 int fdt_setprop(void *fdt, int nodeoffset, const char *name,
280 err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop);
282 err = _fdt_add_property(fdt, nodeoffset, name, len, &prop);
291 int fdt_appendprop(void *fdt, int nodeoffset, const char *name
    [all...]
fdt_addresses.c 58 int fdt_address_cells(const void *fdt, int nodeoffset)
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len);
78 int fdt_size_cells(const void *fdt, int nodeoffset)
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len);
libfdt_internal.h 68 int _fdt_node_end_offset(void *fdt, int nodeoffset);
  /external/dtc/tests/
supernode_atdepth_offset.c 74 int nodeoffset, supernodeoffset, superpathoffset, pathprefixlen; local
85 nodeoffset = fdt_path_offset(fdt, path);
86 if (nodeoffset < 0)
87 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(nodeoffset));
93 supernodeoffset = fdt_supernode_atdepth_offset(fdt, nodeoffset,
111 int nodeoffset, err; local
113 nodeoffset = fdt_path_offset(fdt, path);
114 if (nodeoffset < 0)
115 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(nodeoffset));
117 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, pdepth + 1, NULL)
    [all...]
tests.h 98 void check_property(void *fdt, int nodeoffset, const char *name,
100 #define check_property_cell(fdt, nodeoffset, name, val) \
103 check_property(fdt, nodeoffset, name, sizeof(x), &x); \
107 const void *check_getprop(void *fdt, int nodeoffset, const char *name,
109 #define check_getprop_cell(fdt, nodeoffset, name, val) \
112 check_getprop(fdt, nodeoffset, name, sizeof(x), &x); \
114 #define check_getprop_64(fdt, nodeoffset, name, val) \
117 check_getprop(fdt, nodeoffset, name, sizeof(x), &x); \
119 #define check_getprop_string(fdt, nodeoffset, name, s) \
120 check_getprop((fdt), (nodeoffset), (name), strlen(s)+1, (s)
    [all...]
dtb_reverse.c 80 static void reverse_node(void *in, void *out, int nodeoffset);
104 static void reverse_node(void *in, void *out, int nodeoffset)
106 const char *name = fdt_get_name(in, nodeoffset, NULL);
112 CHECK(fdt_get_path(in, nodeoffset, path, sizeof(path)));
113 verbose_printf("reverse_node(): nodeoffset=%d [%s]\n",
114 nodeoffset, path);
118 offset = fdt_first_property_offset(in, nodeoffset);
124 offset = fdt_next_node(in, nodeoffset, &depth);
parent_offset.c 45 int nodeoffset, parentoffset, parentpathoffset, pathparentlen; local
54 nodeoffset = fdt_path_offset(fdt, path);
55 if (nodeoffset < 0)
56 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(nodeoffset));
63 parentoffset = fdt_parent_offset(fdt, nodeoffset);
testutils.c 87 void check_property(void *fdt, int nodeoffset, const char *name,
96 prop = fdt_get_property(fdt, nodeoffset, name, &retlen);
124 const void *check_getprop(void *fdt, int nodeoffset, const char *name,
130 propval = fdt_getprop(fdt, nodeoffset, name, &proplen);
  /device/linaro/bootloader/arm-trusted-firmware/include/lib/libfdt/
libfdt.h 418 * @nodeoffset: structure block offset of the starting node
422 * device tree node at structure block offset nodeoffset. If lenp is
432 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE
438 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
443 * @nodeoffset: structure block offset of a node
451 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag
458 int fdt_first_property_offset(const void *fdt, int nodeoffset);
472 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag
525 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag
539 * @nodeoffset: offset of the node whose property to fin
    [all...]
  /device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/
fdt_wip.c 58 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name,
64 propval = fdt_getprop_w(fdt, nodeoffset, name, &proplen);
83 int fdt_nop_property(void *fdt, int nodeoffset, const char *name)
88 prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
107 int fdt_nop_node(void *fdt, int nodeoffset)
111 endoffset = _fdt_node_end_offset(fdt, nodeoffset);
115 _fdt_nop_region(fdt_offset_ptr_w(fdt, nodeoffset, 0),
116 endoffset - nodeoffset);
fdt_ro.c 201 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len)
203 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset);
207 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0))
221 int fdt_first_property_offset(const void *fdt, int nodeoffset)
225 if ((offset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
286 int nodeoffset,
289 return fdt_get_property_namelen(fdt, nodeoffset, name,
293 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset,
298 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp);
318 const void *fdt_getprop(const void *fdt, int nodeoffset,
    [all...]
fdt_rw.c 207 static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name,
213 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
226 static int _fdt_add_property(void *fdt, int nodeoffset, const char *name,
234 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
254 int fdt_set_name(void *fdt, int nodeoffset, const char *name)
262 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen);
277 int fdt_setprop(void *fdt, int nodeoffset, const char *name,
285 err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop);
287 err = _fdt_add_property(fdt, nodeoffset, name, len, &prop);
295 int fdt_appendprop(void *fdt, int nodeoffset, const char *name,
    [all...]
libfdt_internal.h 68 int _fdt_node_end_offset(void *fdt, int nodeoffset);
  /device/linaro/bootloader/edk2/EmbeddedPkg/Include/
libfdt.h 347 * @nodeoffset: structure block offset of the starting node
351 * device tree node at structure block offset nodeoffset. If lenp is
360 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag
365 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
370 * @nodeoffset: structure block offset of a node
378 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag
385 int fdt_first_property_offset(const void *fdt, int nodeoffset);
399 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag
425 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag
439 * @nodeoffset: offset of the node whose property to find
    [all...]
  /external/llvm/test/ObjectYAML/MachO/
export_trie.yaml 144 NodeOffset: 0
152 NodeOffset: 5
160 NodeOffset: 33
167 NodeOffset: 37
177 #CHECK: NodeOffset: 0
181 #CHECK: NodeOffset: 5
185 #CHECK: NodeOffset: 33
189 #CHECK: NodeOffset: 37
  /external/dtc/pylibfdt/
libfdt.i 190 def first_property_offset(self, nodeoffset, quiet=()):
194 nodeoffset: Offset to the node to check
204 return check_err(fdt_first_property_offset(self._fdt, nodeoffset),
224 def get_name(self, nodeoffset):
228 nodeoffset: Offset of node to check
234 FdtException on error (e.g. nodeoffset is invalid)
236 return check_err_null(fdt_get_name(self._fdt, nodeoffset))[0]
258 def first_subnode(self, nodeoffset, quiet=()):
262 nodeoffset: Node offset of parent node
271 return check_err(fdt_first_subnode(self._fdt, nodeoffset), quiet
    [all...]
  /external/llvm/test/tools/llvm-ar/Inputs/
macho.yaml 39 NodeOffset: 0

Completed in 242 milliseconds

1 2 3