/external/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() 98 const char *fdt_string(const void *fdt, int stroffset) in fdt_string() 103 static int fdt_string_eq_(const void *fdt, int stroffset, in fdt_string_eq_() 112 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle) in fdt_find_max_phandle() 140 int fdt_generate_phandle(const void *fdt, uint32_t *phandle) in fdt_generate_phandle() 158 static const struct fdt_reserve_entry *fdt_mem_rsv(const void *fdt, int n) in fdt_mem_rsv() 173 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) in fdt_get_mem_rsv() 187 int fdt_num_mem_rsv(const void *fdt) in fdt_num_mem_rsv() 199 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() 153 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() 207 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_() 218 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_() 227 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() 267 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode() 278 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() 367 static int overlay_fixup_one_phandle(void *fdt, void *fdto, in overlay_fixup_one_phandle() 427 static int overlay_fixup_phandle(void *fdt, void *fdto, int symbols_off, in overlay_fixup_phandle() 509 static int overlay_fixup_phandles(void *fdt, void *fdto) in overlay_fixup_phandles() 556 static int overlay_apply_node(void *fdt, int target, in overlay_apply_node() 618 static int overlay_merge(void *fdt, void *fdto) in overlay_merge() 650 static int get_path_len(const void *fdt, int nodeoffset) in get_path_len() 694 static int overlay_symbol_update(void *fdt, void *fdto) in overlay_symbol_update() 829 int fdt_overlay_apply(void *fdt, void *fdto) in fdt_overlay_apply()
|
/external/dtc/tests/ |
D | overlay.c | 25 static int fdt_getprop_u32_by_poffset(void *fdt, const char *path, in fdt_getprop_u32_by_poffset() 46 static int check_getprop_string_by_name(void *fdt, const char *path, in check_getprop_string_by_name() 60 static int check_getprop_u32_by_name(void *fdt, const char *path, in check_getprop_u32_by_name() 73 static int check_getprop_null_by_name(void *fdt, const char *path, in check_getprop_null_by_name() 86 static int fdt_overlay_change_int_property(void *fdt) in fdt_overlay_change_int_property() 92 static int fdt_overlay_change_str_property(void *fdt) in fdt_overlay_change_str_property() 98 static int fdt_overlay_add_str_property(void *fdt) in fdt_overlay_add_str_property() 104 static int fdt_overlay_add_node(void *fdt) in fdt_overlay_add_node() 110 static int fdt_overlay_add_subnode_property(void *fdt) in fdt_overlay_add_subnode_property() 120 static int fdt_overlay_local_phandle(void *fdt) in fdt_overlay_local_phandle() [all …]
|
D | stringlist.c | 18 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
|
D | node_offset_by_prop_value.c | 18 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
|
D | path_offset.c | 17 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
|
D | subnode_iterate.c | 21 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
|
D | node_check_compatible.c | 18 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
|
D | get_path.c | 19 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
|
D | property_iterate.c | 21 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
|
D | supernode_atdepth_offset.c | 56 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
|
D | get_phandle.c | 18 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
|
D | path-references.c | 17 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
|
D | tests.h | 87 #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
|
D | testutils.c | 75 void check_mem_rsv(void *fdt, int n, uint64_t addr, uint64_t size) in check_mem_rsv() 90 void check_property(void *fdt, int nodeoffset, const char *name, in check_property() 132 const void *check_getprop(void *fdt, int nodeoffset, const char *name, in check_getprop() 151 const void *check_get_prop_offset(void *fdt, int poffset, const char *exp_name, in check_get_prop_offset() 175 const void *check_getprop_addrrange(void *fdt, int parent, int nodeoffset, in check_getprop_addrrange() 247 void vg_prepare_blob(void *fdt, size_t bufsize) in vg_prepare_blob() 317 void save_blob(const char *filename, void *fdt) in save_blob()
|
/external/arm-trusted-firmware/drivers/st/clk/ |
D | stm32mp_clkfunc.c | 26 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 int fdt_get_rcc_node(void *fdt) in fdt_get_rcc_node() 180 void *fdt; in fdt_rcc_read_uint32_array() local 202 void *fdt; in fdt_rcc_subnode_offset() local 231 void *fdt; in fdt_rcc_read_prop() local 258 void *fdt; in fdt_get_rcc_secure_status() local 280 void *fdt; in fdt_get_clock_id() local
|
/external/arm-trusted-firmware/drivers/allwinner/axp/ |
D | common.c | 56 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 should_enable_regulator(const void *fdt, int node) in should_enable_regulator() 108 static bool board_uses_usb0_host_mode(const void *fdt) in board_uses_usb0_host_mode() 127 void axp_setup_regulators(const void *fdt) in axp_setup_regulators()
|
/external/crosvm/arch/src/ |
D | fdt.rs | 114 let mut fdt = FdtWriter { in new() localVariable 360 let mut fdt = FdtWriter::new(&[]); in minimal() localVariable 390 let mut fdt = FdtWriter::new(&[ in reservemap() localVariable 437 let mut fdt = FdtWriter::new(&[]); in prop_null() localVariable 472 let mut fdt = FdtWriter::new(&[]); in prop_u32() localVariable 508 let mut fdt = FdtWriter::new(&[]); in all_props() localVariable 587 let mut fdt = FdtWriter::new(&[]); in nested_nodes() localVariable 635 let mut fdt = FdtWriter::new(&[]); in prop_name_string_reuse() localVariable 688 let mut fdt = FdtWriter::new(&[]); in invalid_node_name_nul() localVariable 695 let mut fdt = FdtWriter::new(&[]); in invalid_prop_name_nul() localVariable [all …]
|