/openbmc/u-boot/scripts/dtc/libfdt/ |
H A D | libfdt.h | 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 222 #define fdt_version(fdt) (fdt_get_header(fdt, version)) argument 514 #define fdt_for_each_property_offset(property, fdt, node) \ argument 695 static inline void *fdt_getprop_w(void *fdt, int nodeoffset, in fdt_getprop_w() 1339 #define fdt_property_string(fdt, name, str) \ argument 1597 #define fdt_setprop_string(fdt, nodeoffset, name, str) \ argument 1627 #define fdt_setprop_empty(fdt, nodeoffset, name) \ argument [all …]
|
H A D | fdt_ro.c | 58 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() 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_() 178 int fdt_subnode_offset(const void *fdt, int parentoffset, in fdt_subnode_offset() 229 int fdt_path_offset(const void *fdt, const char *path) in fdt_path_offset() 442 const char *fdt_get_alias_namelen(const void *fdt, in fdt_get_alias_namelen() 547 int fdt_node_depth(const void *fdt, int nodeoffset) in fdt_node_depth() [all …]
|
H A 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_() 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_() 191 int fdt_del_mem_rsv(void *fdt, int n) in fdt_del_mem_rsv() 347 int fdt_add_subnode_namelen(void *fdt, int parentoffset, in fdt_add_subnode_namelen() 393 int fdt_del_node(void *fdt, int nodeoffset) in fdt_del_node() [all …]
|
H A 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_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 …]
|
H A 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() 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()
|
H A 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_()
|
H A D | fdt_wip.c | 58 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()
|
/openbmc/linux/scripts/dtc/libfdt/ |
H A D | libfdt.h | 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 254 #define fdt_version(fdt) (fdt_get_header(fdt, version)) argument 398 static inline uint32_t fdt_get_max_phandle(const void *fdt) in fdt_get_max_phandle() 628 #define fdt_for_each_property_offset(property, fdt, node) \ argument 821 static inline void *fdt_getprop_w(void *fdt, int nodeoffset, in fdt_getprop_w() 1513 #define fdt_property_string(fdt, name, str) \ argument 1778 #define fdt_setprop_string(fdt, nodeoffset, name, str) \ argument [all …]
|
H A 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() 113 void *fdt = buf; in fdt_create_with_flags() local 208 int fdt_finish_reservemap(void *fdt) in fdt_finish_reservemap() 236 int fdt_end_node(void *fdt) in fdt_end_node() [all …]
|
H A D | fdt_ro.c | 13 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_() 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_() 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_() 244 int fdt_subnode_offset(const void *fdt, int parentoffset, in fdt_subnode_offset() 295 int fdt_path_offset(const void *fdt, const char *path) in fdt_path_offset() 502 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() 525 const char *fdt_get_alias_namelen(const void *fdt, in fdt_get_alias_namelen() 632 int fdt_node_depth(const void *fdt, int nodeoffset) in fdt_node_depth() [all …]
|
H A 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_() 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_() 172 int fdt_del_mem_rsv(void *fdt, int n) in fdt_del_mem_rsv() 333 int fdt_add_subnode_namelen(void *fdt, int parentoffset, in fdt_add_subnode_namelen() 382 int fdt_del_node(void *fdt, int nodeoffset) in fdt_del_node() [all …]
|
H A D | fdt.c | 18 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() 140 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr() 162 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() 223 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_() 235 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_() 247 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() 287 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode() 298 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode() [all …]
|
H A 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()
|
H A 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_()
|
H A 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()
|
/openbmc/u-boot/lib/libfdt/ |
H A D | fdt_ro.c | 17 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() 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() 136 int fdt_subnode_offset(const void *fdt, int parentoffset, in fdt_subnode_offset() 207 int fdt_path_offset(const void *fdt, const char *path) in fdt_path_offset() 351 const char *fdt_get_alias_namelen(const void *fdt, in fdt_get_alias_namelen() 456 int fdt_node_depth(const void *fdt, int nodeoffset) in fdt_node_depth() [all …]
|
/openbmc/qemu/system/ |
H A D | device_tree.c | 40 void *fdt; in create_device_tree() local 83 void *fdt = NULL; in load_device_tree() local 144 static void read_fstree(void *fdt, const char *dirname) in read_fstree() 354 int qemu_fdt_setprop(void *fdt, const char *node_path, in qemu_fdt_setprop() 491 uint32_t qemu_fdt_alloc_phandle(void *fdt) in qemu_fdt_alloc_phandle() 514 int qemu_fdt_nop_node(void *fdt, const char *node_path) in qemu_fdt_nop_node() 528 int qemu_fdt_add_subnode(void *fdt, const char *name) in qemu_fdt_add_subnode() 562 int qemu_fdt_add_path(void *fdt, const char *path) in qemu_fdt_add_path() 597 void qemu_fdt_dumpdtb(void *fdt, int size) in qemu_fdt_dumpdtb() 612 int qemu_fdt_setprop_sized_cells_from_array(void *fdt, in qemu_fdt_setprop_sized_cells_from_array() [all …]
|
/openbmc/u-boot/include/ |
H A D | fdt_support.h | 52 static inline void do_fixup_by_path_string(void *fdt, const char *path, in do_fixup_by_path_string() 213 static inline void fdt_fixup_mtdparts(void *fdt, in fdt_fixup_mtdparts() 244 static inline int fdt_status_okay(void *fdt, int nodeoffset) in fdt_status_okay() 248 static inline int fdt_status_disabled(void *fdt, int nodeoffset) in fdt_status_disabled() 252 static inline int fdt_status_fail(void *fdt, int nodeoffset) in fdt_status_fail() 259 static inline int fdt_status_okay_by_alias(void *fdt, const char *alias) in fdt_status_okay_by_alias() 263 static inline int fdt_status_disabled_by_alias(void *fdt, const char *alias) in fdt_status_disabled_by_alias() 267 static inline int fdt_status_fail_by_alias(void *fdt, const char *alias) in fdt_status_fail_by_alias()
|
/openbmc/u-boot/arch/arm/mach-omap2/omap5/ |
H A D | fdt.c | 30 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()
|
/openbmc/linux/arch/arm/boot/compressed/ |
H A D | atags_to_fdt.c | 15 static int node_offset(void *fdt, const char *node_path) in node_offset() 24 static int setprop(void *fdt, const char *node_path, const char *property, in setprop() 33 static int setprop_string(void *fdt, const char *node_path, in setprop_string() 42 static int setprop_cell(void *fdt, const char *node_path, in setprop_cell() 51 static const void *getprop(const void *fdt, const char *node_path, in getprop() 62 static uint32_t get_cell_size(const void *fdt) in get_cell_size() 73 static void merge_fdt_bootargs(void *fdt, const char *fdt_cmdline) in merge_fdt_bootargs() 130 int atags_to_fdt(void *atag_list, void *fdt, int total_space) in atags_to_fdt()
|
/openbmc/linux/fs/ |
H A D | file.c | 34 static void __free_fdtable(struct fdtable *fdt) in __free_fdtable() 103 struct fdtable *fdt; in alloc_fdtable() local 214 struct fdtable *fdt; in expand_files() local 485 struct fdtable *fdt; in alloc_fd() local 586 struct fdtable *fdt; in fd_install() local 666 struct fdtable *fdt; in __range_cloexec() local 792 struct fdtable *fdt; in do_close_on_exec() local 1052 struct fdtable *fdt; in set_close_on_exec() local 1065 struct fdtable *fdt; in get_close_on_exec() local 1079 struct fdtable *fdt; in do_dup2() local [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | vof.c | 107 static int get_path(const void *fdt, int offset, char *buf, int len) in get_path() 133 static int path_offset(const void *fdt, const char *path) in path_offset() 158 static uint32_t vof_finddevice(const void *fdt, uint32_t nodeaddr) in vof_finddevice() 351 static uint32_t vof_nextprop(const void *fdt, uint32_t phandle, in vof_nextprop() 387 static uint32_t vof_peer(const void *fdt, uint32_t phandle) in vof_peer() 405 static uint32_t vof_child(const void *fdt, uint32_t phandle) in vof_child() 417 static uint32_t vof_parent(const void *fdt, uint32_t phandle) in vof_parent() 473 static uint32_t vof_open(void *fdt, Vof *vof, uint32_t pathaddr) in vof_open() 835 static void vof_quiesce(MachineState *ms, void *fdt, Vof *vof) in vof_quiesce() 940 int vof_client_call(MachineState *ms, Vof *vof, void *fdt, in vof_client_call() [all …]
|
/openbmc/u-boot/arch/arm/mach-omap2/ |
H A D | fdt-common.c | 23 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()
|
/openbmc/u-boot/common/ |
H A D | fdt_support.c | 127 static int fdt_fixup_stdout(void *fdt, int chosenoff) in fdt_fixup_stdout() 133 static int fdt_fixup_stdout(void *fdt, int chosenoff) in fdt_fixup_stdout() 173 static int fdt_fixup_stdout(void *fdt, int chosenoff) in fdt_fixup_stdout() 188 int fdt_root(void *fdt) in fdt_root() 274 int fdt_chosen(void *fdt) in fdt_chosen() 328 void do_fixup_by_prop(void *fdt, in do_fixup_by_prop() 349 void do_fixup_by_prop_u32(void *fdt, in do_fixup_by_prop_u32() 482 void fdt_fixup_ethernet(void *fdt) in fdt_fixup_ethernet() 713 int fdt_increase_size(void *fdt, int add_len) in fdt_increase_size() 1403 int fdt_set_node_status(void *fdt, int nodeoffset, in fdt_set_node_status() [all …]
|
/openbmc/linux/arch/powerpc/mm/nohash/ |
H A D | kaslr_booke.c | 40 static __init void kaslr_get_cmdline(void *fdt) in kaslr_get_cmdline() 64 static unsigned long __init get_boot_seed(void *fdt) in get_boot_seed() 75 static __init u64 get_kaslr_seed(void *fdt) in get_kaslr_seed() 99 static __init bool overlaps_reserved_region(const void *fdt, u32 start, in overlaps_reserved_region() 153 static __init bool overlaps_region(const void *fdt, u32 start, in overlaps_region() 174 static void __init get_crash_kernel(void *fdt, unsigned long size) in get_crash_kernel() 194 static void __init get_initrd_range(void *fdt) in get_initrd_range() 220 static __init unsigned long get_usable_address(const void *fdt, in get_usable_address() 237 static __init void get_cell_sizes(const void *fdt, int node, int *addr_cells, in get_cell_sizes()
|