/seL4-camkes-master/projects/util_libs/libfdt/ |
H A D | fdt_addresses.c | 59 static int fdt_cells(const void *fdt, int nodeoffset, const char *name) argument 65 c = fdt_getprop(fdt, nodeoffset, name, &len); 79 int fdt_address_cells(const void *fdt, int nodeoffset) argument 81 return fdt_cells(fdt, nodeoffset, "#address-cells"); 84 int fdt_size_cells(const void *fdt, int nodeoffset) argument 86 return fdt_cells(fdt, nodeoffset, "#size-cells");
|
H A D | fdt_wip.c | 58 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, argument 66 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, 78 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, argument 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) argument 109 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); 128 int fdt_nop_node(void *fdt, int nodeoffset) argument 132 endoffset = fdt_node_end_offset_(fdt, nodeoffset); 136 fdt_nop_region_(fdt_offset_ptr_w(fdt, nodeoffset, [all...] |
H A D | libfdt.h | 497 * @nodeoffset: structure block offset of the starting node 501 * device tree node at structure block offset nodeoffset. If lenp is 511 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE 517 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 522 * @nodeoffset: structure block offset of a node 530 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag 537 int fdt_first_property_offset(const void *fdt, int nodeoffset); 551 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag 607 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag 621 * @nodeoffset 666 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 724 fdt_getprop_namelen_w(void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument 763 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 1261 fdt_setprop_inplace_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1296 fdt_setprop_inplace_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1308 fdt_setprop_inplace_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1584 fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1619 fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1631 fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1756 fdt_appendprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1791 fdt_appendprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1803 fdt_appendprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument [all...] |
H A D | fdt_ro.c | 310 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) argument 312 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset); 317 || ((err = fdt_check_node_offset_(fdt, nodeoffset)) < 0)) 348 int fdt_first_property_offset(const void *fdt, int nodeoffset) argument 352 if ((offset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) 452 int nodeoffset, 455 return fdt_get_property_namelen(fdt, nodeoffset, name, 459 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, argument 465 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp, 505 const void *fdt_getprop(const void *fdt, int nodeoffset, argument 451 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument 511 fdt_get_phandle(const void *fdt, int nodeoffset) argument 545 fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen) argument 597 fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset, int supernodedepth, int *nodedepth) argument 633 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 D | fdt_rw.c | 203 static int fdt_resize_property_(void *fdt, int nodeoffset, const char *name, argument 209 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); 221 static int fdt_add_property_(void *fdt, int nodeoffset, const char *name, argument 229 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) 249 int fdt_set_name(void *fdt, int nodeoffset, const char *name) argument 257 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); 272 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name, argument 280 err = fdt_resize_property_(fdt, nodeoffset, name, len, &prop); 282 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); 290 int fdt_setprop(void *fdt, int nodeoffset, cons argument 305 fdt_appendprop(void *fdt, int nodeoffset, const char *name, const void *val, int len) argument 332 fdt_delprop(void *fdt, int nodeoffset, const char *name) argument 393 fdt_del_node(void *fdt, int nodeoffset) argument [all...] |
H A D | libfdt_internal.h | 69 int fdt_node_end_offset_(void *fdt, int nodeoffset);
|
H A D | fdt_overlay.c | 695 static int get_path_len(const void *fdt, int nodeoffset) argument 703 name = fdt_get_name(fdt, nodeoffset, &namelen); 711 nodeoffset = fdt_parent_offset(fdt, nodeoffset); 712 if (nodeoffset < 0) 713 return nodeoffset;
|