/device/linaro/bootloader/arm-trusted-firmware/include/lib/libfdt/ |
D | libfdt.h | 438 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 458 int fdt_first_property_offset(const void *fdt, int nodeoffset); 548 int nodeoffset, 580 const struct fdt_property *fdt_get_property(const void *fdt, int nodeoffset, 582 static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset, in fdt_get_property_w() argument 587 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w() 635 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, 637 static inline void *fdt_getprop_namelen_w(void *fdt, int nodeoffset, in fdt_getprop_namelen_w() argument 641 return (void *)(uintptr_t)fdt_getprop_namelen(fdt, nodeoffset, name, in fdt_getprop_namelen_w() 673 const void *fdt_getprop(const void *fdt, int nodeoffset, [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/ |
D | libfdt.h | 365 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 385 int fdt_first_property_offset(const void *fdt, int nodeoffset); 448 int nodeoffset, 479 const struct fdt_property *fdt_get_property(const void *fdt, int nodeoffset, 481 static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset, in fdt_get_property_w() argument 486 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w() 534 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, 564 const void *fdt_getprop(const void *fdt, int nodeoffset, 566 static inline void *fdt_getprop_w(void *fdt, int nodeoffset, in fdt_getprop_w() argument 569 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp); in fdt_getprop_w() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/ |
D | fdt_wip.c | 58 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, in fdt_setprop_inplace_namelen_partial() argument 66 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial() 78 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() argument 84 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace() 91 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name, in fdt_setprop_inplace() 104 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() argument 109 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_nop_property() 128 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node() argument 132 endoffset = _fdt_node_end_offset(fdt, nodeoffset); in fdt_nop_node() 136 _fdt_nop_region(fdt_offset_ptr_w(fdt, nodeoffset, 0), in fdt_nop_node() [all …]
|
D | fdt_ro.c | 233 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) in fdt_get_name() argument 235 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); in fdt_get_name() 239 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0)) in fdt_get_name() 253 int fdt_first_property_offset(const void *fdt, int nodeoffset) in fdt_first_property_offset() argument 257 if ((offset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in fdt_first_property_offset() 317 int nodeoffset, in fdt_get_property() argument 320 return fdt_get_property_namelen(fdt, nodeoffset, name, in fdt_get_property() 324 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, in fdt_getprop_namelen() argument 329 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp); in fdt_getprop_namelen() 349 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() argument [all …]
|
D | fdt_addresses.c | 58 int fdt_address_cells(const void *fdt, int nodeoffset) in fdt_address_cells() argument 64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len); in fdt_address_cells() 78 int fdt_size_cells(const void *fdt, int nodeoffset) in fdt_size_cells() argument 84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len); in fdt_size_cells()
|
D | fdt_rw.c | 203 static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name, in _fdt_resize_property() argument 209 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in _fdt_resize_property() 221 static int _fdt_add_property(void *fdt, int nodeoffset, const char *name, in _fdt_add_property() argument 229 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in _fdt_add_property() 249 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument 257 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name() 272 int fdt_setprop(void *fdt, int nodeoffset, const char *name, in fdt_setprop() argument 280 err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop); in fdt_setprop() 282 err = _fdt_add_property(fdt, nodeoffset, name, len, &prop); in fdt_setprop() 290 int fdt_appendprop(void *fdt, int nodeoffset, const char *name, in fdt_appendprop() argument [all …]
|
D | libfdt_internal.h | 68 int _fdt_node_end_offset(void *fdt, int nodeoffset);
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/ |
D | fdt_wip.c | 58 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() argument 64 propval = fdt_getprop_w(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace() 83 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() argument 88 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_nop_property() 107 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node() argument 111 endoffset = _fdt_node_end_offset(fdt, nodeoffset); in fdt_nop_node() 115 _fdt_nop_region(fdt_offset_ptr_w(fdt, nodeoffset, 0), in fdt_nop_node() 116 endoffset - nodeoffset); in fdt_nop_node()
|
D | fdt_ro.c | 201 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) in fdt_get_name() argument 203 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); in fdt_get_name() 207 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0)) in fdt_get_name() 221 int fdt_first_property_offset(const void *fdt, int nodeoffset) in fdt_first_property_offset() argument 225 if ((offset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in fdt_first_property_offset() 286 int nodeoffset, in fdt_get_property() argument 289 return fdt_get_property_namelen(fdt, nodeoffset, name, in fdt_get_property() 293 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, in fdt_getprop_namelen() argument 298 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp); in fdt_getprop_namelen() 318 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() argument [all …]
|
D | fdt_rw.c | 207 static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name, in _fdt_resize_property() argument 213 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in _fdt_resize_property() 226 static int _fdt_add_property(void *fdt, int nodeoffset, const char *name, in _fdt_add_property() argument 234 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in _fdt_add_property() 254 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument 262 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name() 277 int fdt_setprop(void *fdt, int nodeoffset, const char *name, in fdt_setprop() argument 285 err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop); in fdt_setprop() 287 err = _fdt_add_property(fdt, nodeoffset, name, len, &prop); in fdt_setprop() 295 int fdt_appendprop(void *fdt, int nodeoffset, const char *name, in fdt_appendprop() argument [all …]
|
D | libfdt_internal.h | 68 int _fdt_node_end_offset(void *fdt, int nodeoffset);
|