MOS Source Code
|
#include <fdt.h>
Go to the source code of this file.
Macros | |
#define | FDT_ALIGN(x, a) |
#define | FDT_TAGALIGN(x) |
#define | FDT_RO_PROBE(fdt) |
#define | FDT_SW_MAGIC (~FDT_MAGIC) |
#define | FDT_ASSUME_MASK 0 |
#define | can_assume(_assume) |
Enumerations | |
enum | { ASSUME_PERFECT = 0xff , ASSUME_VALID_DTB = 1 << 0 , ASSUME_VALID_INPUT = 1 << 1 , ASSUME_LATEST = 1 << 2 , ASSUME_NO_ROLLBACK = 1 << 3 , ASSUME_LIBFDT_ORDER = 1 << 4 , ASSUME_LIBFDT_FLAWLESS = 1 << 5 } |
Functions | |
int32_t | fdt_ro_probe_ (const void *fdt) |
int | fdt_check_node_offset_ (const void *fdt, int offset) |
int | fdt_check_prop_offset_ (const void *fdt, int offset) |
const char * | fdt_find_string_ (const char *strtab, int tabsize, const char *s) |
int | fdt_node_end_offset_ (void *fdt, int nodeoffset) |
static const void * | fdt_offset_ptr_ (const void *fdt, int offset) |
static void * | fdt_offset_ptr_w_ (void *fdt, int offset) |
static const struct fdt_reserve_entry * | fdt_mem_rsv_ (const void *fdt, int n) |
static struct fdt_reserve_entry * | fdt_mem_rsv_w_ (void *fdt, int n) |
static uint32_t | fdt32_ld_ (const fdt32_t *p) |
static uint64_t | fdt64_ld_ (const fdt64_t *p) |
static bool | can_assume_ (int mask) |
#define FDT_ALIGN | ( | x, | |
a ) |
Definition at line 10 of file libfdt_internal.h.
Referenced by fdt_blocks_misordered_(), fdt_create_with_flags(), fdt_open_into(), and fdt_packblocks_().
#define FDT_TAGALIGN | ( | x | ) |
Definition at line 11 of file libfdt_internal.h.
Referenced by fdt_add_property_(), fdt_add_subnode_namelen(), fdt_appendprop(), fdt_begin_node(), fdt_delprop(), fdt_next_tag(), fdt_property_placeholder(), fdt_resize_property_(), and fdt_set_name().
#define FDT_RO_PROBE | ( | fdt | ) |
Definition at line 14 of file libfdt_internal.h.
Referenced by fdt_get_mem_rsv(), fdt_get_path(), fdt_move(), fdt_node_offset_by_compatible(), fdt_node_offset_by_phandle(), fdt_node_offset_by_prop_value(), fdt_open_into(), fdt_overlay_apply(), fdt_path_offset_namelen(), fdt_rw_probe_(), fdt_subnode_offset_namelen(), fdt_supernode_atdepth_offset(), and get_path_len().
#define FDT_SW_MAGIC (~FDT_MAGIC) |
Definition at line 68 of file libfdt_internal.h.
Referenced by fdt_create_with_flags(), fdt_get_string(), fdt_ro_probe_(), and fdt_sw_probe_().
#define FDT_ASSUME_MASK 0 |
Definition at line 75 of file libfdt_internal.h.
Referenced by can_assume_().
#define can_assume | ( | _assume | ) |
helper macros for checking assumptions
Definition at line 190 of file libfdt_internal.h.
Referenced by fdt_add_property_(), fdt_add_subnode_namelen(), fdt_check_header(), fdt_check_node_offset_(), fdt_check_prop_offset_(), fdt_find_add_string_(), fdt_get_mem_rsv(), fdt_get_name(), fdt_get_property_by_offset(), fdt_get_property_by_offset_(), fdt_get_property_namelen(), fdt_get_property_namelen_(), fdt_get_string(), fdt_getprop_by_offset(), fdt_getprop_namelen(), fdt_header_size(), fdt_mem_rsv(), fdt_move(), fdt_next_tag(), fdt_node_depth(), fdt_offset_ptr(), fdt_open_into(), fdt_resize(), fdt_ro_probe_(), fdt_rw_probe_(), fdt_supernode_atdepth_offset(), fdt_sw_probe_(), fdt_sw_probe_memrsv_(), and fdt_sw_probe_struct_().
anonymous enum |
Enumerator | |
---|---|
ASSUME_PERFECT | |
ASSUME_VALID_DTB | |
ASSUME_VALID_INPUT | |
ASSUME_LATEST | |
ASSUME_NO_ROLLBACK | |
ASSUME_LIBFDT_ORDER | |
ASSUME_LIBFDT_FLAWLESS |
Definition at line 89 of file libfdt_internal.h.
Definition at line 18 of file fdt.c.
Referenced by fdt_get_name(), and fdt_get_string().
Definition at line 223 of file fdt.c.
Referenced by fdt_add_property_(), fdt_first_property_offset(), fdt_get_name(), and fdt_next_node().
Definition at line 235 of file fdt.c.
Referenced by fdt_get_property_by_offset_(), and fdt_next_property_offset().
const char * fdt_find_string_ | ( | const char * | strtab, |
int | tabsize, | ||
const char * | s ) |
Definition at line 315 of file fdt.c.
Referenced by fdt_find_add_string_(), and fdt_find_add_string_().
Definition at line 73 of file fdt_wip.c.
Referenced by fdt_del_node(), and fdt_nop_node().
Definition at line 26 of file libfdt_internal.h.
Referenced by fdt_get_name(), fdt_get_property_by_offset_(), fdt_offset_ptr(), and fdt_offset_ptr_w_().
Definition at line 31 of file libfdt_internal.h.
Referenced by fdt_add_property_(), fdt_add_subnode_namelen(), fdt_del_node(), fdt_finish(), and fdt_grab_space_().
|
inlinestatic |
Definition at line 36 of file libfdt_internal.h.
Referenced by fdt_mem_rsv(), and fdt_mem_rsv_w_().
|
inlinestatic |
Definition at line 44 of file libfdt_internal.h.
Referenced by fdt_add_mem_rsv(), and fdt_del_mem_rsv().
Definition at line 58 of file libfdt_internal.h.
Referenced by fdt_get_phandle(), fdt_get_property_by_offset_(), fdt_get_property_namelen_(), fdt_getprop_by_offset(), and fdt_getprop_namelen().
Definition at line 63 of file libfdt_internal.h.
Referenced by fdt_get_mem_rsv(), and fdt_num_mem_rsv().
can_assume_() - check if a particular assumption is enabled
@mask: Mask to check (ASSUME_...)
Definition at line 184 of file libfdt_internal.h.