Home
last modified time | relevance | path

Searched defs:fdt (Results 1 – 25 of 165) sorted by relevance

1234567

/external/dtc/libfdt/
Dlibfdt.h149 static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) in fdt_offset_ptr_w()
207 #define fdt_for_each_subnode(node, fdt, parent) \ argument
215 #define fdt_get_header(fdt, field) \ argument
217 #define fdt_magic(fdt) (fdt_get_header(fdt, magic)) argument
218 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) argument
219 #define fdt_off_dt_struct(fdt) (fdt_get_header(fdt, off_dt_struct)) argument
220 #define fdt_off_dt_strings(fdt) (fdt_get_header(fdt, off_dt_strings)) argument
221 #define fdt_off_mem_rsvmap(fdt) (fdt_get_header(fdt, off_mem_rsvmap)) argument
222 #define fdt_version(fdt) (fdt_get_header(fdt, version)) argument
223 #define fdt_last_comp_version(fdt) (fdt_get_header(fdt, last_comp_version)) argument
[all …]
Dfdt_ro.c58 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 uint32_t fdt_get_max_phandle(const void *fdt) in fdt_get_max_phandle()
117 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) in fdt_get_mem_rsv()
125 int fdt_num_mem_rsv(const void *fdt) in fdt_num_mem_rsv()
134 static int _nextprop(const void *fdt, int offset) in _nextprop()
158 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen()
177 int fdt_subnode_offset(const void *fdt, int parentoffset, in fdt_subnode_offset()
183 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen()
[all …]
Dfdt_sw.c58 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_resize(void *fdt, void *buf, int bufsize) in fdt_resize()
142 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size) in fdt_add_reservemap_entry()
165 int fdt_finish_reservemap(void *fdt) in fdt_finish_reservemap()
170 int fdt_begin_node(void *fdt, const char *name) in fdt_begin_node()
186 int fdt_end_node(void *fdt) in fdt_end_node()
200 static int _fdt_find_add_string(void *fdt, const char *s) in _fdt_find_add_string()
[all …]
Dfdt_rw.c58 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()
112 static int _fdt_splice_mem_rsv(void *fdt, struct fdt_reserve_entry *p, in _fdt_splice_mem_rsv()
125 static int _fdt_splice_struct(void *fdt, void *p, in _fdt_splice_struct()
139 static int _fdt_splice_string(void *fdt, int newlen) in _fdt_splice_string()
152 static int _fdt_find_add_string(void *fdt, const char *s) in _fdt_find_add_string()
174 int fdt_add_mem_rsv(void *fdt, uint64_t address, uint64_t size) in fdt_add_mem_rsv()
[all …]
Dfdt.c58 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()
94 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag()
144 int _fdt_check_node_offset(const void *fdt, int offset) in _fdt_check_node_offset()
153 int _fdt_check_prop_offset(const void *fdt, int offset) in _fdt_check_prop_offset()
162 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node()
202 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode()
213 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode()
242 int fdt_move(const void *fdt, void *buf, int bufsize) in fdt_move()
Dlibfdt_internal.h58 #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()
Dfdt_wip.c58 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, in fdt_setprop_inplace_namelen_partial()
78 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace()
104 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property()
118 int _fdt_node_end_offset(void *fdt, int offset) in _fdt_node_end_offset()
128 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node()
/external/u-boot/scripts/dtc/libfdt/
Dlibfdt.h149 static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) in fdt_offset_ptr_w()
207 #define fdt_for_each_subnode(node, fdt, parent) \ argument
215 #define fdt_get_header(fdt, field) \ argument
217 #define fdt_magic(fdt) (fdt_get_header(fdt, magic)) argument
218 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) argument
219 #define fdt_off_dt_struct(fdt) (fdt_get_header(fdt, off_dt_struct)) argument
220 #define fdt_off_dt_strings(fdt) (fdt_get_header(fdt, off_dt_strings)) argument
221 #define fdt_off_mem_rsvmap(fdt) (fdt_get_header(fdt, off_mem_rsvmap)) argument
222 #define fdt_version(fdt) (fdt_get_header(fdt, version)) argument
223 #define fdt_last_comp_version(fdt) (fdt_get_header(fdt, last_comp_version)) argument
[all …]
Dfdt_ro.c58 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_()
79 const char *fdt_string(const void *fdt, int stroffset) in fdt_string()
84 static int fdt_string_eq_(const void *fdt, int stroffset, in fdt_string_eq_()
92 uint32_t fdt_get_max_phandle(const void *fdt) in fdt_get_max_phandle()
118 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) in fdt_get_mem_rsv()
126 int fdt_num_mem_rsv(const void *fdt) in fdt_num_mem_rsv()
135 static int nextprop_(const void *fdt, int offset) in nextprop_()
159 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen()
178 int fdt_subnode_offset(const void *fdt, int parentoffset, in fdt_subnode_offset()
184 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen()
[all …]
Dfdt_sw.c58 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_resize(void *fdt, void *buf, int bufsize) in fdt_resize()
142 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size) in fdt_add_reservemap_entry()
165 int fdt_finish_reservemap(void *fdt) in fdt_finish_reservemap()
170 int fdt_begin_node(void *fdt, const char *name) in fdt_begin_node()
186 int fdt_end_node(void *fdt) in fdt_end_node()
200 static int fdt_find_add_string_(void *fdt, const char *s) in fdt_find_add_string_()
[all …]
Dfdt_rw.c58 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_()
112 static int fdt_splice_mem_rsv_(void *fdt, struct fdt_reserve_entry *p, in fdt_splice_mem_rsv_()
125 static int fdt_splice_struct_(void *fdt, void *p, in fdt_splice_struct_()
139 static int fdt_splice_string_(void *fdt, int newlen) in fdt_splice_string_()
152 static int fdt_find_add_string_(void *fdt, const char *s) in fdt_find_add_string_()
174 int fdt_add_mem_rsv(void *fdt, uint64_t address, uint64_t size) in fdt_add_mem_rsv()
[all …]
Dfdt.c58 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()
94 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag()
147 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_()
156 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_()
165 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node()
205 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode()
216 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode()
245 int fdt_move(const void *fdt, void *buf, int bufsize) in fdt_move()
Dlibfdt_internal.h58 #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_()
Dfdt_wip.c58 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, in fdt_setprop_inplace_namelen_partial()
78 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace()
104 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property()
118 int fdt_node_end_offset_(void *fdt, int offset) in fdt_node_end_offset_()
128 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node()
/external/u-boot/lib/libfdt/
Dfdt_ro.c17 static int _fdt_nodename_eq(const void *fdt, int offset, in _fdt_nodename_eq()
37 const char *fdt_string(const void *fdt, int stroffset) in fdt_string()
42 static int _fdt_string_eq(const void *fdt, int stroffset, in _fdt_string_eq()
50 uint32_t fdt_get_max_phandle(const void *fdt) in fdt_get_max_phandle()
76 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) in fdt_get_mem_rsv()
84 int fdt_num_mem_rsv(const void *fdt) in fdt_num_mem_rsv()
93 static int _nextprop(const void *fdt, int offset) in _nextprop()
117 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen()
136 int fdt_subnode_offset(const void *fdt, int parentoffset, in fdt_subnode_offset()
161 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen()
[all …]
/external/dtc/tests/
Doverlay.c38 static int fdt_getprop_u32_by_poffset(void *fdt, const char *path, in fdt_getprop_u32_by_poffset()
59 static int check_getprop_string_by_name(void *fdt, const char *path, in check_getprop_string_by_name()
73 static int check_getprop_u32_by_name(void *fdt, const char *path, in check_getprop_u32_by_name()
86 static int check_getprop_null_by_name(void *fdt, const char *path, in check_getprop_null_by_name()
99 static int fdt_overlay_change_int_property(void *fdt) in fdt_overlay_change_int_property()
105 static int fdt_overlay_change_str_property(void *fdt) in fdt_overlay_change_str_property()
111 static int fdt_overlay_add_str_property(void *fdt) in fdt_overlay_add_str_property()
117 static int fdt_overlay_add_node(void *fdt) in fdt_overlay_add_node()
123 static int fdt_overlay_add_subnode_property(void *fdt) in fdt_overlay_add_subnode_property()
133 static int fdt_overlay_local_phandle(void *fdt) in fdt_overlay_local_phandle()
[all …]
Dnode_offset_by_prop_value.c31 static void vcheck_search(void *fdt, const char *propname, const void *propval, in vcheck_search()
50 static void check_search(void *fdt, const char *propname, const void *propval, in check_search()
60 static void check_search_str(void *fdt, const char *propname, in check_search_str()
70 #define check_search_cell(fdt, propname, propval, ...) \ argument
79 void *fdt; in main() local
Dstringlist.c31 static void check_expected_failure(const void *fdt, const char *path, in check_expected_failure()
70 static void check_string_count(const void *fdt, const char *path, in check_string_count()
89 static void check_string_index(const void *fdt, const char *path, in check_string_index()
106 static void check_string(const void *fdt, const char *path, in check_string()
129 void *fdt; in main() local
Dpath_offset.c30 static int check_subnode(void *fdt, int parent, const char *name) in check_subnode()
57 static void check_path_offset(void *fdt, char *path, int offset) in check_path_offset()
72 static void check_path_offset_namelen(void *fdt, char *path, int namelen, in check_path_offset_namelen()
94 void *fdt; in main() local
Dsubnode_iterate.c34 static void test_node(void *fdt, int parent_offset) in test_node()
61 static void check_fdt_next_subnode(void *fdt) in check_fdt_next_subnode()
77 void *fdt; in main() local
/external/u-boot/test/overlay/
Dcmd_ut_overlay.c25 static int ut_fdt_getprop_u32_by_index(void *fdt, const char *path, in ut_fdt_getprop_u32_by_index()
46 static int ut_fdt_getprop_u32(void *fdt, const char *path, const char *name, in ut_fdt_getprop_u32()
52 static int fdt_getprop_str(void *fdt, const char *path, const char *name, in fdt_getprop_str()
69 void *fdt = uts->priv; in fdt_overlay_change_int_property() local
82 void *fdt = uts->priv; in fdt_overlay_change_str_property() local
95 void *fdt = uts->priv; in fdt_overlay_add_str_property() local
108 void *fdt = uts->priv; in fdt_overlay_add_node_by_phandle() local
122 void *fdt = uts->priv; in fdt_overlay_add_node_by_path() local
136 void *fdt = uts->priv; in fdt_overlay_add_subnode_property() local
152 void *fdt = uts->priv; in fdt_overlay_local_phandle() local
[all …]
/external/u-boot/include/
Dfdt_support.h52 static inline void do_fixup_by_path_string(void *fdt, const char *path, in do_fixup_by_path_string()
211 static inline void fdt_fixup_mtdparts(void *fdt, void *node_info, in fdt_fixup_mtdparts()
239 static inline int fdt_status_okay(void *fdt, int nodeoffset) in fdt_status_okay()
243 static inline int fdt_status_disabled(void *fdt, int nodeoffset) in fdt_status_disabled()
247 static inline int fdt_status_fail(void *fdt, int nodeoffset) in fdt_status_fail()
254 static inline int fdt_status_okay_by_alias(void *fdt, const char *alias) in fdt_status_okay_by_alias()
258 static inline int fdt_status_disabled_by_alias(void *fdt, const char *alias) in fdt_status_disabled_by_alias()
262 static inline int fdt_status_fail_by_alias(void *fdt, const char *alias) in fdt_status_fail_by_alias()
/external/u-boot/arch/arm/mach-omap2/omap5/
Dfdt.c30 static int ft_hs_fixup_crossbar(void *fdt, bd_t *bd) in ft_hs_fixup_crossbar()
94 static int ft_hs_fixup_sram(void *fdt, bd_t *bd) in ft_hs_fixup_sram()
129 static int ft_hs_fixup_sram(void *fdt, bd_t *bd) { return 0; } in ft_hs_fixup_sram()
132 static void ft_hs_fixups(void *fdt, bd_t *bd) in ft_hs_fixups()
149 static void ft_hs_fixups(void *fdt, bd_t *bd) in ft_hs_fixups()
199 static int ft_fixup_clocks(void *fdt, const char **names, u32 *rates, int num) in ft_fixup_clocks()
246 static void ft_opp_clock_fixups(void *fdt, bd_t *bd) in ft_opp_clock_fixups()
286 static void ft_opp_clock_fixups(void *fdt, bd_t *bd) { } in ft_opp_clock_fixups()
294 void ft_cpu_setup(void *fdt, bd_t *bd) in ft_cpu_setup()
/external/u-boot/arch/arm/mach-omap2/am33xx/
Dfdt.c16 static void ft_hs_fixups(void *fdt, bd_t *bd) in ft_hs_fixups()
31 static void ft_hs_fixups(void *fdt, bd_t *bd) { } in ft_hs_fixups()
39 void ft_cpu_setup(void *fdt, bd_t *bd) in ft_cpu_setup()
/external/u-boot/arch/arm/mach-omap2/
Dfdt-common.c23 int ft_hs_disable_rng(void *fdt, bd_t *bd) in ft_hs_disable_rng()
50 static int fdt_pack_reg(const void *fdt, void *buf, u64 address, u64 size) in fdt_pack_reg()
71 int ft_hs_fixup_dram(void *fdt, bd_t *bd) in ft_hs_fixup_dram()
124 int ft_hs_fixup_dram(void *fdt, bd_t *bd) { return 0; } in ft_hs_fixup_dram()
127 int ft_hs_add_tee(void *fdt, bd_t *bd) in ft_hs_add_tee()

1234567