/scripts/dtc/libfdt/ |
D | libfdt.h | 126 static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) in fdt_offset_ptr_w() 143 #define fdt_get_header(fdt, field) \ argument 145 #define fdt_magic(fdt) (fdt_get_header(fdt, magic)) argument 146 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) argument 147 #define fdt_off_dt_struct(fdt) (fdt_get_header(fdt, off_dt_struct)) argument 148 #define fdt_off_dt_strings(fdt) (fdt_get_header(fdt, off_dt_strings)) argument 149 #define fdt_off_mem_rsvmap(fdt) (fdt_get_header(fdt, off_mem_rsvmap)) argument 150 #define fdt_version(fdt) (fdt_get_header(fdt, version)) argument 151 #define fdt_last_comp_version(fdt) (fdt_get_header(fdt, last_comp_version)) argument 152 #define fdt_boot_cpuid_phys(fdt) (fdt_get_header(fdt, boot_cpuid_phys)) argument [all …]
|
D | fdt_ro.c | 58 static int _fdt_nodename_eq(const void *fdt, int offset, in _fdt_nodename_eq() 78 const char *fdt_string(const void *fdt, int stroffset) in fdt_string() 83 static int _fdt_string_eq(const void *fdt, int stroffset, in _fdt_string_eq() 91 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) in fdt_get_mem_rsv() 99 int fdt_num_mem_rsv(const void *fdt) in fdt_num_mem_rsv() 108 static int _nextprop(const void *fdt, int offset) in _nextprop() 132 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen() 151 int fdt_subnode_offset(const void *fdt, int parentoffset, in fdt_subnode_offset() 157 int fdt_path_offset(const void *fdt, const char *path) in fdt_path_offset() 201 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) in fdt_get_name() [all …]
|
D | fdt_sw.c | 58 static int _fdt_sw_check_header(void *fdt) in _fdt_sw_check_header() 66 #define FDT_SW_CHECK_HEADER(fdt) \ argument 73 static void *_fdt_grab_space(void *fdt, size_t len) in _fdt_grab_space() 90 void *fdt = buf; in fdt_create() local 110 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size) in fdt_add_reservemap_entry() 133 int fdt_finish_reservemap(void *fdt) in fdt_finish_reservemap() 138 int fdt_begin_node(void *fdt, const char *name) in fdt_begin_node() 154 int fdt_end_node(void *fdt) in fdt_end_node() 168 static int _fdt_find_add_string(void *fdt, const char *s) in _fdt_find_add_string() 191 int fdt_property(void *fdt, const char *name, const void *val, int len) in fdt_property() [all …]
|
D | fdt_rw.c | 58 static int _fdt_blocks_misordered(const void *fdt, in _fdt_blocks_misordered() 70 static int _fdt_rw_check_header(void *fdt) in _fdt_rw_check_header() 85 #define FDT_RW_CHECK_HEADER(fdt) \ argument 92 static inline int _fdt_data_size(void *fdt) in _fdt_data_size() 97 static int _fdt_splice(void *fdt, void *splicepoint, int oldlen, int newlen) in _fdt_splice() 110 static int _fdt_splice_mem_rsv(void *fdt, struct fdt_reserve_entry *p, in _fdt_splice_mem_rsv() 123 static int _fdt_splice_struct(void *fdt, void *p, in _fdt_splice_struct() 137 static int _fdt_splice_string(void *fdt, int newlen) in _fdt_splice_string() 150 static int _fdt_find_add_string(void *fdt, const char *s) in _fdt_find_add_string() 172 int fdt_add_mem_rsv(void *fdt, uint64_t address, uint64_t size) in fdt_add_mem_rsv() [all …]
|
D | fdt.c | 58 int fdt_check_header(const void *fdt) in fdt_check_header() 77 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr() 93 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() 143 int _fdt_check_node_offset(const void *fdt, int offset) in _fdt_check_node_offset() 152 int _fdt_check_prop_offset(const void *fdt, int offset) in _fdt_check_prop_offset() 161 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() 213 int fdt_move(const void *fdt, void *buf, int bufsize) in fdt_move()
|
D | libfdt_internal.h | 58 #define FDT_CHECK_HEADER(fdt) \ argument 70 static inline const void *_fdt_offset_ptr(const void *fdt, int offset) in _fdt_offset_ptr() 75 static inline void *_fdt_offset_ptr_w(void *fdt, int offset) in _fdt_offset_ptr_w() 80 static inline const struct fdt_reserve_entry *_fdt_mem_rsv(const void *fdt, int n) in _fdt_mem_rsv() 88 static inline struct fdt_reserve_entry *_fdt_mem_rsv_w(void *fdt, int n) in _fdt_mem_rsv_w()
|
D | fdt_wip.c | 58 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() 83 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() 97 int _fdt_node_end_offset(void *fdt, int offset) in _fdt_node_end_offset() 107 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node()
|
/scripts/dtc/ |
D | flattree.c | 337 static void make_fdt_header(struct fdt_header *fdt, in make_fdt_header() 377 struct fdt_header fdt; in dt_to_blob() local 811 struct fdt_header *fdt; in dt_from_blob() local
|