/trusted-firmware-a/include/lib/libfdt/ |
A D | libfdt.h | 659 int nodeoffset, 699 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w() 918 int fdt_node_depth(const void *fdt, int nodeoffset); 941 int fdt_parent_offset(const void *fdt, int nodeoffset); 1177 int fdt_address_cells(const void *fdt, int nodeoffset); 1198 int fdt_size_cells(const void *fdt, int nodeoffset); 1390 int fdt_nop_node(void *fdt, int nodeoffset); 1700 return fdt_setprop_u32(fdt, nodeoffset, name, val); in fdt_setprop_cell() 1761 #define fdt_setprop_empty(fdt, nodeoffset, name) \ argument 1762 fdt_setprop((fdt), (nodeoffset), (name), NULL, 0) [all …]
|
/trusted-firmware-a/lib/libfdt/ |
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 | 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_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() 379 int fdt_del_node(void *fdt, int nodeoffset) in fdt_del_node() argument 385 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 | 24 int fdt_node_end_offset_(void *fdt, int nodeoffset);
|
/trusted-firmware-a/plat/arm/css/sgi/ |
A D | sgi_image_load.c | 28 int nodeoffset, err; in plat_sgi_append_config_node() local 45 nodeoffset = fdt_subnode_offset(fdt, 0, "system-id"); in plat_sgi_append_config_node() 46 if (nodeoffset < 0) { in plat_sgi_append_config_node() 52 err = fdt_setprop_u32(fdt, nodeoffset, "platform-id", platid); in plat_sgi_append_config_node() 59 err = fdt_setprop_u32(fdt, nodeoffset, "config-id", platcfg); in plat_sgi_append_config_node() 66 err = fdt_setprop_u32(fdt, nodeoffset, "multi-chip-mode", platcfg); in plat_sgi_append_config_node()
|