/haiku/src/libs/libfdt/ |
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() 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 …]
|
H A 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 …]
|
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_() 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 …]
|
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() 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() 219 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_() 231 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_() 243 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() 283 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode() 294 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 | 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()
|
H A 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()
|
H A D | fdt_check.c | 13 int fdt_check_full(const void *fdt, size_t bufsize) in fdt_check_full()
|
/haiku/headers/libs/libfdt/ |
H A D | libfdt.h | 122 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 …]
|
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_()
|
/haiku/src/system/boot/platform/efi/ |
H A D | dtb.cpp | 109 dump_fdt(const void *fdt) in dump_fdt() 341 dtb_get_address_cells(const void* fdt, int node) in dtb_get_address_cells() 359 dtb_get_size_cells(const void* fdt, int node) in dtb_get_size_cells() 377 dtb_get_reg(const void* fdt, int node, size_t idx, addr_range& range) in dtb_get_reg() 453 dtb_get_interrupt_parent(const void* fdt, int node) in dtb_get_interrupt_parent() 471 dtb_get_interrupt_cells(const void* fdt, int node) in dtb_get_interrupt_cells() 486 dtb_get_interrupt(const void* fdt, int node) in dtb_get_interrupt() 515 dtb_get_clock_frequency(const void* fdt, int node) in dtb_get_clock_frequency() 542 dtb_handle_fdt(const void* fdt, int node) in dtb_handle_fdt() 577 dtb_handle_chosen_node(const void *fdt) in dtb_handle_chosen_node()
|
/haiku/src/system/boot/platform/riscv/ |
H A D | fdt.cpp | 55 GetReg(const void* fdt, int node, uint32 addressCells, uint32 sizeCells, size_t idx, in GetReg() 84 GetInterrupt(const void* fdt, int node) in GetInterrupt() 98 HandleFdt(const void* fdt, int node, uint32 addressCells, uint32 sizeCells, in HandleFdt() 185 fdt_init(void* fdt) in fdt_init()
|
H A D | start.cpp | 197 _start(int hartId, void* fdt) in _start()
|
/haiku/headers/private/kernel/boot/platform/u-boot/ |
H A D | platform_kernel_args.h | 27 void *fdt; member
|
/haiku/headers/private/kernel/boot/platform/openfirmware/ |
H A D | platform_kernel_args.h | 29 void *fdt; member
|
/haiku/src/system/boot/platform/efi/arch/arm64/ |
H A D | arch_dtb.cpp | 38 arch_handle_fdt(const void* fdt, int node) in arch_handle_fdt()
|
/haiku/src/system/boot/platform/u-boot/ |
H A D | serial.cpp | 121 serial_init(const void *fdt) in serial_init()
|
H A D | start.cpp | 169 start_linux_ppc_fdt(void *fdt, long/*UNUSED*/, long/*UNUSED*/, in start_linux_ppc_fdt() 184 start_gen(int argc, const char **argv, struct image_header *uimage, void *fdt) in start_gen()
|
/haiku/headers/private/kernel/arch/arm64/ |
H A D | arch_kernel_args.h | 33 FixedWidthPointer<void> fdt; member
|
/haiku/src/system/boot/platform/efi/arch/riscv64/ |
H A D | arch_dtb.cpp | 30 arch_handle_fdt(const void* fdt, int node) in arch_handle_fdt()
|
/haiku/src/system/boot/platform/efi/arch/arm/ |
H A D | arch_dtb.cpp | 46 arch_handle_fdt(const void* fdt, int node) in arch_handle_fdt()
|
/haiku/headers/private/kernel/arch/arm/ |
H A D | arch_kernel_args.h | 38 FixedWidthPointer<void> fdt; member
|
/haiku/headers/private/kernel/arch/riscv64/ |
H A D | arch_kernel_args.h | 45 FixedWidthPointer<void> fdt; member
|
/haiku/src/system/boot/platform/u-boot/arch/ppc/ |
H A D | arch_mmu.cpp | 287 mmu_init(void* fdt) in mmu_init()
|
/haiku/src/add-ons/kernel/bus_managers/fdt/ |
H A D | fdt_module.cpp | 382 fdt_get_address_cells(const void* fdt, int node) in fdt_get_address_cells() 400 fdt_get_size_cells(const void* fdt, int node) in fdt_get_size_cells()
|