/linux/scripts/dtc/libfdt/ |
H A D | libfdt.h | 568 * @nodeoffset: structure block offset of the starting node 572 * device tree node at structure block offset nodeoffset. If lenp is 582 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE 588 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 593 * @nodeoffset: structure block offset of a node 601 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag 608 int fdt_first_property_offset(const void *fdt, int nodeoffset); 622 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag 678 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag 699 * @nodeoffset 747 fdt_get_property_w(void * fdt,int nodeoffset,const char * name,int * lenp) fdt_get_property_w() argument 807 fdt_getprop_namelen_w(void * fdt,int nodeoffset,const char * name,int namelen,int * lenp) fdt_getprop_namelen_w() argument 846 fdt_getprop_w(void * fdt,int nodeoffset,const char * name,int * lenp) fdt_getprop_w() argument 1385 fdt_setprop_inplace_u32(void * fdt,int nodeoffset,const char * name,uint32_t val) fdt_setprop_inplace_u32() argument 1420 fdt_setprop_inplace_u64(void * fdt,int nodeoffset,const char * name,uint64_t val) fdt_setprop_inplace_u64() argument 1437 fdt_setprop_inplace_cell(void * fdt,int nodeoffset,const char * name,uint32_t val) fdt_setprop_inplace_cell() argument 1752 fdt_setprop_u32(void * fdt,int nodeoffset,const char * name,uint32_t val) fdt_setprop_u32() argument 1787 fdt_setprop_u64(void * fdt,int nodeoffset,const char * name,uint64_t val) fdt_setprop_u64() argument 1805 fdt_setprop_cell(void * fdt,int nodeoffset,const char * name,uint32_t val) fdt_setprop_cell() argument 1839 fdt_setprop_string(fdt,nodeoffset,name,str) global() argument 1869 fdt_setprop_empty(fdt,nodeoffset,name) global() argument 1930 fdt_appendprop_u32(void * fdt,int nodeoffset,const char * name,uint32_t val) fdt_appendprop_u32() argument 1965 fdt_appendprop_u64(void * fdt,int nodeoffset,const char * name,uint64_t val) fdt_appendprop_u64() argument 1983 fdt_appendprop_cell(void * fdt,int nodeoffset,const char * name,uint32_t val) fdt_appendprop_cell() argument 2016 fdt_appendprop_string(fdt,nodeoffset,name,str) global() argument [all...] |
H A D | fdt_wip.c | 13 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, in fdt_setprop_inplace_namelen_partial() argument 21 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial() 33 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() argument 39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace() 46 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name, in fdt_setprop_inplace() 59 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() argument 64 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_nop_property() 83 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node() argument 87 endoffset = fdt_node_end_offset_(fdt, nodeoffset); in fdt_nop_node() 91 fdt_nop_region_(fdt_offset_ptr_w(fdt, nodeoffset, 0), in fdt_nop_node() [all …]
|
H A D | fdt_ro.c | 303 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) in fdt_get_name() argument 305 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset); in fdt_get_name() 310 || ((err = fdt_check_node_offset_(fdt, nodeoffset)) < 0)) in fdt_get_name() 341 int fdt_first_property_offset(const void *fdt, int nodeoffset) in fdt_first_property_offset() argument 345 if ((offset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_first_property_offset() 447 int nodeoffset, in fdt_get_property() argument 450 return fdt_get_property_namelen(fdt, nodeoffset, name, in fdt_get_property() 454 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, in fdt_getprop_namelen() argument 460 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp, in fdt_getprop_namelen() 505 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() argument [all …]
|
H A D | fdt_addresses.c | 14 static int fdt_cells(const void *fdt, int nodeoffset, const char *name) in fdt_cells() argument 20 c = fdt_getprop(fdt, nodeoffset, name, &len); in fdt_cells() 34 int fdt_address_cells(const void *fdt, int nodeoffset) in fdt_address_cells() argument 38 val = fdt_cells(fdt, nodeoffset, "#address-cells"); in fdt_address_cells() 46 int fdt_size_cells(const void *fdt, int nodeoffset) in fdt_size_cells() argument 50 val = fdt_cells(fdt, nodeoffset, "#size-cells"); in fdt_size_cells() 57 int fdt_appendprop_addrrange(void *fdt, int parent, int nodeoffset, in fdt_appendprop_addrrange() argument 99 return fdt_appendprop(fdt, nodeoffset, name, data, in fdt_appendprop_addrrange()
|
H A D | fdt_rw.c | 186 static int fdt_resize_property_(void *fdt, int nodeoffset, in fdt_resize_property_() 193 *prop = fdt_get_property_namelen_w(fdt, nodeoffset, name, namelen, in fdt_resize_property_() 206 static int fdt_add_property_(void *fdt, int nodeoffset, const char *name, in fdt_add_property_() 215 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_add_property_() 239 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() 247 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name() 262 int fdt_setprop_placeholder_namelen(void *fdt, int nodeoffset, const char *name, in fdt_setprop_placeholder() 270 err = fdt_resize_property_(fdt, nodeoffset, name, namelen, len, &prop); in fdt_setprop_placeholder() 272 err = fdt_add_property_(fdt, nodeoffset, name, namelen, len, in fdt_setprop_placeholder() 281 int fdt_setprop_namelen(void *fdt, int nodeoffset, cons in fdt_setprop() 184 fdt_resize_property_(void * fdt,int nodeoffset,const char * name,int len,struct fdt_property ** prop) fdt_resize_property_() argument 202 fdt_add_property_(void * fdt,int nodeoffset,const char * name,int len,struct fdt_property ** prop) fdt_add_property_() argument 235 fdt_set_name(void * fdt,int nodeoffset,const char * name) fdt_set_name() argument 258 fdt_setprop_placeholder(void * fdt,int nodeoffset,const char * name,int len,void ** prop_data) fdt_setprop_placeholder() argument 276 fdt_setprop(void * fdt,int nodeoffset,const char * name,const void * val,int len) fdt_setprop() argument 291 fdt_appendprop(void * fdt,int nodeoffset,const char * name,const void * val,int len) fdt_appendprop() argument 318 fdt_delprop(void * fdt,int nodeoffset,const char * name) fdt_delprop() argument 382 fdt_del_node(void * fdt,int nodeoffset) fdt_del_node() argument [all...] |
H A D | fdt_overlay.c | 861 static int get_path_len(const void *fdt, int nodeoffset) in overlay_merge() 869 name = fdt_get_name(fdt, nodeoffset, &namelen); in get_path_len() 877 nodeoffset = fdt_parent_offset(fdt, nodeoffset); in get_path_len() 878 if (nodeoffset < 0) in get_path_len() 879 return nodeoffset; in get_path_len() 863 get_path_len(const void * fdt,int nodeoffset) get_path_len() argument
|
H A D | libfdt_internal.h | 32 int fdt_node_end_offset_(void *fdt, int nodeoffset); in fdt_offset_ptr_w_()
|