2#ifndef LIBFDT_INTERNAL_H
3#define LIBFDT_INTERNAL_H
10#define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1))
11#define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE))
14#define FDT_RO_PROBE(fdt) \
17 if ((totalsize_ = fdt_ro_probe_(fdt)) < 0) \
68#define FDT_SW_MAGIC (~FDT_MAGIC)
74#ifndef FDT_ASSUME_MASK
75#define FDT_ASSUME_MASK 0
190#define can_assume(_assume) can_assume_(ASSUME_ ## _assume)
#define fdt_off_mem_rsvmap(fdt)
#define fdt_off_dt_struct(fdt)
static uint64_t fdt64_to_cpu(fdt64_t x)
static uint32_t fdt32_to_cpu(fdt32_t x)
static uint32_t fdt32_ld_(const fdt32_t *p)
static void * fdt_offset_ptr_w_(void *fdt, int offset)
const char * fdt_find_string_(const char *strtab, int tabsize, const char *s)
static struct fdt_reserve_entry * fdt_mem_rsv_w_(void *fdt, int n)
int fdt_check_prop_offset_(const void *fdt, int offset)
int32_t fdt_ro_probe_(const void *fdt)
int fdt_check_node_offset_(const void *fdt, int offset)
int fdt_node_end_offset_(void *fdt, int nodeoffset)
static const void * fdt_offset_ptr_(const void *fdt, int offset)
static const struct fdt_reserve_entry * fdt_mem_rsv_(const void *fdt, int n)
static uint64_t fdt64_ld_(const fdt64_t *p)
static bool can_assume_(int mask)
unsigned long long uint64_t