Home
last modified time | relevance | path

Searched refs:nodeoffset (Results 1 – 10 of 10) sorted by relevance

/rk3399_ARM-atf/lib/libfdt/
H A Dlibfdt.h588 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
608 int fdt_first_property_offset(const void *fdt, int nodeoffset);
712 int nodeoffset,
745 const struct fdt_property *fdt_get_property(const void *fdt, int nodeoffset,
747 static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset, in fdt_get_property_w() argument
752 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
805 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset,
807 static inline void *fdt_getprop_namelen_w(void *fdt, int nodeoffset, in fdt_getprop_namelen_w() argument
811 return (void *)(uintptr_t)fdt_getprop_namelen(fdt, nodeoffset, name, in fdt_getprop_namelen_w()
844 const void *fdt_getprop(const void *fdt, int nodeoffset,
[all …]
H A Dfdt_wip.c13 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 Dfdt_addresses.c14 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 Dfdt_ro.c303 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 Dfdt_rw.c184 static int fdt_resize_property_(void *fdt, int nodeoffset, const char *name, in fdt_resize_property_() argument
190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_()
202 static int fdt_add_property_(void *fdt, int nodeoffset, const char *name, in fdt_add_property_() argument
211 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_add_property_()
235 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument
243 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name()
258 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name, in fdt_setprop_placeholder() argument
266 err = fdt_resize_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder()
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
[all …]
H A Dfdt_overlay.c867 static int get_path_len(const void *fdt, int nodeoffset) in get_path_len() argument
875 name = fdt_get_name(fdt, nodeoffset, &namelen); in get_path_len()
883 nodeoffset = fdt_parent_offset(fdt, nodeoffset); in get_path_len()
884 if (nodeoffset < 0) in get_path_len()
885 return nodeoffset; in get_path_len()
H A Dlibfdt_internal.h24 int fdt_node_end_offset_(void *fdt, int nodeoffset);
/rk3399_ARM-atf/plat/arm/board/n1sdp/
H A Dn1sdp_image_load.c49 int nodeoffset, err; in plat_n1sdp_append_config_node() local
65 nodeoffset = fdt_subnode_offset(fdt, 0, "platform-info"); in plat_n1sdp_append_config_node()
66 if (nodeoffset < 0) { in plat_n1sdp_append_config_node()
71 err = fdt_setprop_u32(fdt, nodeoffset, "multichip-mode", in plat_n1sdp_append_config_node()
78 err = fdt_setprop_u32(fdt, nodeoffset, "secondary-chip-count", in plat_n1sdp_append_config_node()
85 err = fdt_setprop_u32(fdt, nodeoffset, "local-ddr-size", in plat_n1sdp_append_config_node()
92 err = fdt_setprop_u32(fdt, nodeoffset, "remote-ddr-size", in plat_n1sdp_append_config_node()
/rk3399_ARM-atf/plat/arm/board/neoverse_rd/common/
H A Dnrd_image_load.c83 int nodeoffset, err; in plat_nrd_append_config_node() local
101 nodeoffset = fdt_subnode_offset(fdt, 0, "system-id"); in plat_nrd_append_config_node()
102 if (nodeoffset < 0) { in plat_nrd_append_config_node()
108 err = fdt_setprop_u32(fdt, nodeoffset, "platform-id", platid); in plat_nrd_append_config_node()
115 err = fdt_setprop_u32(fdt, nodeoffset, "config-id", platcfg); in plat_nrd_append_config_node()
122 err = fdt_setprop_u32(fdt, nodeoffset, "multi-chip-mode", platcfg); in plat_nrd_append_config_node()
130 err = fdt_setprop(fdt, nodeoffset, "isolated-cpu-list", in plat_nrd_append_config_node()
H A Dnrd_bl31_setup.c187 int nodeoffset, err; in append_config_node() local
203 nodeoffset = fdt_subnode_offset(fdt, 0, "system-id"); in append_config_node()
204 if (nodeoffset < 0) { in append_config_node()
210 err = fdt_setprop_u32(fdt, nodeoffset, "platform-id", platid); in append_config_node()
217 err = fdt_setprop_u32(fdt, nodeoffset, "config-id", platcfg); in append_config_node()
224 err = fdt_setprop_u32(fdt, nodeoffset, "multi-chip-mode", platcfg); in append_config_node()