/linux-6.3-rc2/scripts/dtc/libfdt/ |
A D | libfdt.h | 687 int nodeoffset, 727 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w() 951 int fdt_node_depth(const void *fdt, int nodeoffset); 974 int fdt_parent_offset(const void *fdt, int nodeoffset); 1210 int fdt_address_cells(const void *fdt, int nodeoffset); 1231 int fdt_size_cells(const void *fdt, int nodeoffset); 1430 int fdt_nop_node(void *fdt, int nodeoffset); 1747 return fdt_setprop_u32(fdt, nodeoffset, name, val); in fdt_setprop_cell() 1808 #define fdt_setprop_empty(fdt, nodeoffset, name) \ argument 1809 fdt_setprop((fdt), (nodeoffset), (name), NULL, 0) [all …]
|
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 …]
|
A D | fdt_ro.c | 444 int nodeoffset, in fdt_get_property() argument 447 return fdt_get_property_namelen(fdt, nodeoffset, name, in fdt_get_property() 515 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); in fdt_get_phandle() 554 (offset >= 0) && (offset <= nodeoffset); in fdt_get_path() 575 if (offset == nodeoffset) { in fdt_get_path() 606 (offset >= 0) && (offset <= nodeoffset); in fdt_supernode_atdepth_offset() 611 if (offset == nodeoffset) { in fdt_supernode_atdepth_offset() 632 int fdt_node_depth(const void *fdt, int nodeoffset) in fdt_node_depth() argument 644 int fdt_parent_offset(const void *fdt, int nodeoffset) in fdt_parent_offset() argument 646 int nodedepth = fdt_node_depth(fdt, nodeoffset); in fdt_parent_offset() [all …]
|
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()
|
A D | fdt_rw.c | 190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_() 235 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument 268 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder() 276 int fdt_setprop(void *fdt, int nodeoffset, const char *name, in fdt_setprop() argument 299 prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_appendprop() 310 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_appendprop() 318 int fdt_delprop(void *fdt, int nodeoffset, const char *name) in fdt_delprop() argument 325 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_delprop() 382 int fdt_del_node(void *fdt, int nodeoffset) in fdt_del_node() argument 388 endoffset = fdt_node_end_offset_(fdt, nodeoffset); in fdt_del_node() [all …]
|
A D | fdt_overlay.c | 636 static int get_path_len(const void *fdt, int nodeoffset) in get_path_len() argument 644 name = fdt_get_name(fdt, nodeoffset, &namelen); in get_path_len() 652 nodeoffset = fdt_parent_offset(fdt, nodeoffset); in get_path_len() 653 if (nodeoffset < 0) in get_path_len() 654 return nodeoffset; in get_path_len()
|
A D | libfdt_internal.h | 24 int fdt_node_end_offset_(void *fdt, int nodeoffset);
|