/scripts/dtc/libfdt/ |
D | libfdt.h | 117 static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) in fdt_offset_ptr_w() 230 #define fdt_for_each_subnode(node, fdt, parent) \ argument 238 #define fdt_get_header(fdt, field) \ argument 240 #define fdt_magic(fdt) (fdt_get_header(fdt, magic)) argument 241 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) argument 242 #define fdt_off_dt_struct(fdt) (fdt_get_header(fdt, off_dt_struct)) argument 243 #define fdt_off_dt_strings(fdt) (fdt_get_header(fdt, off_dt_strings)) argument 244 #define fdt_off_mem_rsvmap(fdt) (fdt_get_header(fdt, off_mem_rsvmap)) argument 245 #define fdt_version(fdt) (fdt_get_header(fdt, version)) argument 246 #define fdt_last_comp_version(fdt) (fdt_get_header(fdt, last_comp_version)) argument [all …]
|
D | fdt_sw.c | 13 static int fdt_sw_probe_(void *fdt) in fdt_sw_probe_() 25 #define FDT_SW_PROBE(fdt) \ argument 38 static int fdt_sw_probe_memrsv_(void *fdt) in fdt_sw_probe_memrsv_() 49 #define FDT_SW_PROBE_MEMRSV(fdt) \ argument 64 static int fdt_sw_probe_struct_(void *fdt) in fdt_sw_probe_struct_() 76 #define FDT_SW_PROBE_STRUCT(fdt) \ argument 83 static inline uint32_t sw_flags(void *fdt) in sw_flags() 94 static void *fdt_grab_space_(void *fdt, size_t len) in fdt_grab_space_() 113 void *fdt = buf; in fdt_create_with_flags() local 148 int fdt_resize(void *fdt, void *buf, int bufsize) in fdt_resize() [all …]
|
D | fdt_ro.c | 13 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_() 34 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp) in fdt_get_string() 100 const char *fdt_string(const void *fdt, int stroffset) in fdt_string() 105 static int fdt_string_eq_(const void *fdt, int stroffset, in fdt_string_eq_() 114 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle) in fdt_find_max_phandle() 142 int fdt_generate_phandle(const void *fdt, uint32_t *phandle) in fdt_generate_phandle() 160 static const struct fdt_reserve_entry *fdt_mem_rsv(const void *fdt, int n) in fdt_mem_rsv() 175 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) in fdt_get_mem_rsv() 189 int fdt_num_mem_rsv(const void *fdt) in fdt_num_mem_rsv() 201 static int nextprop_(const void *fdt, int offset) in nextprop_() [all …]
|
D | fdt_rw.c | 13 static int fdt_blocks_misordered_(const void *fdt, in fdt_blocks_misordered_() 25 static int fdt_rw_probe_(void *fdt) in fdt_rw_probe_() 42 #define FDT_RW_PROBE(fdt) \ argument 49 static inline unsigned int fdt_data_size_(void *fdt) in fdt_data_size_() 54 static int fdt_splice_(void *fdt, void *splicepoint, int oldlen, int newlen) in fdt_splice_() 70 static int fdt_splice_mem_rsv_(void *fdt, struct fdt_reserve_entry *p, in fdt_splice_mem_rsv_() 83 static int fdt_splice_struct_(void *fdt, void *p, in fdt_splice_struct_() 98 static void fdt_del_last_string_(void *fdt, const char *s) in fdt_del_last_string_() 105 static int fdt_splice_string_(void *fdt, int newlen) in fdt_splice_string_() 127 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated) in fdt_find_add_string_() [all …]
|
D | fdt.c | 18 int32_t fdt_ro_probe_(const void *fdt) in fdt_ro_probe_() 79 size_t fdt_header_size(const void *fdt) in fdt_header_size() 85 int fdt_check_header(const void *fdt) in fdt_check_header() 135 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr() 157 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() 211 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_() 223 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_() 235 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() 275 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode() 286 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode() [all …]
|
D | libfdt_internal.h | 14 #define FDT_RO_PROBE(fdt) \ argument 26 static inline const void *fdt_offset_ptr_(const void *fdt, int offset) in fdt_offset_ptr_() 31 static inline void *fdt_offset_ptr_w_(void *fdt, int offset) in fdt_offset_ptr_w_() 36 static inline const struct fdt_reserve_entry *fdt_mem_rsv_(const void *fdt, int n) in fdt_mem_rsv_() 44 static inline struct fdt_reserve_entry *fdt_mem_rsv_w_(void *fdt, int n) in fdt_mem_rsv_w_()
|
D | fdt_wip.c | 13 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, in fdt_setprop_inplace_namelen_partial() 33 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() 59 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() 73 int fdt_node_end_offset_(void *fdt, int offset) in fdt_node_end_offset_() 83 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node()
|
D | fdt_addresses.c | 14 static int fdt_cells(const void *fdt, int nodeoffset, const char *name) in fdt_cells() 34 int fdt_address_cells(const void *fdt, int nodeoffset) in fdt_address_cells() 46 int fdt_size_cells(const void *fdt, int nodeoffset) in fdt_size_cells() 57 int fdt_appendprop_addrrange(void *fdt, int parent, int nodeoffset, in fdt_appendprop_addrrange()
|
D | fdt_overlay.c | 58 static int overlay_get_target(const void *fdt, const void *fdto, in overlay_get_target() 116 static int overlay_phandle_add_offset(void *fdt, int node, in overlay_phandle_add_offset() 368 static int overlay_fixup_one_phandle(void *fdt, void *fdto, in overlay_fixup_one_phandle() 428 static int overlay_fixup_phandle(void *fdt, void *fdto, int symbols_off, in overlay_fixup_phandle() 510 static int overlay_fixup_phandles(void *fdt, void *fdto) in overlay_fixup_phandles() 557 static int overlay_apply_node(void *fdt, int target, in overlay_apply_node() 619 static int overlay_merge(void *fdt, void *fdto) in overlay_merge() 651 static int get_path_len(const void *fdt, int nodeoffset) in get_path_len() 695 static int overlay_symbol_update(void *fdt, void *fdto) in overlay_symbol_update() 830 int fdt_overlay_apply(void *fdt, void *fdto) in fdt_overlay_apply()
|
/scripts/dtc/ |
D | flattree.c | 313 static void make_fdt_header(struct fdt_header *fdt, in make_fdt_header() 353 struct fdt_header fdt; in dt_to_blob() local 803 struct fdt_header *fdt; in dt_from_blob() local
|