/device/linaro/bootloader/edk2/EmbeddedPkg/Include/ |
D | libfdt.h | 126 static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) in fdt_offset_ptr_w() 165 #define fdt_get_header(fdt, field) \ argument 167 #define fdt_magic(fdt) (fdt_get_header(fdt, magic)) argument 168 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) argument 169 #define fdt_off_dt_struct(fdt) (fdt_get_header(fdt, off_dt_struct)) argument 170 #define fdt_off_dt_strings(fdt) (fdt_get_header(fdt, off_dt_strings)) argument 171 #define fdt_off_mem_rsvmap(fdt) (fdt_get_header(fdt, off_mem_rsvmap)) argument 172 #define fdt_version(fdt) (fdt_get_header(fdt, version)) argument 173 #define fdt_last_comp_version(fdt) (fdt_get_header(fdt, last_comp_version)) argument 174 #define fdt_boot_cpuid_phys(fdt) (fdt_get_header(fdt, boot_cpuid_phys)) argument [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/libfdt/ |
D | libfdt.h | 141 static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) in fdt_offset_ptr_w() 199 #define fdt_for_each_subnode(node, fdt, parent) \ argument 208 #define fdt_get_header(fdt, field) \ argument 210 #define fdt_magic(fdt) (fdt_get_header(fdt, magic)) argument 211 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) argument 212 #define fdt_off_dt_struct(fdt) (fdt_get_header(fdt, off_dt_struct)) argument 213 #define fdt_off_dt_strings(fdt) (fdt_get_header(fdt, off_dt_strings)) argument 214 #define fdt_off_mem_rsvmap(fdt) (fdt_get_header(fdt, off_mem_rsvmap)) argument 215 #define fdt_version(fdt) (fdt_get_header(fdt, version)) argument 216 #define fdt_last_comp_version(fdt) (fdt_get_header(fdt, last_comp_version)) argument [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/ |
D | fdt_ro.c | 58 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 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) in fdt_get_mem_rsv() 99 int fdt_num_mem_rsv(const void *fdt) in fdt_num_mem_rsv() 108 static int _nextprop(const void *fdt, int offset) in _nextprop() 132 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen() 151 int fdt_subnode_offset(const void *fdt, int parentoffset, in fdt_subnode_offset() 157 int fdt_path_offset(const void *fdt, const char *path) in fdt_path_offset() 201 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) in fdt_get_name() [all …]
|
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_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size) in fdt_add_reservemap_entry() 133 int fdt_finish_reservemap(void *fdt) in fdt_finish_reservemap() 138 int fdt_begin_node(void *fdt, const char *name) in fdt_begin_node() 154 int fdt_end_node(void *fdt) in fdt_end_node() 168 static int _fdt_find_add_string(void *fdt, const char *s) in _fdt_find_add_string() 191 int fdt_property(void *fdt, const char *name, const void *val, int len) in fdt_property() [all …]
|
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() 97 static int _fdt_splice(void *fdt, void *splicepoint, int oldlen, int newlen) in _fdt_splice() 110 static int _fdt_splice_mem_rsv(void *fdt, struct fdt_reserve_entry *p, in _fdt_splice_mem_rsv() 123 static int _fdt_splice_struct(void *fdt, void *p, in _fdt_splice_struct() 138 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 …]
|
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() 93 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() 143 int _fdt_check_node_offset(const void *fdt, int offset) in _fdt_check_node_offset() 152 int _fdt_check_prop_offset(const void *fdt, int offset) in _fdt_check_prop_offset() 161 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() 201 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode() 212 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode() 241 int fdt_move(const void *fdt, void *buf, int bufsize) in fdt_move()
|
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()
|
D | fdt_wip.c | 58 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() 83 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() 97 int _fdt_node_end_offset(void *fdt, int offset) in _fdt_node_end_offset() 107 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node()
|
/device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/ |
D | fdt_ro.c | 58 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 …]
|
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 …]
|
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() 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 …]
|
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() 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()
|
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()
|
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()
|
D | fdt_addresses.c | 58 int fdt_address_cells(const void *fdt, int nodeoffset) in fdt_address_cells() 78 int fdt_size_cells(const void *fdt, int nodeoffset) in fdt_size_cells()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/qemu/ |
D | dt.c | 13 static int append_psci_compatible(void *fdt, int offs, const char *str) in append_psci_compatible() 18 int dt_add_psci_node(void *fdt) in dt_add_psci_node() 54 static int check_node_compat_prefix(void *fdt, int offs, const char *prefix) in check_node_compat_prefix() 77 int dt_add_psci_cpu_enable_methods(void *fdt) in dt_add_psci_cpu_enable_methods()
|
D | qemu_bl2_setup.c | 155 void *fdt = (void *)(uintptr_t)PLAT_QEMU_DT_BASE; in update_dt() local
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/FdtDxe/ |
D | BdsLinuxFdt.c | 194 IN VOID *fdt, in SetDeviceStatus() 218 IN VOID *fdt, in SetMacAddress() 241 IN VOID *fdt in SetSocIdStatus() 264 IN VOID *fdt in SetXgbeStatus() 371 VOID *fdt; in AmdStyxPrepareFdt() local
|