| /scripts/dtc/libfdt/ |
| A D | libfdt.h | 624 int nodeoffset, 664 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w() 883 int fdt_node_depth(const void *fdt, int nodeoffset); 906 int fdt_parent_offset(const void *fdt, int nodeoffset); 1142 int fdt_address_cells(const void *fdt, int nodeoffset); 1163 int fdt_size_cells(const void *fdt, int nodeoffset); 1354 int fdt_nop_node(void *fdt, int nodeoffset); 1664 return fdt_setprop_u32(fdt, nodeoffset, name, val); in fdt_setprop_cell() 1724 #define fdt_setprop_empty(fdt, nodeoffset, name) \ argument 1725 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_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_ro.c | 442 int nodeoffset, in fdt_get_property() argument 445 return fdt_get_property_namelen(fdt, nodeoffset, name, in fdt_get_property() 513 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); in fdt_get_phandle() 552 (offset >= 0) && (offset <= nodeoffset); in fdt_get_path() 573 if (offset == nodeoffset) { in fdt_get_path() 604 (offset >= 0) && (offset <= nodeoffset); in fdt_supernode_atdepth_offset() 609 if (offset == nodeoffset) { in fdt_supernode_atdepth_offset() 630 int fdt_node_depth(const void *fdt, int nodeoffset) in fdt_node_depth() argument 641 int fdt_parent_offset(const void *fdt, int nodeoffset) in fdt_parent_offset() argument 643 int nodedepth = fdt_node_depth(fdt, nodeoffset); in fdt_parent_offset() [all …]
|
| A D | fdt_rw.c | 191 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_() 236 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument 269 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder() 277 int fdt_setprop(void *fdt, int nodeoffset, const char *name, in fdt_setprop() argument 300 prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_appendprop() 311 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_appendprop() 319 int fdt_delprop(void *fdt, int nodeoffset, const char *name) in fdt_delprop() argument 326 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_delprop() 380 int fdt_del_node(void *fdt, int nodeoffset) in fdt_del_node() argument 386 endoffset = fdt_node_end_offset_(fdt, nodeoffset); in fdt_del_node() [all …]
|
| A D | fdt_overlay.c | 651 static int get_path_len(const void *fdt, int nodeoffset) in get_path_len() argument 659 name = fdt_get_name(fdt, nodeoffset, &namelen); in get_path_len() 667 nodeoffset = fdt_parent_offset(fdt, nodeoffset); in get_path_len() 668 if (nodeoffset < 0) in get_path_len() 669 return nodeoffset; in get_path_len()
|
| A D | libfdt_internal.h | 27 int fdt_node_end_offset_(void *fdt, int nodeoffset);
|
| /scripts/dtc/pylibfdt/ |
| A D | libfdt.i_shipped | 160 nodeoffset: Node offset of previous node 175 def first_subnode(self, nodeoffset, quiet=()): 179 nodeoffset: Node offset of parent node 190 def next_subnode(self, nodeoffset, quiet=()): 336 def get_name(self, nodeoffset): 340 nodeoffset: Offset of node to check 426 def get_phandle(self, nodeoffset): 430 nodeoffset: Node offset to check 454 nodeoffset: Node offset to check 678 def del_node(self, nodeoffset, quiet=()): [all …]
|