Home
last modified time | relevance | path

Searched refs:fdt_property (Results 1 – 15 of 15) sorted by relevance

/components/drivers/ofw/libfdt/
A Dlibfdt.h660 const struct fdt_property *fdt_get_property_by_offset(const void *fdt,
663 static inline struct fdt_property *fdt_get_property_by_offset_w(void *fdt, in fdt_get_property_by_offset_w()
667 return (struct fdt_property *)(uintptr_t) in fdt_get_property_by_offset_w()
686 const struct fdt_property *fdt_get_property_namelen(const void *fdt,
720 const struct fdt_property *fdt_get_property(const void *fdt, int nodeoffset,
722 static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset, in fdt_get_property_w()
726 return (struct fdt_property *)(uintptr_t) in fdt_get_property_w()
1479 int fdt_property(void *fdt, const char *name, const void *val, int len);
1483 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32()
1488 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64()
[all …]
A Dfdt_ro.c356 static const struct fdt_property *fdt_get_property_by_offset_(const void *fdt, in fdt_get_property_by_offset_()
361 const struct fdt_property *prop; in fdt_get_property_by_offset_()
378 const struct fdt_property *fdt_get_property_by_offset(const void *fdt, in fdt_get_property_by_offset()
394 static const struct fdt_property *fdt_get_property_namelen_(const void *fdt, in fdt_get_property_namelen_()
404 const struct fdt_property *prop; in fdt_get_property_namelen_()
425 const struct fdt_property *fdt_get_property_namelen(const void *fdt, in fdt_get_property_namelen()
443 const struct fdt_property *fdt_get_property(const void *fdt, in fdt_get_property()
455 const struct fdt_property *prop; in fdt_getprop_namelen()
472 const struct fdt_property *prop; in fdt_getprop_by_offset()
A Dfdt_rw.c185 int len, struct fdt_property **prop) in fdt_resize_property_()
203 int len, struct fdt_property **prop) in fdt_add_property_()
261 struct fdt_property *prop; in fdt_setprop_placeholder()
294 struct fdt_property *prop; in fdt_appendprop()
320 struct fdt_property *prop; in fdt_delprop()
A Dfdt.h41 struct fdt_property { struct
A Dfdt_sw.c295 struct fdt_property *prop; in fdt_property_placeholder()
325 int fdt_property(void *fdt, const char *name, const void *val, int len) in fdt_property() function
363 struct fdt_property *prop = in fdt_finish()
A Dfdt_wip.c61 struct fdt_property *prop; in fdt_nop_property()
A Dfdt.c199 offset += sizeof(struct fdt_property) - FDT_TAGSIZE + len; in fdt_next_tag()
/components/legacy/fdt/libfdt/
A Dlibfdt.h574 const struct fdt_property *fdt_get_property_by_offset(const void *fdt,
590 const struct fdt_property *fdt_get_property_namelen(const void *fdt,
624 const struct fdt_property *fdt_get_property(const void *fdt, int nodeoffset,
626 static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset, in fdt_get_property_w()
630 return (struct fdt_property *)(uintptr_t) in fdt_get_property_w()
1333 int fdt_property(void *fdt, const char *name, const void *val, int len);
1337 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32()
1342 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64()
1349 fdt_property(fdt, name, str, strlen(str)+1)
A Dfdt_ro.c269 const struct fdt_property *fdt_get_property_by_offset(const void *fdt, in fdt_get_property_by_offset()
274 const struct fdt_property *prop; in fdt_get_property_by_offset()
290 const struct fdt_property *fdt_get_property_namelen(const void *fdt, in fdt_get_property_namelen()
298 const struct fdt_property *prop; in fdt_get_property_namelen()
314 const struct fdt_property *fdt_get_property(const void *fdt, in fdt_get_property()
325 const struct fdt_property *prop; in fdt_getprop_namelen()
337 const struct fdt_property *prop; in fdt_getprop_by_offset()
A Dfdt_rw.c204 int len, struct fdt_property **prop) in _fdt_resize_property()
222 int len, struct fdt_property **prop) in _fdt_add_property()
275 struct fdt_property *prop; in fdt_setprop()
294 struct fdt_property *prop; in fdt_appendprop()
320 struct fdt_property *prop; in fdt_delprop()
A Dfdt_sw.c221 int fdt_property(void *fdt, const char *name, const void *val, int len) in fdt_property() function
223 struct fdt_property *prop; in fdt_property()
269 struct fdt_property *prop = in fdt_finish()
A Dfdt.h100 struct fdt_property { struct
A Dfdt_wip.c104 struct fdt_property *prop; in fdt_nop_property()
A Dfdt.c122 offset += sizeof(struct fdt_property) - FDT_TAGSIZE in fdt_next_tag()
/components/legacy/fdt/src/
A Ddtb_get.c28 struct fdt_property *fdt_property; in _dtb_node_get_dtb_properties_list() local
37fdt_property = (struct fdt_property *)fdt_get_property_by_offset(current_fdt, property_off, &dtb_p… in _dtb_node_get_dtb_properties_list()
38 if (fdt_property != NULL) in _dtb_node_get_dtb_properties_list()
40 dtb_property->name = fdt_string(current_fdt, fdt32_to_cpu(fdt_property->nameoff)); in _dtb_node_get_dtb_properties_list()
41 dtb_property->value = fdt_property->data; in _dtb_node_get_dtb_properties_list()
42 dtb_property->size = fdt32_to_cpu(fdt_property->len); in _dtb_node_get_dtb_properties_list()

Completed in 32 milliseconds