Searched refs:nodeoffset (Results 1 - 8 of 8) sorted by relevance

/haiku/src/libs/libfdt/
H A Dfdt_wip.c13 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, argument
21 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen,
33 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, argument
39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen);
46 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name,
59 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) argument
64 prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
83 int fdt_nop_node(void *fdt, int nodeoffset) argument
87 endoffset = fdt_node_end_offset_(fdt, nodeoffset);
91 fdt_nop_region_(fdt_offset_ptr_w(fdt, nodeoffset,
[all...]
H A Dfdt_addresses.c14 static int fdt_cells(const void *fdt, int nodeoffset, const char *name) argument
20 c = fdt_getprop(fdt, nodeoffset, name, &len);
34 int fdt_address_cells(const void *fdt, int nodeoffset) argument
38 val = fdt_cells(fdt, nodeoffset, "#address-cells");
46 int fdt_size_cells(const void *fdt, int nodeoffset) argument
50 val = fdt_cells(fdt, nodeoffset, "#size-cells");
57 int fdt_appendprop_addrrange(void *fdt, int parent, int nodeoffset, argument
99 return fdt_appendprop(fdt, nodeoffset, name, data,
H A Dfdt_ro.c300 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) argument
302 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset);
307 || ((err = fdt_check_node_offset_(fdt, nodeoffset)) < 0))
338 int fdt_first_property_offset(const void *fdt, int nodeoffset) argument
342 if ((offset = fdt_check_node_offset_(fdt, nodeoffset)) < 0)
444 int nodeoffset,
447 return fdt_get_property_namelen(fdt, nodeoffset, name,
451 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, argument
457 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp,
502 const void *fdt_getprop(const void *fdt, int nodeoffset, argument
443 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument
508 fdt_get_phandle(const void *fdt, int nodeoffset) argument
542 fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen) argument
594 fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset, int supernodedepth, int *nodedepth) argument
632 fdt_node_depth(const void *fdt, int nodeoffset) argument
644 fdt_parent_offset(const void *fdt, int nodeoffset) argument
723 fdt_stringlist_count(const void *fdt, int nodeoffset, const char *property) argument
748 fdt_stringlist_search(const void *fdt, int nodeoffset, const char *property, const char *string) argument
778 fdt_stringlist_get(const void *fdt, int nodeoffset, const char *property, int idx, int *lenp) argument
823 fdt_node_check_compatible(const void *fdt, int nodeoffset, const char *compatible) argument
[all...]
H A Dfdt_rw.c184 static int fdt_resize_property_(void *fdt, int nodeoffset, const char *name, argument
190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
202 static int fdt_add_property_(void *fdt, int nodeoffset, const char *name, argument
211 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0)
235 int fdt_set_name(void *fdt, int nodeoffset, const char *name) argument
243 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen);
258 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name, argument
266 err = fdt_resize_property_(fdt, nodeoffset, name, len, &prop);
268 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop);
276 int fdt_setprop(void *fdt, int nodeoffset, cons argument
291 fdt_appendprop(void *fdt, int nodeoffset, const char *name, const void *val, int len) argument
318 fdt_delprop(void *fdt, int nodeoffset, const char *name) argument
382 fdt_del_node(void *fdt, int nodeoffset) argument
[all...]
H A Dfdt_overlay.c651 static int get_path_len(const void *fdt, int nodeoffset) argument
659 name = fdt_get_name(fdt, nodeoffset, &namelen);
667 nodeoffset = fdt_parent_offset(fdt, nodeoffset);
668 if (nodeoffset < 0)
669 return nodeoffset;
/haiku/headers/libs/libfdt/
H A Dlibfdt.h543 * @nodeoffset: structure block offset of the starting node
547 * device tree node at structure block offset nodeoffset. If lenp is
557 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE
563 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
568 * @nodeoffset: structure block offset of a node
576 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag
583 int fdt_first_property_offset(const void *fdt, int nodeoffset);
597 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag
653 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag
667 * @nodeoffset
715 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
775 fdt_getprop_namelen_w(void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument
814 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
1317 fdt_setprop_inplace_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1352 fdt_setprop_inplace_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument
1369 fdt_setprop_inplace_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1684 fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1719 fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument
1737 fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1862 fdt_appendprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1897 fdt_appendprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument
1915 fdt_appendprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
[all...]
H A Dlibfdt_internal.h24 int fdt_node_end_offset_(void *fdt, int nodeoffset);
/haiku/src/bin/bfs_tools/lib/
H A DBPlusTree.h165 bplustree_node *Node(off_t nodeoffset,bool check = true);

Completed in 52 milliseconds