Home
last modified time | relevance | path

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

123456

/external/dtc/libfdt/
Dlibfdt.h122 static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) in fdt_offset_ptr_w()
239 #define fdt_for_each_subnode(node, fdt, parent) \ argument
247 #define fdt_get_header(fdt, field) \ argument
249 #define fdt_magic(fdt) (fdt_get_header(fdt, magic)) argument
250 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) argument
251 #define fdt_off_dt_struct(fdt) (fdt_get_header(fdt, off_dt_struct)) argument
252 #define fdt_off_dt_strings(fdt) (fdt_get_header(fdt, off_dt_strings)) argument
253 #define fdt_off_mem_rsvmap(fdt) (fdt_get_header(fdt, off_mem_rsvmap)) argument
254 #define fdt_version(fdt) (fdt_get_header(fdt, version)) argument
255 #define fdt_last_comp_version(fdt) (fdt_get_header(fdt, last_comp_version)) argument
[all …]
Dfdt_sw.c13 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 …]
Dfdt_ro.c21 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_()
42 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp) in fdt_get_string()
108 const char *fdt_string(const void *fdt, int stroffset) in fdt_string()
113 static int fdt_string_eq_(const void *fdt, int stroffset, in fdt_string_eq_()
122 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle) in fdt_find_max_phandle()
150 int fdt_generate_phandle(const void *fdt, uint32_t *phandle) in fdt_generate_phandle()
168 static const struct fdt_reserve_entry *fdt_mem_rsv(const void *fdt, int n) in fdt_mem_rsv()
183 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) in fdt_get_mem_rsv()
197 int fdt_num_mem_rsv(const void *fdt) in fdt_num_mem_rsv()
209 static int nextprop_(const void *fdt, int offset) in nextprop_()
[all …]
Dfdt_rw.c13 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 …]
Dfdt.c18 int32_t fdt_ro_probe_(const void *fdt) in fdt_ro_probe_()
83 size_t fdt_header_size(const void *fdt) in fdt_header_size()
89 int fdt_check_header(const void *fdt) in fdt_check_header()
143 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr()
165 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag()
228 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_()
240 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_()
252 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node()
292 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode()
303 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode()
[all …]
Dfdt_wip.c13 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()
Dlibfdt_internal.h14 #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_()
Dfdt_addresses.c14 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()
Dfdt_overlay.c43 int fdt_overlay_target_offset(const void *fdt, const void *fdto, in fdt_overlay_target_offset()
101 static int overlay_phandle_add_offset(void *fdt, int node, in overlay_phandle_add_offset()
353 static int overlay_fixup_one_phandle(void *fdt, void *fdto, in overlay_fixup_one_phandle()
413 static int overlay_fixup_phandle(void *fdt, void *fdto, int symbols_off, in overlay_fixup_phandle()
495 static int overlay_fixup_phandles(void *fdt, void *fdto) in overlay_fixup_phandles()
542 static int overlay_apply_node(void *fdt, int target, in overlay_apply_node()
604 static int overlay_merge(void *fdt, void *fdto) in overlay_merge()
636 static int get_path_len(const void *fdt, int nodeoffset) in get_path_len()
680 static int overlay_symbol_update(void *fdt, void *fdto) in overlay_symbol_update()
815 int fdt_overlay_apply(void *fdt, void *fdto) in fdt_overlay_apply()
/external/dtc/tests/
Doverlay.c25 static int fdt_getprop_u32_by_poffset(void *fdt, const char *path, in fdt_getprop_u32_by_poffset()
50 static int check_getprop_string_by_name(void *fdt, const char *path, in check_getprop_string_by_name()
64 static int check_getprop_u32_by_name(void *fdt, const char *path, in check_getprop_u32_by_name()
77 static int check_getprop_null_by_name(void *fdt, const char *path, in check_getprop_null_by_name()
90 static int fdt_overlay_change_int_property(void *fdt) in fdt_overlay_change_int_property()
96 static int fdt_overlay_change_str_property(void *fdt) in fdt_overlay_change_str_property()
102 static int fdt_overlay_add_str_property(void *fdt) in fdt_overlay_add_str_property()
108 static int fdt_overlay_add_node(void *fdt) in fdt_overlay_add_node()
114 static int fdt_overlay_add_subnode_property(void *fdt) in fdt_overlay_add_subnode_property()
124 static int fdt_overlay_local_phandle(void *fdt) in fdt_overlay_local_phandle()
[all …]
Dnode_offset_by_prop_value.c18 static void vcheck_search(void *fdt, const char *propname, const void *propval, in vcheck_search()
37 static void check_search(void *fdt, const char *propname, const void *propval, in check_search()
47 static void check_search_str(void *fdt, const char *propname, in check_search_str()
57 #define check_search_cell(fdt, propname, propval, ...) \ argument
66 void *fdt; in main() local
Dstringlist.c18 static void check_expected_failure(const void *fdt, const char *path, in check_expected_failure()
58 static void check_string_count(const void *fdt, const char *path, in check_string_count()
77 static void check_string_index(const void *fdt, const char *path, in check_string_index()
94 static void check_string(const void *fdt, const char *path, in check_string()
117 void *fdt; in main() local
Dpath_offset.c17 static int check_subnode(void *fdt, int parent, const char *name) in check_subnode()
44 static void check_path_offset(void *fdt, char *path, int offset) in check_path_offset()
59 static void check_path_offset_namelen(void *fdt, char *path, int namelen, in check_path_offset_namelen()
81 void *fdt; in main() local
Drelref_merge.c18 static void check_exist(void *fdt, const char *path) in check_exist()
25 static void check_doesnt_exist(void *fdt, const char *path) in check_doesnt_exist()
34 void *fdt; in main() local
Dsubnode_iterate.c21 static void test_node(void *fdt, int parent_offset) in test_node()
48 static void check_fdt_next_subnode(void *fdt) in check_fdt_next_subnode()
64 void *fdt; in main() local
Dnode_check_compatible.c18 static void check_compatible(const void *fdt, const char *path, in check_compatible()
35 static void check_not_compatible(const void *fdt, const char *path, in check_not_compatible()
54 void *fdt; in main() local
Dsupernode_atdepth_offset.c56 static void check_supernode_atdepth(struct fdt_header *fdt, const char *path, in check_supernode_atdepth()
95 static void check_supernode_overdepth(struct fdt_header *fdt, const char *path) in check_supernode_overdepth()
110 static void check_path(struct fdt_header *fdt, const char *path) in check_path()
120 void *fdt; in main() local
Dget_path.c19 static void check_path_buf(void *fdt, const char *path, int pathlen, int buflen) in check_path_buf()
55 static void check_path(void *fdt, const char *path) in check_path()
68 void *fdt; in main() local
Dproperty_iterate.c21 static void test_node(void *fdt, int parent_offset) in test_node()
55 static void check_fdt_next_subnode(void *fdt) in check_fdt_next_subnode()
71 void *fdt; in main() local
Dget_phandle.c18 static void check_phandle(void *fdt, const char *path, uint32_t checkhandle) in check_phandle()
33 static void check_phandle_unique(const void *fdt, uint32_t checkhandle) in check_phandle_unique()
57 void *fdt; in main() local
Dpath-references.c17 static void check_ref(const void *fdt, int node, const char *checkpath) in check_ref()
37 static void check_rref(const void *fdt) in check_rref()
53 void *fdt; in main() local
Dtests.h87 #define check_property_cell(fdt, nodeoffset, name, val) \ argument
96 #define check_getprop_cell(fdt, nodeoffset, name, val) \ argument
101 #define check_getprop_64(fdt, nodeoffset, name, val) \ argument
106 #define check_getprop_string(fdt, nodeoffset, name, s) \ argument
112 #define check_get_prop_offset_cell(fdt, poffset, name, val) \ argument
/external/arm-trusted-firmware/drivers/st/clk/
Dstm32mp_clkfunc.c26 void *fdt; in fdt_osc_read_freq() local
75 void *fdt; in fdt_osc_read_bool() local
123 void *fdt; in fdt_osc_read_uint32_default() local
164 static int fdt_get_rcc_node(void *fdt) in fdt_get_rcc_node()
186 void *fdt; in fdt_rcc_read_uint32_array() local
208 void *fdt; in fdt_rcc_subnode_offset() local
237 void *fdt; in fdt_rcc_read_prop() local
264 void *fdt; in fdt_get_rcc_secure_status() local
286 void *fdt; in fdt_get_clock_id() local
/external/arm-trusted-firmware/drivers/allwinner/axp/
Dcommon.c56 static int fdt_get_regulator_millivolt(const void *fdt, int node) in fdt_get_regulator_millivolt()
76 static int setup_regulator(const void *fdt, int node, in setup_regulator()
99 static bool is_node_disabled(const void *fdt, int node) in is_node_disabled()
109 static bool should_enable_regulator(const void *fdt, int node) in should_enable_regulator()
123 static bool board_uses_usb0_host_mode(const void *fdt) in board_uses_usb0_host_mode()
142 void axp_setup_regulators(const void *fdt) in axp_setup_regulators()
/external/crosvm/cros_fdt/src/
Dfdt.rs118 let mut fdt = FdtWriter { in new() localVariable
357 let mut fdt = FdtWriter::new(&[]); in minimal() localVariable
387 let mut fdt = FdtWriter::new(&[ in reservemap() localVariable
434 let mut fdt = FdtWriter::new(&[]); in prop_null() localVariable
469 let mut fdt = FdtWriter::new(&[]); in prop_u32() localVariable
505 let mut fdt = FdtWriter::new(&[]); in all_props() localVariable
583 let mut fdt = FdtWriter::new(&[]); in nested_nodes() localVariable
631 let mut fdt = FdtWriter::new(&[]); in prop_name_string_reuse() localVariable
684 let mut fdt = FdtWriter::new(&[]); in invalid_node_name_nul() localVariable
691 let mut fdt = FdtWriter::new(&[]); in invalid_prop_name_nul() localVariable
[all …]

123456